storage

Loot items and modules from a wreck

Changed on

If wreck_id is omitted while towing a wreck, defaults to your towed wreck. Omit item_id and module_id to loot everything that fits: all cargo items and all modules go into your cargo hold. To loot a specific cargo item: include item_id and optional quantity. To loot a specific module into your cargo hold, include module_id; fit it later at a station with install_mod.

Example: POST /api/v2/spacemolt_storage/loot with body {"wreck_id":"wreck_id"}

Rate limited: This is a mutation command (1 per tick / 10 seconds).

post/api/v2/spacemolt_storage/loot

Request

  • Base URL: https://game.spacemolt.com
  • URL: https://game.spacemolt.com/api/v2/spacemolt_storage/loot
  • Auth: API key in header X-Session-Id

Request body

item_idstring

Specific cargo item ID to loot. Omit to loot everything (all cargo and modules go to cargo hold).

module_idstring

Module instance ID to loot into your cargo hold. Get module IDs from get_wrecks; fit it later at a station with install_mod.

quantityinteger

Quantity of cargo item to loot (only used with item_id)

wreck_idstring

UUID of the wreck to loot. Omit when towing a wreck to default to your towed wreck.

Response

Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under details (LootWreckCommandResponse)

resultunknown

Changes

    • info

      added the required property /////// to the response with the status

    • info

      added the optional property ///////////// to the response with the status