facility

Administer one of your faction's stations or outposts: rename, access control, and build policy

Changed on

Gates one service at your faction's station to a visibility tier. service (e.g. market, refuel, repair, shipyard, crafting, salvage_yard) and access ("public", "allies", or "faction") are both required. Requires manage_bases and docking there. Station-only (outposts don't support this action).

Example: POST /api/v2/spacemolt_facility/set_service_access with body {"access":"public","service":"example"}

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

post/api/v2/spacemolt_facility/set_service_access

Request

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

Request body

object required
access, 'public' | 'allies' | 'faction' required

Access level for set_service_access; public, allies or faction for set_gate_access and set_build_policy

service, string required

Service type for set_service_access (market, refuel, repair, shipyard, crafting, salvage_yard, missions)

Response

Result. structuredContent: V2GameState post-mutation delta (changed location sections); the command result is under details (StationConfigResponse)

intersection required
object
structuredContent, intersection

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ],
  "structuredContent": {
    "missions": {
      "fixer": {
        "allowance": 5000,
        "available": 2000,
        "debt": 2000,
        "exposure": 3000
      }
    },
    "details": {
      "contraband_items": [],
      "contraband_mode": "custom"
    }
  }
}

Changes

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel to the response with the status

    • info

      added the optional property allOf[subschema #2]/structuredContent/allOf[subschema #2]/details/upkeep_bucket_id to the response with the status

    • info

      added the optional property allOf[subschema #2]/structuredContent/allOf[subschema #2]/details/upkeep_bucket_name to the response with the status