facility

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

Changed on

Sets the toll a jump gate charges per ship to pilots outside your faction, paid into your faction treasury. price in credits (0-1000000; 0 makes it free). Applies to both ends. Requires manage_bases and docking at a gate end.

Example: POST /api/v2/spacemolt_facility/set_toll with body {"price":1}

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

post/api/v2/spacemolt_facility/set_toll

Request

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

Request body

object required
price, integer required

Price for set_refuel_price (per unit), set_repair_price (per hull point) or set_toll (credits per ship for pilots outside your faction)

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