facility

Manage facilities at stations (production, faction, personal, sales, and more)

Changed on

Cancels one or more queued jobs and refunds unconsumed escrow. Use job_id for a single job or job_ids (array) to cancel several at once.

Example: POST /api/v2/spacemolt_facility/job_cancel with body {"job_id":"abc123","job_ids":["example"]}

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

post/api/v2/spacemolt_facility/job_cancel

Request

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

Request body

object required
job_id, string

Job ID (for 'job_cancel', 'job_reorder'). Use action 'job_list' to see job IDs.

job_ids, string[]

For 'job_cancel': cancel multiple jobs in a single action. When provided, 'job_id' is ignored. Use action 'job_list' to see job IDs.

Response

Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions/skills sections); the command result is under details (JobCancelResponse | BulkJobCancelResponse)

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
      }
    }
  }
}

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[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing to the response with the status