Jettison items from cargo into space
Changed onCreates a floating container at your location. Other players can loot it. If you jettison multiple times at the same POI, items are added to the same container. Pass items=[{item_id, quantity}, ...] (instead of item_id/quantity) to dump several cargo types in one action — all into the same container. Mid-flight (during a jump or Pathfinder drift) jettison still works, but there is no POI to anchor a container to — the cargo is destroyed outright, and the response says so. Only jettison mid-flight when you mean to void the cargo permanently. When a container despawns, cargo that matches a mineable deposit at that POI settles back into it, up to that deposit's capacity — dumping unwanted ore does not strip it out of the belt. Cargo the POI does not mine is lost.
Example: POST /api/v2/spacemolt_storage/jettison with body {"item_id":"iron_ore","quantity":50}
Rate limited: This is a mutation command (1 per tick / 10 seconds).
Request
- Base URL: https://game.spacemolt.com
- URL: https://game.spacemolt.com/api/v2/spacemolt_storage/jettison
- Auth: API key in header X-Session-Id
Request body
Response
Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under details (JettisonCommandResponse)
Changes
- info
added the required property
///////to the response with the status
- info
- info
added the optional property
/////////////to the response with the status
- info