{
  "openapi": "3.1.0",
  "info": {
    "title": "SequenceMods server API",
    "version": "1.0.0",
    "description": "Read and act on this server with your own API key. Keys are made in the API section of the Owner Hub."
  },
  "servers": [
    {
      "url": "/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "sqm_live_..."
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "server"
    },
    {
      "name": "players"
    },
    {
      "name": "dino"
    },
    {
      "name": "garage"
    },
    {
      "name": "economy"
    },
    {
      "name": "shops"
    },
    {
      "name": "stats"
    },
    {
      "name": "moderation"
    },
    {
      "name": "logs"
    },
    {
      "name": "deliveries"
    },
    {
      "name": "map"
    },
    {
      "name": "rcon"
    },
    {
      "name": "sandbox"
    }
  ],
  "paths": {
    "/deliveries": {
      "get": {
        "operationId": "get_deliveries",
        "summary": "List deliveries",
        "tags": [
          "deliveries"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [],
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor from the last page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "1 to 100 (default 50)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "steam_id",
            "in": "query",
            "required": false,
            "description": "only this player",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "delivered, partial, failed, waiting or delivering",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "id": "dlv_5f0c2d1e9a7b4c3d2e1f0a9b",
                      "object": "delivery",
                      "state": "delivered",
                      "steam_id": "76561199000000000",
                      "note": "order 1042",
                      "key_name": "Store",
                      "grants": [
                        {
                          "kind": "points",
                          "amount": 500,
                          "state": "delivered",
                          "receipt": {
                            "amount": 500,
                            "balance_after": 1700
                          }
                        },
                        {
                          "kind": "dino",
                          "species": "BP_Tyrannosaurus_C",
                          "growth_pct": 100,
                          "prime": false,
                          "entomb": 0,
                          "sex": "",
                          "name": "",
                          "mutations": [
                            "",
                            "",
                            "",
                            ""
                          ],
                          "parent_mutations": [
                            "",
                            "",
                            "",
                            ""
                          ],
                          "elder_mutations": [
                            "",
                            "",
                            "",
                            "",
                            "",
                            "",
                            "",
                            ""
                          ],
                          "state": "delivered",
                          "receipt": {
                            "dino_id": "3c9e0f6b2a1d4e5f8a7b6c5d4e3f2a1b",
                            "species": "BP_Tyrannosaurus_C",
                            "label": "Tyrannosaurus",
                            "growth_pct": 100,
                            "prime": false
                          }
                        }
                      ],
                      "created_at": 1761955200000,
                      "finished_at": 1761955200412
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Newest first. Needs economy, garage, shops or players (read or act)."
      },
      "post": {
        "operationId": "post_deliveries",
        "summary": "Give a player what they bought",
        "tags": [
          "deliveries"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "dlv_5f0c2d1e9a7b4c3d2e1f0a9b",
                  "object": "delivery",
                  "state": "delivered",
                  "steam_id": "76561199000000000",
                  "note": "order 1042",
                  "key_name": "Store",
                  "grants": [
                    {
                      "kind": "points",
                      "amount": 500,
                      "state": "delivered",
                      "receipt": {
                        "amount": 500,
                        "balance_after": 1700
                      }
                    },
                    {
                      "kind": "dino",
                      "species": "BP_Tyrannosaurus_C",
                      "growth_pct": 100,
                      "prime": false,
                      "entomb": 0,
                      "sex": "",
                      "name": "",
                      "mutations": [
                        "",
                        "",
                        "",
                        ""
                      ],
                      "parent_mutations": [
                        "",
                        "",
                        "",
                        ""
                      ],
                      "elder_mutations": [
                        "",
                        "",
                        "",
                        "",
                        "",
                        "",
                        "",
                        ""
                      ],
                      "state": "delivered",
                      "receipt": {
                        "dino_id": "3c9e0f6b2a1d4e5f8a7b6c5d4e3f2a1b",
                        "species": "BP_Tyrannosaurus_C",
                        "label": "Tyrannosaurus",
                        "growth_pct": 100,
                        "prime": false
                      }
                    }
                  ],
                  "created_at": 1761955200000,
                  "finished_at": 1761955200412
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Points, a dinosaur to the garage, items, a skin or a Discord role for one Steam ID, delivered once per Idempotency-Key. Items wait for the player to join in a live dinosaur. Each grant needs its scope: points economy:act, dino garage:act, item and skin shops:act, role players:act. A finished delivery fires the delivery.done event. 201 = a new delivery (state delivered, partial, failed or waiting; a grant that did not land carries error {code, message}, e.g. points_cap_reached when the key's daily points cap is used up); 200 = the same Idempotency-Key and body again (replayed, nothing given twice); 422 idempotency_key_reused = the key was used for a different call; 400 bad_body, bad_grant, bad_steam_id, idempotency_key_required; 403 missing_scope or the part of the server a grant needs is off.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "steam_id",
                  "grants"
                ],
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "description": "the player's SteamID64"
                  },
                  "grants": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 10,
                    "items": {
                      "type": "object",
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "points",
                            "dino",
                            "item",
                            "skin",
                            "role"
                          ]
                        },
                        "amount": {
                          "type": "integer",
                          "description": "points: how many (1 to 10,000,000)"
                        },
                        "species": {
                          "type": "string",
                          "description": "dino: class name, e.g. BP_Tyrannosaurus_C"
                        },
                        "growth_pct": {
                          "type": "integer",
                          "description": "dino: 1 to 100 (default 100)"
                        },
                        "prime": {
                          "type": "boolean"
                        },
                        "entomb": {
                          "type": "integer",
                          "description": "dino: 0 to 3"
                        },
                        "sex": {
                          "type": "string",
                          "enum": [
                            "female",
                            "male",
                            ""
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "mutations": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "dino: up to 4"
                        },
                        "parent_mutations": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "dino: up to 4"
                        },
                        "elder_mutations": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "dino: up to 8"
                        },
                        "item": {
                          "type": "string",
                          "enum": [
                            "bundle",
                            "a",
                            "b",
                            "y",
                            "hunger"
                          ],
                          "description": "item: given when the player is in game in a live dinosaur"
                        },
                        "skin_id": {
                          "type": "string"
                        },
                        "uses": {
                          "type": "integer",
                          "description": "skin: 1 to 999 (default 1)"
                        },
                        "tier": {
                          "type": "integer",
                          "description": "role: a membership tier with a Discord role"
                        },
                        "days": {
                          "type": "integer",
                          "description": "role: how long; left out = no end"
                        }
                      }
                    }
                  },
                  "note": {
                    "type": "string",
                    "description": "your order reference (up to 200 characters)"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/deliveries/{delivery_id}": {
      "get": {
        "operationId": "get_deliveries_delivery_id",
        "summary": "One delivery",
        "tags": [
          "deliveries"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [],
        "parameters": [
          {
            "name": "delivery_id",
            "in": "path",
            "required": true,
            "description": "the delivery's id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "dlv_5f0c2d1e9a7b4c3d2e1f0a9b",
                  "object": "delivery",
                  "state": "delivered",
                  "steam_id": "76561199000000000",
                  "note": "order 1042",
                  "key_name": "Store",
                  "grants": [
                    {
                      "kind": "points",
                      "amount": 500,
                      "state": "delivered",
                      "receipt": {
                        "amount": 500,
                        "balance_after": 1700
                      }
                    },
                    {
                      "kind": "dino",
                      "species": "BP_Tyrannosaurus_C",
                      "growth_pct": 100,
                      "prime": false,
                      "entomb": 0,
                      "sex": "",
                      "name": "",
                      "mutations": [
                        "",
                        "",
                        "",
                        ""
                      ],
                      "parent_mutations": [
                        "",
                        "",
                        "",
                        ""
                      ],
                      "elder_mutations": [
                        "",
                        "",
                        "",
                        "",
                        "",
                        "",
                        "",
                        ""
                      ],
                      "state": "delivered",
                      "receipt": {
                        "dino_id": "3c9e0f6b2a1d4e5f8a7b6c5d4e3f2a1b",
                        "species": "BP_Tyrannosaurus_C",
                        "label": "Tyrannosaurus",
                        "growth_pct": 100,
                        "prime": false
                      }
                    }
                  ],
                  "created_at": 1761955200000,
                  "finished_at": 1761955200412
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Needs economy, garage, shops or players (read or act)."
      }
    },
    "/actions/dino.body_drop": {
      "post": {
        "operationId": "post_actions_dino.body_drop",
        "summary": "Drop a body next to a player (as if they asked for one)",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.body_drop",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "body_id": {
                    "type": "string"
                  },
                  "species": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.despawn": {
      "post": {
        "operationId": "post_actions_dino.despawn",
        "summary": "Despawn corpses, bones or both everywhere (the staff despawn)",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.despawn",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "mode": {
                    "enum": [
                      "corpses",
                      "bones",
                      "all"
                    ]
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.fill_diet": {
      "post": {
        "operationId": "post_actions_dino.fill_diet",
        "summary": "Fill carbs, protein and lipids",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.fill_diet",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.growth": {
      "post": {
        "operationId": "post_actions_dino.growth",
        "summary": "Set growth (5-100 %)",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.growth",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "growth": {
                    "type": "integer",
                    "minimum": 5,
                    "maximum": 100
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "growth"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.growth_freeze": {
      "post": {
        "operationId": "post_actions_dino.growth_freeze",
        "summary": "Freeze growth",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.growth_freeze",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.growth_unfreeze": {
      "post": {
        "operationId": "post_actions_dino.growth_unfreeze",
        "summary": "Unfreeze growth",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.growth_unfreeze",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.heal": {
      "post": {
        "operationId": "post_actions_dino.heal",
        "summary": "Heal",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.heal",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.mutations": {
      "post": {
        "operationId": "post_actions_dino.mutations",
        "summary": "Set mutations (own 4, parent 4, elder 8; null keeps a slot)",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.mutations",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "own": {
                    "type": "array"
                  },
                  "parent": {
                    "type": "array"
                  },
                  "elder": {
                    "type": "array"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.nutrients": {
      "post": {
        "operationId": "post_actions_dino.nutrients",
        "summary": "Set carbs, protein, lipids (0-100)",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.nutrients",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "carbs": {
                    "type": "number"
                  },
                  "protein": {
                    "type": "number"
                  },
                  "lipids": {
                    "type": "number"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.power": {
      "post": {
        "operationId": "post_actions_dino.power",
        "summary": "Fun powers: god, stamina, fly, size, mixed_group",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.power",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "power": {
                    "enum": [
                      "god",
                      "stamina",
                      "fly",
                      "size",
                      "mixed_group"
                    ]
                  },
                  "value": {},
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "power",
                  "value"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.prime": {
      "post": {
        "operationId": "post_actions_dino.prime",
        "summary": "Make prime / elder",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.prime",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.sex": {
      "post": {
        "operationId": "post_actions_dino.sex",
        "summary": "Set sex",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.sex",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "sex": {
                    "enum": [
                      "male",
                      "female"
                    ]
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "sex"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.slay": {
      "post": {
        "operationId": "post_actions_dino.slay",
        "summary": "Slay",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.slay",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/dino.vitals": {
      "post": {
        "operationId": "post_actions_dino.vitals",
        "summary": "Set health, stamina, blood, hunger, thirst (0-100)",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "dino.vitals",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "health": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100
                  },
                  "stamina": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100
                  },
                  "blood": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100
                  },
                  "hunger": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100
                  },
                  "thirst": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/dino/{steam_id}": {
      "get": {
        "operationId": "get_dino_steam_id",
        "summary": "A player's live dinosaur: species, growth, vitals, diet, mutations, prime/elder, sex",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "in_game": true,
                  "dino": {
                    "species": "Tyrannosaurus",
                    "growth_percent": 75,
                    "sex": "female"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Position is never here: GET /api/v1/dino/{steam_id}/position needs location:read."
      }
    },
    "/dino/{steam_id}/position": {
      "get": {
        "operationId": "get_dino_steam_id_position",
        "summary": "A player's live position (needs location:read)",
        "tags": [
          "dino"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "dino:read",
          "location:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "in_game": true,
                  "x": 12345.6,
                  "y": -9876.5,
                  "yaw": 90,
                  "species": "Rex",
                  "at": 1761955200
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/actions/economy.points_give": {
      "post": {
        "operationId": "post_actions_economy.points_give",
        "summary": "Give points (counts against the key's daily cap)",
        "tags": [
          "economy"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "economy:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "economy.points_give",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "amount": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "currency": {
                    "enum": [
                      "points",
                      "credits"
                    ]
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "amount"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/economy.points_take": {
      "post": {
        "operationId": "post_actions_economy.points_take",
        "summary": "Take points (counts against the key's daily cap)",
        "tags": [
          "economy"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "economy:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "economy.points_take",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "amount": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "currency": {
                    "enum": [
                      "points",
                      "credits"
                    ]
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "amount"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/economy/currencies": {
      "get": {
        "operationId": "get_economy_currencies",
        "summary": "The currencies this server runs, main first",
        "tags": [
          "economy"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "economy:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "code": "points",
                      "name": "Points",
                      "main": true
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/economy/earning": {
      "get": {
        "operationId": "get_economy_earning",
        "summary": "How players earn: points per minute, interval awards, kill points, daily rewards",
        "tags": [
          "economy"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "economy:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "points_per_minute": 1,
                  "interval_minutes": 30,
                  "points_per_interval": 50,
                  "kill_points_on": true
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/economy/richest": {
      "get": {
        "operationId": "get_economy_richest",
        "summary": "The richest players and the economy totals",
        "tags": [
          "economy"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "economy:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "rank": 1,
                      "steam_id": "76561198000000000",
                      "name": "Player",
                      "points": 90000
                    }
                  ],
                  "totals": {
                    "wallets": 120,
                    "circulating": 1200000
                  },
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/economy/wallets/{steam_id}": {
      "get": {
        "operationId": "get_economy_wallets_steam_id",
        "summary": "A player's balance in every currency",
        "tags": [
          "economy"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "economy:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "steam_id": "76561198000000000",
                  "wallets": [
                    {
                      "code": "points",
                      "name": "Points",
                      "balance": 500
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/economy/wallets/{steam_id}/history": {
      "get": {
        "operationId": "get_economy_wallets_steam_id_history",
        "summary": "A player's wallet history, newest first",
        "tags": [
          "economy"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "economy:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "description": "points (default) or premium",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "id": 9,
                      "amount": 50,
                      "balance": 550,
                      "what": "Kill",
                      "at": 1761955200
                    }
                  ],
                  "next_cursor": "8"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/actions/garage.add": {
      "post": {
        "operationId": "post_actions_garage.add",
        "summary": "Add a dino to a player's garage",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "garage.add",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "dino": {
                    "type": "object",
                    "properties": {
                      "species": {},
                      "growth_pct": {},
                      "sex": {},
                      "prime": {},
                      "entomb": {},
                      "mutations": {},
                      "parent_mutations": {},
                      "elder_mutations": {},
                      "name": {}
                    },
                    "required": [
                      "species"
                    ]
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "dino"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/garage.death_restore": {
      "post": {
        "operationId": "post_actions_garage.death_restore",
        "summary": "Restore a dino from a death",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "garage.death_restore",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "death_id": {
                    "type": "integer"
                  },
                  "again": {
                    "type": "boolean"
                  },
                  "growth_pct": {
                    "type": "integer"
                  },
                  "whole": {
                    "type": "boolean"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "death_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/garage.edit": {
      "post": {
        "operationId": "post_actions_garage.edit",
        "summary": "Edit a garage dino",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "garage.edit",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dino_id": {
                    "type": "string"
                  },
                  "changes": {
                    "type": "object"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "dino_id",
                  "changes"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/garage.export": {
      "post": {
        "operationId": "post_actions_garage.export",
        "summary": "Export a player's garage (mutations, Entomb, prime, sex, growth)",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:read"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "garage.export",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/garage.gift": {
      "post": {
        "operationId": "post_actions_garage.gift",
        "summary": "Give a garage dino to another player (Steam ID)",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "garage.gift",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "dino_id": {
                    "type": "string"
                  },
                  "to_steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "dino_id",
                  "to_steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/garage.import": {
      "post": {
        "operationId": "post_actions_garage.import",
        "summary": "Import dinos into a player's garage (a garage export's rows)",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "garage.import",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "dinos": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "species": {},
                        "growth_pct": {},
                        "sex": {},
                        "prime": {},
                        "entomb": {},
                        "mutations": {},
                        "parent_mutations": {},
                        "elder_mutations": {},
                        "name": {}
                      },
                      "required": [
                        "species"
                      ]
                    }
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "dinos"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/garage.park": {
      "post": {
        "operationId": "post_actions_garage.park",
        "summary": "Park a player's live dino in their garage (they must be in game)",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "garage.park",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/garage.remove": {
      "post": {
        "operationId": "post_actions_garage.remove",
        "summary": "Remove a garage dino",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "garage.remove",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dino_id": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "dino_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/garage.restore": {
      "post": {
        "operationId": "post_actions_garage.restore",
        "summary": "Restore a removed garage dino",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "garage.restore",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dino_id": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "dino_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/garage.take_out": {
      "post": {
        "operationId": "post_actions_garage.take_out",
        "summary": "Take a dino out of a player's garage into the game",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "garage.take_out",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "dino_id": {
                    "type": "string"
                  },
                  "redeem_at": {
                    "enum": [
                      "here",
                      "parked"
                    ]
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "dino_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/garage/{steam_id}": {
      "get": {
        "operationId": "get_garage_steam_id",
        "summary": "A player's garage: every stored dinosaur with mutations, Entomb, prime, growth, vitals",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "dino_id": "abc",
                      "species": "Tyrannosaurus",
                      "growth_percent": 100,
                      "is_prime": true,
                      "entombed": {
                        "state": "not_entombed"
                      },
                      "mutations": []
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/garage/{steam_id}/deaths": {
      "get": {
        "operationId": "get_garage_steam_id_deaths",
        "summary": "A player's lives and deaths, newest first",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "species": "Tyrannosaurus",
                      "growth": 0.8,
                      "cause": "killed",
                      "killer_sid": "76561198000000001",
                      "at": 1761955200
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/garage/{steam_id}/history": {
      "get": {
        "operationId": "get_garage_steam_id_history",
        "summary": "A player's parks, take-outs and deaths, newest first",
        "tags": [
          "garage"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "garage:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "kind": "park",
                      "species": "Tyrannosaurus",
                      "at": 1761955200
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/logs/admin": {
      "get": {
        "operationId": "get_logs_admin",
        "summary": "The admin log: every staff action on this server, newest first",
        "tags": [
          "logs"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "logs:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "search",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "text": "Admin slayed Player",
                      "actor": "Admin",
                      "at_ms": 1761955200000
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/logs/chat": {
      "get": {
        "operationId": "get_logs_chat",
        "summary": "Website global chat, oldest first (needs chat:read)",
        "tags": [
          "logs"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "logs:read",
          "chat:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "id": 101,
                      "sender": "76561198000000000",
                      "body": "hi",
                      "at": 1761955200
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/logs/features/{feature}": {
      "get": {
        "operationId": "get_logs_features_feature",
        "summary": "A feature's log (garage, teleport, ...) as the website shows it",
        "tags": [
          "logs"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "logs:read"
        ],
        "parameters": [
          {
            "name": "feature",
            "in": "path",
            "required": true,
            "description": "log kind, e.g. garage",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "text": "Player parked a Rex",
                      "at": 1761955200
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/logs/staff": {
      "get": {
        "operationId": "get_logs_staff",
        "summary": "Staff audit: who changed the staff list, newest first (7 days)",
        "tags": [
          "logs"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "logs:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "action": "add",
                      "by_name": "Owner",
                      "name": "Admin",
                      "at": 1761955200
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/map/positions": {
      "get": {
        "operationId": "get_map_positions",
        "summary": "Every player's live position (needs location:read)",
        "tags": [
          "map"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "location:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "feed": "ok",
                  "server_now": 1793491200,
                  "revision": "9b1d...",
                  "positions": [
                    {
                      "steam_id": "76561199999999901",
                      "x": -120400,
                      "y": 233810.5,
                      "yaw": 91,
                      "species": "Stegosaurus",
                      "age_s": 1
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Engine centimetres (the same frame as the in-game map). `feed` says ok, empty, stale or no_source; `age_s` is each pin's age. For changes as they happen, use /map/positions/stream."
      }
    },
    "/actions/moderation.ban": {
      "post": {
        "operationId": "post_actions_moderation.ban",
        "summary": "Ban for hours or minutes (neither = permanent)",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "moderation.ban",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  },
                  "hours": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 87600
                  },
                  "minutes": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 5256000
                  }
                },
                "required": [
                  "steam_id",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/moderation.kick": {
      "post": {
        "operationId": "post_actions_moderation.kick",
        "summary": "Kick",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "moderation.kick",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/moderation.mute": {
      "post": {
        "operationId": "post_actions_moderation.mute",
        "summary": "Mute in website chat",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "moderation.mute",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "minutes": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 10080
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "minutes"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/moderation.strike": {
      "post": {
        "operationId": "post_actions_moderation.strike",
        "summary": "Strike",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "moderation.strike",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  },
                  "count": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 10
                  }
                },
                "required": [
                  "steam_id",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/moderation.unban": {
      "post": {
        "operationId": "post_actions_moderation.unban",
        "summary": "Unban",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "moderation.unban",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/moderation.unmute": {
      "post": {
        "operationId": "post_actions_moderation.unmute",
        "summary": "Unmute in website chat",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "moderation.unmute",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/moderation.warn": {
      "post": {
        "operationId": "post_actions_moderation.warn",
        "summary": "Warn",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "moderation.warn",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "reason"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/moderation.whitelist_add": {
      "post": {
        "operationId": "post_actions_moderation.whitelist_add",
        "summary": "Add to the whitelist",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "moderation.whitelist_add",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/moderation.whitelist_remove": {
      "post": {
        "operationId": "post_actions_moderation.whitelist_remove",
        "summary": "Remove from the whitelist",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "moderation.whitelist_remove",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/moderation/appeals": {
      "get": {
        "operationId": "get_moderation_appeals",
        "summary": "Ban appeals",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "open, accepted or denied",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "id": 2,
                      "status": "open",
                      "steam_id": "76561198000000000"
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/moderation/bans": {
      "get": {
        "operationId": "get_moderation_bans",
        "summary": "Active website/game bans with reason and expiry",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "id": 5,
                      "steam_id": "76561198000000000",
                      "reason": "Cheating",
                      "permanent": false,
                      "expires_at": 1762000000
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/moderation/cases": {
      "get": {
        "operationId": "get_moderation_cases",
        "summary": "Moderation cases, newest first",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "id": 12,
                      "steam_id": "76561198000000000",
                      "kind": "strike",
                      "reason": "RDM"
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/moderation/mutes": {
      "get": {
        "operationId": "get_moderation_mutes",
        "summary": "Active website chat mutes",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "steam_id": "76561198000000000",
                      "until": 1762000000
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/moderation/staff": {
      "get": {
        "operationId": "get_moderation_staff",
        "summary": "Staff on the team page and who is on duty or in game now",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "team": [
                    {
                      "name": "Admin",
                      "role": "Owner"
                    }
                  ],
                  "online": {}
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/moderation/strikes/{steam_id}": {
      "get": {
        "operationId": "get_moderation_strikes_steam_id",
        "summary": "A player's strikes and warnings (game, Discord, website)",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "kind": "warn",
                      "reason": "Spam",
                      "at": 1761955200
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/moderation/tickets": {
      "get": {
        "operationId": "get_moderation_tickets",
        "summary": "Support tickets and reports, open first",
        "tags": [
          "moderation"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "moderation:read"
        ],
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "open (waiting for staff or the player), answered, closed, resolved, or all",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "steam_id",
            "in": "query",
            "required": false,
            "description": "only this player's tickets (the one who opened it, or the one reported)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "id": 7,
                      "kind": "help",
                      "subject": "Lost dino",
                      "status": "open"
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/actions/players.bring": {
      "post": {
        "operationId": "post_actions_players.bring",
        "summary": "Bring a player to the owner's animal",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "players.bring",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/players.dm": {
      "post": {
        "operationId": "post_actions_players.dm",
        "summary": "Send one player a private message in game",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "players.dm",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "text": {
                    "type": "string",
                    "maxLength": 500
                  }
                },
                "required": [
                  "steam_id",
                  "text"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/players.goto": {
      "post": {
        "operationId": "post_actions_players.goto",
        "summary": "Send the owner's animal to a player",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "players.goto",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/players.teleport": {
      "post": {
        "operationId": "post_actions_players.teleport",
        "summary": "Teleport a player to x/y/z or to another player",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "players.teleport",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "to_steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "x": {
                    "type": "number"
                  },
                  "y": {
                    "type": "number"
                  },
                  "z": {
                    "type": "number"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/players.unstuck": {
      "post": {
        "operationId": "post_actions_players.unstuck",
        "summary": "Unstuck a player (as if they pressed Unstuck)",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "players.unstuck",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/clans": {
      "get": {
        "operationId": "get_clans",
        "summary": "Every clan, biggest first (name, tag, leader, member count)",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:read"
        ],
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "part of a clan's name or tag",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "recruiting",
            "in": "query",
            "required": false,
            "description": "only clans recruiting",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "id": 3,
                      "name": "Pack",
                      "tag": "PK",
                      "members": 5,
                      "leader_sid": "76561198000000000"
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/clans/by-player/{steam_id}": {
      "get": {
        "operationId": "get_clans_by-player_steam_id",
        "summary": "A player's clan, their rank and the clan's members",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "clan": {
                    "id": 3,
                    "name": "Pack",
                    "members": []
                  },
                  "rank": "member"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/clans/{clan_id}": {
      "get": {
        "operationId": "get_clans_clan_id",
        "summary": "One clan with its members and their ranks (leader, officer, member)",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:read"
        ],
        "parameters": [
          {
            "name": "clan_id",
            "in": "path",
            "required": true,
            "description": "The clan's id",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": 3,
                  "name": "Pack",
                  "tag": "PK",
                  "members": [
                    {
                      "steam_id": "76561198000000000",
                      "rank": "leader"
                    }
                  ],
                  "member_count": 1
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/players": {
      "get": {
        "operationId": "get_players",
        "summary": "Every player this server knows, newest activity first",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "linked",
            "in": "query",
            "required": false,
            "description": "yes = only players with a linked Discord, no = only players without; leave out for everyone",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "steam_id": "76561198000000000",
                      "name": "Player",
                      "discord_id": "123",
                      "last_seen": 1761955200
                    }
                  ],
                  "next_cursor": "25"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Add linked=yes to list only players who linked a Discord account, linked=no for those who did not."
      }
    },
    "/players/by-discord/{discord_id}": {
      "get": {
        "operationId": "get_players_by-discord_discord_id",
        "summary": "A player's profile by Discord ID",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:read"
        ],
        "parameters": [
          {
            "name": "discord_id",
            "in": "path",
            "required": true,
            "description": "Discord user ID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "steam_id": "76561198000000000",
                  "name": "Player"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/players/by-discord/{discord_id}/verify": {
      "get": {
        "operationId": "get_players_by-discord_discord_id_verify",
        "summary": "Check that a Discord user linked a Steam account here (optionally with a minimum of hours played)",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:read"
        ],
        "parameters": [
          {
            "name": "discord_id",
            "in": "path",
            "required": true,
            "description": "Discord user ID",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "min_hours",
            "in": "query",
            "required": false,
            "description": "Hours played on this server needed to count as verified (default 0)",
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "discord_id": "123456789012345678",
                  "linked": true,
                  "steam_id": "76561198000000000",
                  "name": "Player",
                  "hours": 12.5,
                  "min_hours": 5,
                  "verified": true
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "For your own Discord bot: give chat access only to verified users. Always 200 for a well-formed Discord ID. linked = this Discord user linked a Steam account on this server's website. hours = hours played on THIS server (null when it cannot be told). verified = linked and hours >= min_hours; with min_hours above 0 an unknown hours count is never verified."
      }
    },
    "/players/{steam_id}": {
      "get": {
        "operationId": "get_players_steam_id",
        "summary": "A player's profile: name, linked Discord, island time, first and last seen, playtime",
        "tags": [
          "players"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "players:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "steam_id": "76561198000000000",
                  "name": "Player",
                  "discord": {
                    "linked": true,
                    "name": "player"
                  },
                  "island": {
                    "played": true,
                    "minutes": 1234
                  },
                  "first_seen": 1758000000,
                  "last_seen": 1761955200
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/rcon/ai": {
      "post": {
        "operationId": "post_rcon_ai",
        "summary": "AI spawning on/off",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "on": false,
                  "before": true,
                  "changed": true,
                  "as_asked": true,
                  "outcome": "ACK",
                  "reply": "",
                  "ms": 1210
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Sets AI spawning. Reads the switch first (no change when it already is), flips it, then reads it back: 'on' is the game's own state after.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "on"
                ],
                "additionalProperties": false,
                "properties": {
                  "on": {
                    "type": "boolean",
                    "description": "The state wanted."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/ai/classes": {
      "post": {
        "operationId": "post_rcon_ai_classes",
        "summary": "AI classes (refused)",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Always answers 403 refused: switching AI classes off over the console builds broken AI that crashes players' games until the next restart. Use POST /api/v1/rcon/ai.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/rcon/ai/density": {
      "post": {
        "operationId": "post_rcon_ai_density",
        "summary": "AI density",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "value": 1.5,
                  "outcome": "ACK",
                  "reply": "",
                  "read_back": null,
                  "ms": 610
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Sets the ambient AI density (0 to 10).",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "value"
                ],
                "additionalProperties": false,
                "properties": {
                  "value": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 10,
                    "description": "The ambient AI multiplier; the game's default is 1."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/ai/learning": {
      "post": {
        "operationId": "post_rcon_ai_learning",
        "summary": "AI learning flip",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "flipped": true,
                  "outcome": "ACK",
                  "reply": "",
                  "read_back": null,
                  "note": "The game does not report this switch; its reply is all there is.",
                  "ms": 600
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Flips AI learning. The game never reports this switch, so the answer is its reply and nothing is guessed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/rcon/announce": {
      "post": {
        "operationId": "post_rcon_announce",
        "summary": "Announce",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "sent": true,
                  "parts": 1,
                  "message": "Restart in 10 minutes",
                  "ms": 812
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). A banner for every player. Longer text is shown in parts, each held long enough to read, up to this server's own announcement length.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "message"
                ],
                "additionalProperties": false,
                "properties": {
                  "message": {
                    "type": "string",
                    "description": "What every player sees on screen."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/ban": {
      "post": {
        "operationId": "post_rcon_ban",
        "summary": "Ban (permanent)",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "steam_id": "76561198000000002",
                  "banned": true,
                  "permanent": true,
                  "outcome": "ACK",
                  "reply": "",
                  "ms": 702
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). The game's own ban, permanent only. Timed bans and unbans: the moderation API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false,
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "The player's full Steam ID."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/details": {
      "get": {
        "operationId": "get_rcon_details",
        "summary": "Server details",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "name": "SequenceMods Test Server",
                  "map": "Gateway",
                  "day": "3",
                  "players": 2,
                  "max_players": 100,
                  "day_minutes": 50,
                  "night_minutes": 20,
                  "switches": {
                    "whitelist": false,
                    "global_chat": true,
                    "humans": false,
                    "ai": true,
                    "queue": true,
                    "mutations": true,
                    "password": false,
                    "region_spawning": false
                  },
                  "fields": {
                    "ServerName": "SequenceMods Test Server",
                    "ServerMap": "Gateway",
                    "ServerMaxPlayers": "100",
                    "ServerCurrentPlayers": "2"
                  },
                  "ms": 41
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). The game's own serverdetails: name, map, players and every switch it reports. The join password is never returned."
      }
    },
    "/rcon/dm": {
      "post": {
        "operationId": "post_rcon_dm",
        "summary": "Direct message",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "sent": true,
                  "outcome": "EMPTY",
                  "reply": "",
                  "ms": 640
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). A private message to one player. The game often answers nothing; 'sent' means the command reached it.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "steam_id",
                  "message"
                ],
                "additionalProperties": false,
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "The player's full Steam ID."
                  },
                  "message": {
                    "type": "string",
                    "maxLength": 200
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/global-chat": {
      "post": {
        "operationId": "post_rcon_global-chat",
        "summary": "Global chat on/off",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "on": false,
                  "before": true,
                  "changed": true,
                  "as_asked": true,
                  "outcome": "ACK",
                  "reply": "",
                  "ms": 1210
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Sets global chat. Reads the switch first (no change when it already is), flips it, then reads it back: 'on' is the game's own state after.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "on"
                ],
                "additionalProperties": false,
                "properties": {
                  "on": {
                    "type": "boolean",
                    "description": "The state wanted."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/growth-multiplier": {
      "post": {
        "operationId": "post_rcon_growth-multiplier",
        "summary": "Growth multiplier flip",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "flipped": true,
                  "outcome": "ACK",
                  "reply": "",
                  "read_back": null,
                  "note": "The game does not report this switch; its reply is all there is.",
                  "ms": 600
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Flips the growth multiplier. The game never reports this switch, so the answer is its reply and nothing is guessed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/rcon/growth-multiplier/set": {
      "post": {
        "operationId": "post_rcon_growth-multiplier_set",
        "summary": "Set growth multiplier",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "value": 2,
                  "outcome": "ACK",
                  "reply": "",
                  "read_back": null,
                  "ms": 600
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Sets the growth multiplier (above 0).",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "value"
                ],
                "additionalProperties": false,
                "properties": {
                  "value": {
                    "type": "number"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/humans": {
      "post": {
        "operationId": "post_rcon_humans",
        "summary": "Humans on/off",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "on": false,
                  "before": true,
                  "changed": true,
                  "as_asked": true,
                  "outcome": "ACK",
                  "reply": "",
                  "ms": 1210
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Sets human characters. Reads the switch first (no change when it already is), flips it, then reads it back: 'on' is the game's own state after.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "on"
                ],
                "additionalProperties": false,
                "properties": {
                  "on": {
                    "type": "boolean",
                    "description": "The state wanted."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/kick": {
      "post": {
        "operationId": "post_rcon_kick",
        "summary": "Kick",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "steam_id": "76561198000000002",
                  "kicked": true,
                  "still_online": false,
                  "outcome": "ACK",
                  "reply": "",
                  "ms": 910
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Kicks one player, then reads the player list back: 'kicked' is what the list shows, not what the game said. For a kick our mod always delivers, use the moderation API.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false,
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "The player's full Steam ID."
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 200
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/migrations": {
      "post": {
        "operationId": "post_rcon_migrations",
        "summary": "Migrations flip",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "flipped": true,
                  "outcome": "ACK",
                  "reply": "",
                  "read_back": null,
                  "note": "The game does not report this switch; its reply is all there is.",
                  "ms": 600
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Flips animal migrations. The game never reports this switch, so the answer is its reply and nothing is guessed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/rcon/net-checks": {
      "post": {
        "operationId": "post_rcon_net-checks",
        "summary": "Distance checks flip",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "flipped": true,
                  "outcome": "ACK",
                  "reply": "",
                  "read_back": null,
                  "note": "The game does not report this switch; its reply is all there is.",
                  "ms": 600
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Flips network distance checks. The game never reports this switch, so the answer is its reply and nothing is guessed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/rcon/pause": {
      "post": {
        "operationId": "post_rcon_pause",
        "summary": "Pause flip",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "flipped": true,
                  "outcome": "ACK",
                  "reply": "",
                  "read_back": null,
                  "note": "The game does not report this switch; its reply is all there is.",
                  "ms": 600
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Flips the world simulation (every player stops). The game never reports this switch, so the answer is its reply and nothing is guessed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/rcon/playables": {
      "get": {
        "operationId": "get_rcon_playables",
        "summary": "Playable species",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "species": [
                    "Beipiaosaurus",
                    "Carnotaurus",
                    "Ceratosaurus",
                    "Deinosuchus",
                    "Diabloceratops",
                    "Dilophosaurus",
                    "Dryosaurus",
                    "Gallimimus",
                    "Herrerasaurus",
                    "Hypsilophodon",
                    "Maiasaura",
                    "Omniraptor",
                    "Pachycephalosaurus",
                    "Pteranodon",
                    "Stegosaurus",
                    "Tenontosaurus",
                    "Triceratops",
                    "Troodon",
                    "Tyrannosaurus"
                  ],
                  "ms": 44
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). The species players can pick right now."
      },
      "post": {
        "operationId": "post_rcon_playables",
        "summary": "Set playable species",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "asked": [
                    "Tyrannosaurus",
                    "Triceratops"
                  ],
                  "accepted": [
                    "Tyrannosaurus",
                    "Triceratops"
                  ],
                  "unknown": [],
                  "species": [
                    "Triceratops",
                    "Tyrannosaurus"
                  ],
                  "ms": 1430
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Sets the species players can pick, then reads the list back. A species whose Owner Hub card is off is refused (403 species_card_off); an empty list is refused.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "species"
                ],
                "additionalProperties": false,
                "properties": {
                  "species": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/players": {
      "get": {
        "operationId": "get_rcon_players",
        "summary": "Player list",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "count": 2,
                  "players": [
                    {
                      "steam_id": "76561198000000001",
                      "name": "Ishaq"
                    },
                    {
                      "steam_id": "76561198000000002",
                      "name": "Rex"
                    }
                  ],
                  "ms": 38
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Everyone connected, with full Steam IDs and in-game names."
      }
    },
    "/rcon/players/{steam_id}": {
      "get": {
        "operationId": "get_rcon_players_steam_id",
        "summary": "Player data",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "The player's full Steam ID (17 digits).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "steam_id": "76561198000000001",
                  "fields": {
                    "Class": "BP_Tyrannosaurus_C",
                    "Growth": "1.0",
                    "Health": "1.0",
                    "Stamina": "0.92",
                    "Hunger": "0.61",
                    "Thirst": "0.74"
                  },
                  "ms": 52
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). The game's data for one spawned player. Position is included only when the key also carries location:read."
      }
    },
    "/rcon/queue": {
      "get": {
        "operationId": "get_rcon_queue",
        "summary": "Join queue",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "fields": {
                    "QueueStatus": "0"
                  },
                  "raw": "QueueStatus: 0",
                  "ms": 30
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). The join queue as the game reports it."
      }
    },
    "/rcon/raw": {
      "post": {
        "operationId": "post_rcon_raw",
        "summary": "Raw command",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "command": "getqueuestatus",
                  "outcome": "ACK",
                  "reply": "QueueStatus: 0",
                  "ms": 33
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Any Isle RCON command by name with its text. The same walls as the named calls apply (no world save, no AI class switch-off, playables through the Hub cards).",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "command"
                ],
                "additionalProperties": false,
                "properties": {
                  "command": {
                    "type": "string",
                    "description": "An Isle RCON command by name, e.g. 'serverdetails'."
                  },
                  "params": {
                    "type": "string",
                    "maxLength": 2000
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/save": {
      "post": {
        "operationId": "post_rcon_save",
        "summary": "Save (refused)",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Always answers 403 refused: \"The game's world save deletes offline players' banked records on this game build, so it is never sent. The server saves by itself.\"",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/rcon/whitelist": {
      "post": {
        "operationId": "post_rcon_whitelist",
        "summary": "Whitelist on/off",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "on": false,
                  "before": true,
                  "changed": true,
                  "as_asked": true,
                  "outcome": "ACK",
                  "reply": "",
                  "ms": 1210
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Sets whitelist enforcement. Reads the switch first (no change when it already is), flips it, then reads it back: 'on' is the game's own state after.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "on"
                ],
                "additionalProperties": false,
                "properties": {
                  "on": {
                    "type": "boolean",
                    "description": "The state wanted."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/whitelist/add": {
      "post": {
        "operationId": "post_rcon_whitelist_add",
        "summary": "Whitelist a player",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "steam_id": "76561198000000002",
                  "outcome": "ACK",
                  "reply": "",
                  "ms": 590
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Adds one Steam ID to the whitelist.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false,
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "The player's full Steam ID."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/whitelist/remove": {
      "post": {
        "operationId": "post_rcon_whitelist_remove",
        "summary": "Remove from whitelist",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "steam_id": "76561198000000002",
                  "outcome": "ACK",
                  "reply": "",
                  "ms": 575
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Removes one Steam ID from the whitelist.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "steam_id"
                ],
                "additionalProperties": false,
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "The player's full Steam ID."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/rcon/wipe-corpses": {
      "post": {
        "operationId": "post_rcon_wipe-corpses",
        "summary": "Wipe corpses",
        "tags": [
          "rcon"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "wiped": true,
                  "outcome": "ACK",
                  "reply": "",
                  "ms": 655
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Owner keys only (rcon:act). Removes every corpse on the ground now.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/sandbox/events": {
      "get": {
        "operationId": "get_sandbox_events",
        "summary": "The event types and a sample of each",
        "tags": [
          "sandbox"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "type": "player.joined",
                      "sample": {
                        "id": "evt_1",
                        "type": "player.joined",
                        "at": 1761955200000,
                        "server": "sandbox",
                        "data": {
                          "steam_id": "76561190000000101",
                          "name": "RaptorRae"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Test keys and live keys. The samples are made up."
      }
    },
    "/sandbox/log": {
      "get": {
        "operationId": "get_sandbox_log",
        "summary": "What this test key's sample actions sent",
        "tags": [
          "sandbox"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "at": 1761955200,
                      "method": "POST",
                      "path": "/api/v1/moderation/kick",
                      "route": "/api/v1/moderation/kick",
                      "body": "{}",
                      "idempotency_key": "a1",
                      "event": "moderation.kicked"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/sandbox/trigger": {
      "post": {
        "operationId": "post_sandbox_trigger",
        "summary": "Fire a sample event (test keys)",
        "tags": [
          "sandbox"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "event": {
                    "id": "evt_1",
                    "type": "player.killed",
                    "at": 1761955200000,
                    "server": "sandbox",
                    "data": {}
                  },
                  "listeners": 1
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Sends one made-up event to every `sequencemods listen` running with this test key.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "player.joined",
                      "player.left",
                      "dino.spawned",
                      "dino.died",
                      "player.killed",
                      "dino.grew",
                      "chat.message",
                      "command.used",
                      "dino.parked",
                      "dino.taken_out",
                      "economy.changed",
                      "shop.purchased",
                      "delivery.done",
                      "moderation.kicked",
                      "moderation.banned",
                      "moderation.unbanned",
                      "server.restart_warning",
                      "server.restarted",
                      "server.status"
                    ]
                  },
                  "data": {
                    "type": "object",
                    "description": "Fields to set on the sample event's data"
                  },
                  "steam_id": {
                    "type": "string",
                    "description": "The sample player the event is about"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/actions": {
      "get": {
        "operationId": "get_actions",
        "summary": "Actions this key may call",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "actions": [
                    {
                      "name": "announce",
                      "family": "server",
                      "scopes": [
                        "server:act"
                      ],
                      "allowed": true
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/actions/server.announce": {
      "post": {
        "operationId": "post_actions_server.announce",
        "summary": "Announce to everyone in game",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.announce",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string",
                    "maxLength": 1000
                  }
                },
                "required": [
                  "text"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.corpse_wipe": {
      "post": {
        "operationId": "post_actions_server.corpse_wipe",
        "summary": "Wipe every corpse now",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.corpse_wipe",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {},
                "required": [],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.game_settings": {
      "post": {
        "operationId": "post_actions_server.game_settings",
        "summary": "Save Game.ini (applies at the next restart)",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.game_settings",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "content": {
                    "type": "string"
                  },
                  "expected_sha256": {
                    "type": "string"
                  }
                },
                "required": [
                  "content",
                  "expected_sha256"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.map_object_place": {
      "post": {
        "operationId": "post_actions_server.map_object_place",
        "summary": "Place a map object",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.map_object_place",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "mesh": {
                    "type": "string"
                  },
                  "kind": {
                    "type": "string"
                  },
                  "at": {
                    "type": "object"
                  },
                  "label": {
                    "type": "string"
                  },
                  "preset": {
                    "type": "string"
                  },
                  "style": {
                    "type": "string"
                  },
                  "expected_sha256": {
                    "type": "string"
                  }
                },
                "required": [
                  "at"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.map_object_remove": {
      "post": {
        "operationId": "post_actions_server.map_object_remove",
        "summary": "Remove a map object",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.map_object_remove",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "object_id": {
                    "type": "string"
                  },
                  "expected_sha256": {
                    "type": "string"
                  }
                },
                "required": [
                  "object_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.map_objects_send": {
      "post": {
        "operationId": "post_actions_server.map_objects_send",
        "summary": "Send the map objects to the game",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.map_objects_send",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "content": {
                    "type": "string"
                  },
                  "expected_sha256": {
                    "type": "string"
                  }
                },
                "required": [],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.population": {
      "post": {
        "operationId": "post_actions_server.population",
        "summary": "Population control settings",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.population",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  },
                  "caps": {
                    "type": "array"
                  },
                  "locks": {
                    "type": "array"
                  },
                  "dynamic": {
                    "type": "array"
                  },
                  "policy_generation": {
                    "type": "integer"
                  },
                  "policy_sha256": {
                    "type": "string"
                  },
                  "base": {},
                  "rows": {
                    "type": "array"
                  },
                  "island": {
                    "type": "string"
                  }
                },
                "required": [],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.rcon": {
      "post": {
        "operationId": "post_actions_server.rcon",
        "summary": "One RCON command from the site's RCON list",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "rcon:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.rcon",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "verb": {
                    "type": "string"
                  },
                  "args": {
                    "type": "object"
                  }
                },
                "required": [
                  "verb"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.restart": {
      "post": {
        "operationId": "post_actions_server.restart",
        "summary": "Restart the game server (now: at once; warn: countdown first)",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "power:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.restart",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "mode": {
                    "enum": [
                      "now",
                      "warn"
                    ]
                  }
                },
                "required": [],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.restart_schedule": {
      "post": {
        "operationId": "post_actions_server.restart_schedule",
        "summary": "Scheduled restarts with countdown warnings",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "power:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.restart_schedule",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  },
                  "times_utc": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "lead_minutes": {
                    "type": "integer"
                  },
                  "timezone": {
                    "type": "string"
                  },
                  "muted_rungs": {
                    "type": "array"
                  },
                  "messages": {
                    "type": "object"
                  },
                  "expected_sha256": {
                    "type": "string"
                  }
                },
                "required": [],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.start": {
      "post": {
        "operationId": "post_actions_server.start",
        "summary": "Start the game server",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "power:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.start",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {},
                "required": [],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.stop": {
      "post": {
        "operationId": "post_actions_server.stop",
        "summary": "Stop the game server",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "power:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.stop",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {},
                "required": [],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/server.weather": {
      "post": {
        "operationId": "post_actions_server.weather",
        "summary": "Change the weather now",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "server.weather",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "kind": {
                    "enum": [
                      "storm_now",
                      "sky_now",
                      "clear_now"
                    ]
                  },
                  "sky": {
                    "type": "string"
                  },
                  "minutes": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 240
                  }
                },
                "required": [
                  "kind"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/{action_id}": {
      "get": {
        "operationId": "get_actions_action_id",
        "summary": "An action's result",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [],
        "parameters": [
          {
            "name": "action_id",
            "in": "path",
            "required": true,
            "description": "The id an action call answered",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "heal",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/server/online": {
      "get": {
        "operationId": "get_server_online",
        "summary": "Players in game now (Steam ID, name, species)",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "steam_id": "76561198000000000",
                      "name": "Player",
                      "species": "Rex"
                    }
                  ],
                  "count": 1
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/server/population": {
      "get": {
        "operationId": "get_server_population",
        "summary": "Species population: active, limit and state per species",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "species": [
                    {
                      "id": "Rex",
                      "name": "Tyrannosaurus",
                      "active": 3,
                      "limit": 5,
                      "state": "open"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/server/restarts": {
      "get": {
        "operationId": "get_server_restarts",
        "summary": "Restart schedule and the next restart",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "next": {
                    "in_seconds": 3600,
                    "at_local": "17:55"
                  },
                  "times": [
                    "05:55",
                    "17:55"
                  ],
                  "timezone": "UTC"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/server/settings": {
      "get": {
        "operationId": "get_server_settings",
        "summary": "Game settings: server name, max players, AI spawning and density",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "name": "My server",
                  "max_players": 100,
                  "ai": {
                    "spawn": true,
                    "density": 1
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/server/status": {
      "get": {
        "operationId": "get_server_status",
        "summary": "Server status: online, players, max players, map, uptime, next restart, weather",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "online": true,
                  "players": 12,
                  "max_players": 100,
                  "map": "Gateway",
                  "server": "My server"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "The same status the website shows."
      }
    },
    "/server/weather": {
      "get": {
        "operationId": "get_server_weather",
        "summary": "Weather now",
        "tags": [
          "server"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "server:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "label": "Clear",
                  "storm": false
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/actions/shops.item_give": {
      "post": {
        "operationId": "post_actions_shops.item_give",
        "summary": "Give an item to a player's inventory",
        "tags": [
          "shops"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "shops:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "shops.item_give",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "item_id": {
                    "type": "string"
                  },
                  "qty": {
                    "type": "integer"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "item_id",
                  "qty"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/shops.skin_apply": {
      "post": {
        "operationId": "post_actions_shops.skin_apply",
        "summary": "Apply a skin to a player's animal",
        "tags": [
          "shops"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "shops:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "shops.skin_apply",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "source": {
                    "type": "string"
                  },
                  "design_id": {},
                  "premade_id": {},
                  "recipe": {},
                  "pattern": {
                    "type": "integer"
                  },
                  "sex": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "source"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/shops.skin_give": {
      "post": {
        "operationId": "post_actions_shops.skin_give",
        "summary": "Give a skin",
        "tags": [
          "shops"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "shops:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "shops.skin_give",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "skin_id": {
                    "type": "string"
                  },
                  "uses": {},
                  "mode": {
                    "enum": [
                      "add",
                      "set"
                    ]
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "skin_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/actions/shops.skin_take": {
      "post": {
        "operationId": "post_actions_shops.skin_take",
        "summary": "Take a skin",
        "tags": [
          "shops"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "shops:act"
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "id": "act_00000000000000000000000000000000",
                  "action": "shops.skin_take",
                  "state": "done",
                  "at": 0,
                  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "steam_id": {
                    "type": "string",
                    "pattern": "^7656119[0-9]{10}$",
                    "description": "Full Steam ID"
                  },
                  "skin_id": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "Shown in the admin log"
                  }
                },
                "required": [
                  "steam_id",
                  "skin_id"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/shops/auctions": {
      "get": {
        "operationId": "get_shops_auctions",
        "summary": "Live auctions and recent hammer prices",
        "tags": [
          "shops"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "shops:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "board": [
                    {
                      "auction_id": 1,
                      "species": "Rex",
                      "current_price": 2000,
                      "ends_at": 1761955200
                    }
                  ],
                  "sold": []
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/shops/crates": {
      "get": {
        "operationId": "get_shops_crates",
        "summary": "Crates with their drops and odds",
        "tags": [
          "shops"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "shops:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "crate_id": "c1",
                      "label": "Gold crate",
                      "price": 1000,
                      "drops": []
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/shops/dinos": {
      "get": {
        "operationId": "get_shops_dinos",
        "summary": "The dinosaur shop: species, prices, growth, diet",
        "tags": [
          "shops"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "shops:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "species": "Rex",
                      "label": "Tyrannosaurus",
                      "price": 5000,
                      "enabled": true
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/shops/items": {
      "get": {
        "operationId": "get_shops_items",
        "summary": "The item shop: bodies and food for sale",
        "tags": [
          "shops"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "shops:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "species": "Stegosaurus",
                      "price": 300
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/shops/market": {
      "get": {
        "operationId": "get_shops_market",
        "summary": "The player market: live listings and recent sales",
        "tags": [
          "shops"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "shops:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "listings": [],
                  "sales": []
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/shops/purchases": {
      "get": {
        "operationId": "get_shops_purchases",
        "summary": "Dinosaur shop purchases, newest first",
        "tags": [
          "shops"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "shops:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "id": 41,
                      "steam_id": "76561198000000000",
                      "species": "Rex",
                      "price": 5000,
                      "at": 1761955200
                    }
                  ],
                  "next_cursor": "40"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats/achievements/{steam_id}": {
      "get": {
        "operationId": "get_stats_achievements_steam_id",
        "summary": "A player's achievements",
        "tags": [
          "stats"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "stats:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "achievements": [
                    {
                      "id": "apex",
                      "earned": true
                    }
                  ],
                  "earned": 3,
                  "total": 20
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats/boards": {
      "get": {
        "operationId": "get_stats_boards",
        "summary": "Every leaderboard this server shows (staff hidden the way the site hides them)",
        "tags": [
          "stats"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "stats:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "boards": [
                    {
                      "id": "kills",
                      "rows": [
                        {
                          "rank": 1,
                          "name": "Player",
                          "value": 42
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats/bounties": {
      "get": {
        "operationId": "get_stats_bounties",
        "summary": "Open bounties",
        "tags": [
          "stats"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "stats:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "target": "Player",
                      "pot": 500,
                      "admin": false
                    }
                  ],
                  "next_cursor": null
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats/clans/{steam_id}": {
      "get": {
        "operationId": "get_stats_clans_steam_id",
        "summary": "A player's clan (squad) and its members",
        "tags": [
          "stats"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "stats:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "squad": {
                    "id": 3,
                    "name": "Pack",
                    "members": [
                      {
                        "steam_id": "76561198000000000"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats/combat/{steam_id}": {
      "get": {
        "operationId": "get_stats_combat_steam_id",
        "summary": "A player's combat log",
        "tags": [
          "stats"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "stats:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "events": [
                    {
                      "kind": "hit",
                      "damage": 120,
                      "at": 1761955200
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats/halloffame": {
      "get": {
        "operationId": "get_stats_halloffame",
        "summary": "The hall of fame",
        "tags": [
          "stats"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "stats:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "rows": [
                    {
                      "title": "Top hunter",
                      "name": "Player",
                      "value": 99
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats/kills": {
      "get": {
        "operationId": "get_stats_kills",
        "summary": "The kill feed, newest first",
        "tags": [
          "stats"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "stats:read"
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Rows per page (1-100)",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "next_cursor of the previous page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "data": [
                    {
                      "killer": "A",
                      "victim": "B",
                      "killer_species": "Rex",
                      "occurred_at": 1761955200
                    }
                  ],
                  "next_cursor": "1761955100"
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats/leaderboard": {
      "get": {
        "operationId": "get_stats_leaderboard",
        "summary": "The leaderboard page: top players per category for a period",
        "tags": [
          "stats"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "stats:read"
        ],
        "parameters": [
          {
            "name": "period",
            "in": "query",
            "required": false,
            "description": "weekly (default), monthly or total; week, month and all work too",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "species",
            "in": "query",
            "required": false,
            "description": "one species, or all",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "period": "weekly",
                  "categories": [
                    {
                      "id": "kills",
                      "rows": [
                        {
                          "rank": 1,
                          "name": "P",
                          "value": 9
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats/quests": {
      "get": {
        "operationId": "get_stats_quests",
        "summary": "The quest list",
        "tags": [
          "stats"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "stats:read"
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "quests": [
                    {
                      "key": "q1",
                      "title": "Hunt",
                      "reward": 100
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/stats/species/{steam_id}": {
      "get": {
        "operationId": "get_stats_species_steam_id",
        "summary": "A player's record per species",
        "tags": [
          "stats"
        ],
        "security": [
          {
            "apiKey": []
          }
        ],
        "x-scopes": [
          "stats:read"
        ],
        "parameters": [
          {
            "name": "steam_id",
            "in": "path",
            "required": true,
            "description": "Full Steam ID (17 digits)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "available": true,
                  "sources": [],
                  "meta": {}
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  }
}