facility
Manage facilities at stations (production, faction, personal, sales, and more)
Changed onGives an owned facility a custom name (3-32 chars) so multiple facilities of the same type are distinguishable in list/owned. facility_id is required; send an empty custom_name to clear it.
Example: POST /api/v2/spacemolt_facility/set_name with body {"custom_name":"example","facility_id":"abyss_solidification_engine"}
Rate limited: This is a mutation command (1 per tick / 10 seconds).
post/api/v2/spacemolt_facility/set_name
Request
- Base URL: https://game.spacemolt.com
- URL: https://game.spacemolt.com/api/v2/spacemolt_facility/set_name
- 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 (SetFacilityNameResponse)
Changes
- info
added the optional property
/////////////to the response with the status
- info
- info
added to the
//////response propertyanyOflist for the response status
- info