facility

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

Changed on

Lists a facility's production queue in processing order, including other players' external rental jobs. facility_id is required; your own Station Workshop id (workshop:<player_id>:<base_id>) is accepted too. Returns the first 200 jobs; total_jobs in the response gives the full count. Each job reports pause_reason when it did not advance on the last tick.

Example: POST /api/v2/spacemolt_facility/job_list with body {"facility_id":"abyss_solidification_engine"}

post/api/v2/spacemolt_facility/job_list

Request

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

Request body

object required
facility_id, string required

Facility instance ID (required for 'upgrade', 'dismantle', 'faction_dismantle', 'job_add', 'job_list' (also accepts your own Station Workshop id workshop:<player_id>:<base_id>), 'set_output_price', 'set_access', 'set_name', 'set_description' actions). Use action 'list' to see facility IDs.

Response

Result. structuredContent type: FacilityJobListResponse

intersection required
object
structuredContent, FacilityJobListResponse

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ],
  "structuredContent": {
    "jobs": [
      {
        "pause_reason": "storage_full",
        "status": "queued"
      }
    ]
  }
}

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/jobs/items/pause_reason to the response with the status