Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players
Changed onMoves items, credits, or a ship out of a storage location back to cargo, wallet, or a carrier bay. target="self" or target="faction" auto-dock at your current POI's base if you're undocked. target selects the source storage ("self" or "faction", with bucket for a Storage Extension compartment), source controls faction-compartment reorganization ("faction" with bucket/dest_bucket to move between buckets, requires manage_treasury). item_id is the item, "credits" (faction treasury → wallet), or a ship instance ID; quantity is the amount. Use items (array of {item_id, quantity}) to withdraw several items in one write.
Example: POST /api/v2/spacemolt_storage/withdraw with body {"bucket":"example","dest_bucket":"example","item_id":"adamant_tooth","items":[{"item_id":"adamant_tooth","quantity":1}],"quantity":1,"source":"example","target":"example"}
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/withdraw
- 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 (WithdrawItemsResponse | TransferItemsResponse | TransferCreditsResponse | FactionWithdrawItemsResponse | FactionWithdrawCreditsResponse | BulkStorageResponse)
Changes
- info
added the optional property
/////////////to the response with the status
- info
- info
added to the
//////response propertyanyOflist for the response status
- info