{"openapi":"3.1.0","info":{"title":"BoxToPlay Public API","version":"v1","description":"This is the official BoxToPlay API for [boxtoplay.com](https://www.boxtoplay.com/).\n\nBefore using the REST API, generate your API key from [your BoxToPlay customer account](https://www.boxtoplay.com/profile/api-keys).\n\nTo test REST requests directly from this documentation, enter the generated key in the **Bearer Token** field on the right. **⟶**\n\nBoxToPlay provides two separate integration interfaces. Choose the one that matches your application:\n\n> ### REST API\n> **For:** websites, scripts, mobile applications and backend integrations\n>\n> **Endpoint:** `https://api.boxtoplay.com/v1`\n>\n> **Authentication:** BoxToPlay API key sent as a Bearer token\n\n> ### Model Context Protocol (MCP)\n> **For:** AI assistants and MCP-compatible clients\n>\n> **Endpoint:** `https://api.boxtoplay.com/mcp`\n>\n> **Authentication:** OAuth 2.1 or a BoxToPlay API key\n\n## API V1 lifecycle\n\nAPI V1 is the stable public API. Updates and additions are documented here as the API evolves.\n\n## Support\n\nIf you need help with an API request, [open a BoxToPlay support ticket](https://www.boxtoplay.com/tickets). JSON responses include a `request_id`: keep it handy when contacting us about an API request.\n\n# REST API\n\nUse the REST API when your code sends HTTP requests and reads JSON responses. REST routes are documented in the endpoint list on this page and are all located below `/v1`.\n\nDo not use the REST base URL as an MCP server URL. MCP clients must use the dedicated `/mcp` endpoint documented in the next chapter.\n\n## REST base URL\n\n`https://api.boxtoplay.com/v1`\n\n## REST authentication\n\nUse a [dedicated BoxToPlay API key](https://www.boxtoplay.com/profile/api-keys) to authenticate REST requests:\n\n1. Create the key from the linked page.\n2. Copy it when it is displayed.\n3. Send it with every authenticated request:\n\n```http\nAuthorization: Bearer YOUR_API_KEY\n```\n\n## REST quick start\n\n```bash\ncurl https://api.boxtoplay.com/v1/me \\\n  --header 'Authorization: Bearer YOUR_API_KEY' \\\n  --header 'Accept: application/json'\n```\n\n# Model Context Protocol (MCP)\n\nUse MCP when you want an AI client to discover and use the BoxToPlay tools available to your account. MCP uses Streamable HTTP and has its own endpoint:\n\n`https://api.boxtoplay.com/mcp`\n\nThe MCP endpoint is not a REST route and must not include `/v1`.\n\n## Connect an MCP client\n\nIf you use ChatGPT, open the official [BoxToPlay app](https://chatgpt.com/plugins/plugin_asdk_app_6a94a662697881919b8eb7c81a4a8716) or follow the manual ChatGPT setup below. For other clients:\n\n1. Choose one authentication method supported by your client.\n2. Add the Streamable HTTP endpoint `https://api.boxtoplay.com/mcp` to the client.\n3. Complete the BoxToPlay authorization window for OAuth, or provide your dedicated API key for Bearer authentication.\n\nChoose exactly one authentication method. Do not configure a Bearer token when using OAuth.\n\n### OAuth 2.1, recommended\n\nConfigure only the MCP endpoint URL. Do not add an `Authorization` header or a Bearer token. Your compatible MCP client opens the BoxToPlay sign-in and authorization window.\n\n### BoxToPlay API key with Bearer authentication\n\nUse a [dedicated BoxToPlay API key](https://www.boxtoplay.com/profile/api-keys) when your client supports static HTTP headers or a Bearer token setting, or when you prefer direct authentication:\n\n```http\nAuthorization: Bearer YOUR_API_KEY\n```\n\nA configured Bearer credential connects directly and no OAuth authorization window is displayed.\n\n## Authentication support by client\n\n| Client | OAuth 2.1 | BoxToPlay API key with Bearer |\n| --- | --- | --- |\n| Claude | Yes | No |\n| ChatGPT | Yes | No |\n| Claude Code | Yes | Yes |\n| Codex CLI | Yes | Yes |\n| Cursor | Yes | Yes |\n| VS Code | Yes | Yes |\n| Other MCP client | Depends on the client | Depends on the client |\n\n## Claude\n\nClaude uses OAuth for authenticated remote MCP servers.\n\n| Setting | Value |\n| --- | --- |\n| Transport | Streamable HTTP |\n| MCP endpoint | `https://api.boxtoplay.com/mcp` |\n| Authorization header | Do not configure |\n\n[Add the endpoint as a custom connector](https://claude.ai/customize/connectors), then complete the BoxToPlay authorization window opened by Claude.\n\n## ChatGPT\n\nChatGPT uses OAuth. Choose the official BoxToPlay app or a manual ChatGPT setup.\n\n### Official BoxToPlay app\n\n[Open the BoxToPlay app in ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a94a662697881919b8eb7c81a4a8716), then complete the BoxToPlay authorization window.\n\n### Manual ChatGPT setup\n\n| Setting | Value |\n| --- | --- |\n| MCP endpoint | `https://api.boxtoplay.com/mcp` |\n| Authorization header | Do not configure |\n\nFirst, [enable developer mode in ChatGPT](https://chatgpt.com/#settings/Security). Then [create a custom plugin](https://chatgpt.com/plugins#settings/Connectors?create-connector=true&redirectAfter=%2Fplugins), enter the BoxToPlay MCP endpoint, choose OAuth, and complete the BoxToPlay authorization window opened by ChatGPT.\n\n## Claude Code\n\n### Claude Code with OAuth\n\n```bash\nclaude mcp add --transport http boxtoplay https://api.boxtoplay.com/mcp\n```\n\nOpen the MCP connection in Claude Code and complete the BoxToPlay authorization window. Do not add an `Authorization` header.\n\n### Claude Code with a BoxToPlay API key\n\nUse a [dedicated BoxToPlay API key](https://www.boxtoplay.com/profile/api-keys) for direct authentication, then run:\n\n```bash\nclaude mcp add --transport http boxtoplay https://api.boxtoplay.com/mcp --header \"Authorization: Bearer YOUR_API_KEY\"\n```\n\n## Codex CLI\n\nAdd the following configuration to `~/.codex/config.toml`.\n\n### Codex CLI with OAuth\n\n```toml\n[mcp_servers.boxtoplay]\nurl = \"https://api.boxtoplay.com/mcp\"\n```\n\nThen run:\n\n```bash\ncodex mcp login boxtoplay\n```\n\n### Codex CLI with a BoxToPlay API key\n\nFor direct authentication, use a [dedicated BoxToPlay API key](https://www.boxtoplay.com/profile/api-keys), store it in the `BTP_API_KEY` environment variable, then configure:\n\n```toml\n[mcp_servers.boxtoplay]\nurl = \"https://api.boxtoplay.com/mcp\"\nbearer_token_env_var = \"BTP_API_KEY\"\n```\n\n## Cursor\n\nAdd the matching configuration to your Cursor MCP configuration.\n\n### Cursor with OAuth\n\n```json\n{\n  \"mcpServers\": {\n    \"boxtoplay\": {\n      \"url\": \"https://api.boxtoplay.com/mcp\"\n    }\n  }\n}\n```\n\nComplete the BoxToPlay authorization window opened by Cursor.\n\n### Cursor with a BoxToPlay API key\n\nFor direct authentication, use a [dedicated BoxToPlay API key](https://www.boxtoplay.com/profile/api-keys) in this configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"boxtoplay\": {\n      \"url\": \"https://api.boxtoplay.com/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_API_KEY\"\n      }\n    }\n  }\n}\n```\n\n## VS Code\n\nAdd the matching configuration to your VS Code MCP configuration.\n\n### VS Code with OAuth\n\n```json\n{\n  \"servers\": {\n    \"boxtoplay\": {\n      \"type\": \"http\",\n      \"url\": \"https://api.boxtoplay.com/mcp\"\n    }\n  }\n}\n```\n\nComplete the BoxToPlay authorization window opened by VS Code.\n\n### VS Code with a BoxToPlay API key\n\nFor direct authentication, use a [dedicated BoxToPlay API key](https://www.boxtoplay.com/profile/api-keys) in this configuration:\n\n```json\n{\n  \"servers\": {\n    \"boxtoplay\": {\n      \"type\": \"http\",\n      \"url\": \"https://api.boxtoplay.com/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_API_KEY\"\n      }\n    }\n  }\n}\n```\n\n## Other MCP clients\n\nSelect Streamable HTTP, use `https://api.boxtoplay.com/mcp` as the MCP endpoint, then choose one supported authentication method.\n\n### Generic OAuth configuration\n\n| Setting | Value |\n| --- | --- |\n| MCP endpoint | `https://api.boxtoplay.com/mcp` |\n| Authorization header | Do not configure |\n\nThe client must support OAuth for remote MCP servers and open the BoxToPlay authorization window.\n\n### Generic Bearer configuration\n\nFor direct authentication, use a [dedicated BoxToPlay API key](https://www.boxtoplay.com/profile/api-keys), then configure:\n\n| Setting | Value |\n| --- | --- |\n| MCP endpoint | `https://api.boxtoplay.com/mcp` |\n| Header name | `Authorization` |\n| Header value | `Bearer YOUR_API_KEY` |\n\nIf the client asks for a token instead of a complete header value, enter the API key according to that client's instructions. Never configure OAuth and a BoxToPlay API key at the same time.\n"},"servers":[{"url":"/v1","description":"API base URL"}],"tags":[{"name":"General","description":"API metadata and availability."},{"name":"Account","description":"Account information and AI credit balance."},{"name":"Services","description":"Service inventory across product families."},{"name":"Minecraft","description":"Minecraft servers, metrics and history, health, activity, content, logs and automation tasks."},{"name":"BungeeCord / Velocity","description":"BungeeCord and Velocity servers, metrics and history, players, settings, logs and automation tasks."},{"name":"TeamSpeak","description":"TeamSpeak servers, metrics and history, channels, clients, backups and server controls."},{"name":"VPS","description":"VPS servers, metrics, commands, firewall, backups and server controls."},{"name":"Lite services","description":"MySQL, web hosting and voice services available with compatible plans."}],"security":[{"ApiKeyBearer":[]}],"paths":{"/":{"get":{"summary":"Get API information","operationId":"getApiIndex","responses":{"200":{"description":"API metadata","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexEnvelope"},"example":{"data":{"name":"BoxToPlay Public API","openapi_url":"/v1/openapi.json","status_url":"/v1/status","version":"v1"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["General"],"security":[],"description":"Returns the API information."}},"/status":{"get":{"summary":"Get API status","operationId":"getApiStatus","responses":{"200":{"description":"API status","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusEnvelope"},"example":{"data":{"status":"ok","version":"v1"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["General"],"security":[],"description":"Returns the API status."}},"/me":{"get":{"summary":"Get account profile","description":"Returns the account profile.","operationId":"getCurrentProfile","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"Account profile","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileEnvelope"},"example":{"data":{"email":"developer@example.com","first_name":"Ada","last_name":"Lovelace"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Account"]}},"/me/ai-credit":{"get":{"summary":"Get AI credit balance","description":"Returns the AI credit balance.","operationId":"getAiCredit","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"AI credit balance","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiCreditEnvelope"},"example":{"data":{"available":true,"credit_remaining":15.0,"credit_total":20.0,"credit_used":5.0,"currency":"EUR","usage_percentage":25},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Account"]}},"/services":{"get":{"summary":"List services","description":"Returns every service on this account, grouped by product family. limit applies to that combined list. Pass next_cursor with the same filters to continue.","operationId":"listServices","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"Service inventory grouped by family","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceInventoryEnvelope"},"example":{"data":{"bungee":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}],"minecraft":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}],"mumble_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Mumble Lite #648","service_type":"mumble_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"port":64738}],"mysql_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}],"next_cursor":"pg_example123","teamspeak":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}],"vps":[{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}],"web_hosting_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}}},"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of services to return across all families. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page. Reuse it with the same query and type filters.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in services.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"SERVER_NAME"},{"name":"type","in":"query","required":false,"description":"Filters services by family.","schema":{"type":"string","enum":["minecraft","bungee","teamspeak","vps","mysql_lite","web_hosting_lite","mumble_lite"]}}],"tags":["Services"]}},"/services/minecraft":{"get":{"summary":"List Minecraft servers","description":"Returns the Minecraft servers.","operationId":"listMinecraftServices","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"Minecraft service list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftServiceListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}}},"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of services to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in services.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"SERVER_NAME"}],"tags":["Minecraft"]}},"/services/minecraft/modpacks":{"get":{"summary":"Search installable Minecraft modpacks and server software","description":"Searches the combined standard, Feed The Beast, CurseForge and Modrinth catalogs. Standard results include server software such as Paper, Purpur and Spigot. A search returns matching installable versions, and its default order is latest. Use the returned id in modpack installation requests.","operationId":"listMinecraftModpacks","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of modpacks to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"sort","in":"query","required":false,"description":"Result order. Without a search, the default is alphabetical. With a search, the default is latest, which shows the newest matching versions first.","schema":{"type":"string","enum":["alphabetical","popularity","latest"]}},{"name":"provider","in":"query","required":false,"description":"Filters entries by provider.","schema":{"type":"string","enum":["standard","ftb","curseforge","modrinth"]}},{"name":"query","in":"query","required":false,"description":"Text to find in catalog entries.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Paper"}],"responses":{"200":{"description":"Minecraft modpack catalog","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftModpackCatalogEnvelope"},"example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor, sort, provider or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"409":{"description":"Catalog temporarily unavailable","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/mods":{"get":{"summary":"Search installable Minecraft mods","description":"Searches combined CurseForge and Modrinth installable Minecraft mod versions. A search uses latest order by default. Use the returned id in mod installation requests.","operationId":"listMinecraftMods","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of mods to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"sort","in":"query","required":false,"description":"Result order. Without a search, the default is alphabetical. With a search, the default is latest, which shows the newest matching versions first.","schema":{"type":"string","enum":["alphabetical","popularity","latest"]}},{"name":"provider","in":"query","required":false,"description":"Filters entries by provider.","schema":{"type":"string","enum":["curseforge","modrinth"]}},{"name":"query","in":"query","required":false,"description":"Text to find in catalog entries.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Sodium"}],"responses":{"200":{"description":"Minecraft mod catalog","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftModCatalogEnvelope"},"example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"curseforge"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor, sort, provider or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"409":{"description":"Catalog temporarily unavailable","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/plugins":{"get":{"summary":"Search installable Minecraft plugins","description":"Searches the combined Spigot, CurseForge, Modrinth and Cloudburst plugin catalogs. A search returns matching installable versions, and its default order is latest. Use the returned id in plugin installation requests.","operationId":"listMinecraftPlugins","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of plugins to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"sort","in":"query","required":false,"description":"Result order. Without a search, the default is alphabetical. With a search, the default is latest, which shows the newest matching versions first.","schema":{"type":"string","enum":["alphabetical","popularity","latest"]}},{"name":"provider","in":"query","required":false,"description":"Filters entries by provider.","schema":{"type":"string","enum":["spigot","curseforge","modrinth","cloudburst"]}},{"name":"query","in":"query","required":false,"description":"Text to find in catalog entries.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"LuckPerms"}],"responses":{"200":{"description":"Minecraft plugin catalog","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPluginCatalogEnvelope"},"example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"spigot"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor, sort, provider or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"409":{"description":"Catalog temporarily unavailable","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/datapacks":{"get":{"summary":"Search installable Minecraft datapacks","description":"Searches combined CurseForge and Modrinth datapack versions. A search uses latest order by default. Use the returned id in datapack installation requests.","operationId":"listMinecraftDatapacks","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of datapacks to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"sort","in":"query","required":false,"description":"Result order. Without a search, the default is alphabetical. With a search, the default is latest, which shows the newest matching versions first.","schema":{"type":"string","enum":["alphabetical","popularity","latest"]}},{"name":"provider","in":"query","required":false,"description":"Filters entries by provider.","schema":{"type":"string","enum":["curseforge","modrinth"]}},{"name":"query","in":"query","required":false,"description":"Text to find in catalog entries.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Vanilla Tweaks"}],"responses":{"200":{"description":"Minecraft datapack catalog","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftDatapackCatalogEnvelope"},"example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor, sort, provider or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"409":{"description":"Catalog temporarily unavailable","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/bedrock-addons":{"get":{"summary":"List Minecraft Bedrock add-ons","description":"Lists installable CurseForge add-ons for official Minecraft Bedrock servers. Use an add-on id to list its available versions.","operationId":"listMinecraftBedrockAddons","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of Bedrock add-ons to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"sort","in":"query","required":false,"description":"Result order. The default is alphabetical.","schema":{"type":"string","enum":["alphabetical","popularity","latest"],"default":"alphabetical"}},{"name":"query","in":"query","required":false,"description":"Text to find in add-on names and descriptions.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Furniture"},{"name":"category","in":"query","required":false,"description":"Category assigned to the add-on.","schema":{"type":"string","minLength":1,"maxLength":64},"example":"Addons"}],"responses":{"200":{"description":"Minecraft Bedrock add-on catalog","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftBedrockAddonProjectListEnvelope"},"example":{"data":{"items":[{"categories":["example_categories"],"description":"Example description","icon_url":"https://example.com/resource","id":"btp_0123456789abcdef0123456789abcdef","name":"Furniture Add-On","provider":"curseforge"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/bedrock-addons/{addonId}/versions":{"get":{"summary":"List Minecraft Bedrock add-on versions","description":"Lists the available versions of a Minecraft Bedrock add-on, newest first. Use a returned version id in an installation request.","operationId":"listMinecraftBedrockAddonVersions","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"addonId","in":"path","required":true,"description":"Add-on id returned by the Minecraft Bedrock add-on list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_0123456789abcdef0123456789abcdef"},{"name":"limit","in":"query","required":false,"description":"Maximum number of Bedrock add-on versions to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}}],"responses":{"200":{"description":"Minecraft Bedrock add-on version list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftBedrockAddonVersionListEnvelope"},"example":{"data":{"items":[{"game_versions":["1.21.4"],"id":"btp_fedcba9876543210fedcba9876543210","name":"Example server","published_at":"2030-06-15T10:00:00Z"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/worlds/catalog":{"get":{"summary":"Search installable Minecraft worlds","description":"Searches Minecraft worlds available for installation. A search uses latest order by default.","operationId":"listMinecraftWorldCatalog","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of worlds to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"sort","in":"query","required":false,"description":"Result order. Without a search, the default is alphabetical. With a search, the default is latest, which shows the newest matching versions first.","schema":{"type":"string","enum":["alphabetical","popularity","latest"]}},{"name":"provider","in":"query","required":false,"description":"Filters entries by provider.","schema":{"type":"string","enum":["curseforge"]}},{"name":"query","in":"query","required":false,"description":"Text to find in catalog entries.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Skyblock"}],"responses":{"200":{"description":"Minecraft world catalog","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftWorldCatalogEnvelope"},"example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor, sort, provider or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}":{"get":{"summary":"Get Minecraft server details","description":"Returns the Minecraft server details, its published catalog plan when available, and its currently installed version or modpack when configured.","operationId":"getMinecraftService","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"Minecraft service detail","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftServiceDetailEnvelope"},"example":{"data":{"connection_address":"play.example.com:25565","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","installed_modpack":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"},"name":"Minecraft #648","plan":{"name":"Titan","currency":"EUR","monthly_price":14.99,"memory_bytes":16106127360,"cpu_threads":16},"runtime_type":"bedrock"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"tags":["Minecraft"]}},"/services/minecraft/{serverId}/modpack":{"get":{"summary":"Get Minecraft modpack details","operationId":"getMinecraftModpackState","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of modpacks to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"sort","in":"query","required":false,"description":"Result order. Without a search, the default is alphabetical. With a search, the default is latest, which shows the newest matching versions first.","schema":{"type":"string","enum":["alphabetical","popularity","latest"]}},{"name":"provider","in":"query","required":false,"description":"Filters entries by provider.","schema":{"type":"string","enum":["standard","ftb","curseforge","modrinth"]}},{"name":"query","in":"query","required":false,"description":"Text to find in compatible modpack names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Paper"}],"responses":{"200":{"description":"Installed modpack and compatible modpacks","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftModpackStateEnvelope"},"example":{"data":{"compatible":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"installed":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"},"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"description":"Returns the installed modpack together with a compatible modpack page. This combined operation is deprecated; use the Minecraft server detail and the compatible modpack collection instead.","deprecated":true,"tags":["Minecraft"]}},"/services/minecraft/{serverId}/modpacks":{"get":{"summary":"List compatible Minecraft modpacks","operationId":"listMinecraftCompatibleModpacks","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of modpacks to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"sort","in":"query","required":false,"description":"Result order. Without a search, the default is alphabetical. With a search, the default is latest, which shows the newest matching versions first.","schema":{"type":"string","enum":["alphabetical","popularity","latest"]}},{"name":"provider","in":"query","required":false,"description":"Filters entries by provider.","schema":{"type":"string","enum":["standard","ftb","curseforge","modrinth"]}},{"name":"query","in":"query","required":false,"description":"Text to find in compatible modpack names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Paper"}],"responses":{"200":{"description":"Minecraft modpacks compatible with the selected server","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftModpackCatalogEnvelope"},"example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"description":"Returns installable modpacks compatible with the selected Minecraft server and its plan.","tags":["Minecraft"]}},"/services/minecraft/{serverId}/settings":{"get":{"summary":"Get Minecraft server settings","description":"Returns the current Minecraft server settings.","operationId":"getMinecraftServiceSettings","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft server settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftServerSettingsEnvelope"},"examples":{"java":{"summary":"Java server settings","value":{"success":true,"request_id":"REQUEST_ID","data":{"name":"My Java Server","dns":"myjavaserver","slots":20,"runtime_type":"java","server_name":"My Java Server","difficulty":"normal","gamemode":"survival","online_mode":true,"whitelist_enabled":false,"view_distance":10,"daily_reboot_hour":3,"motd":"Welcome to the server","java_version":21}}},"bedrock":{"summary":"Official Bedrock server settings","value":{"success":true,"request_id":"REQUEST_ID","data":{"name":"My Bedrock Server","dns":"","slots":20,"runtime_type":"bedrock","server_name":"My Bedrock Server","difficulty":"normal","gamemode":"survival","online_mode":true,"whitelist_enabled":false,"view_distance":32,"daily_reboot_hour":3,"allow_cheats":false}}}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]},"patch":{"summary":"Update Minecraft server settings","description":"Updates the supplied Minecraft server settings. Fields not included in the request stay unchanged.","operationId":"updateMinecraftServiceSettings","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftServerSettingsUpdate"},"example":{"additional_startup_parameters":"--safeMode","allow_cheats":false,"allow_flight":true,"allow_nether":true,"announce_player_achievements":true,"command_blocks_enabled":true,"daily_reboot_hour":0,"difficulty":"peaceful","enable_status":true,"enforce_whitelist":true,"force_gamemode":true,"gamemode":"survival","generate_structures":true,"grow_trees":true,"hide_online_players":true,"java_agent_id":"JAVA_AGENT_ID","java_version":0,"max_build_height":5,"motd":"Welcome to the server","online_mode":true,"player_idle_timeout_minutes":3,"pvp_enabled":true,"require_resource_pack":true,"resource_pack_sha1":"203.0.113.10","server_name":"Example server","simulation_distance":3,"spawn_animals":true,"spawn_monsters":true,"spawn_npcs":true,"spawn_protection":0,"view_distance":1,"whitelist_enabled":true}}}},"responses":{"200":{"description":"Updated Minecraft server settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftServerSettingsEnvelope"},"examples":{"java":{"summary":"Java server settings","value":{"success":true,"request_id":"REQUEST_ID","data":{"name":"My Java Server","dns":"myjavaserver","slots":20,"runtime_type":"java","server_name":"My Java Server","difficulty":"normal","gamemode":"survival","online_mode":true,"whitelist_enabled":false,"view_distance":10,"daily_reboot_hour":3,"motd":"Welcome to the server","java_version":21}}},"bedrock":{"summary":"Official Bedrock server settings","value":{"success":true,"request_id":"REQUEST_ID","data":{"name":"My Bedrock Server","dns":"","slots":20,"runtime_type":"bedrock","server_name":"My Bedrock Server","difficulty":"normal","gamemode":"survival","online_mode":true,"whitelist_enabled":false,"view_distance":32,"daily_reboot_hour":3,"allow_cheats":false}}}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/settings/java-agents":{"get":{"summary":"List Minecraft Java agent files","operationId":"listMinecraftJavaAgents","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"directory_id","in":"query","required":false,"description":"Directory identifier returned by a previous Java agent list.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"}},{"name":"limit","in":"query","required":false,"description":"Maximum number of entries to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in Java agent file and directory names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"agent.jar"},{"name":"type","in":"query","required":false,"description":"Filters entries by type.","schema":{"type":"string","enum":["file","directory"]}}],"responses":{"200":{"description":"Minecraft Java agent file list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftJavaAgentListEnvelope"},"example":{"data":{"directory_id":"resource_example123","entries":[{"id":"JAVA_AGENT_ID","name":"agent.jar","type":"file"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the Minecraft Java agent files."}},"/services/minecraft/{serverId}/settings/rcon-password":{"get":{"summary":"Get a Minecraft RCON password","description":"Returns the current RCON password for this Minecraft server.","operationId":"getMinecraftServiceRconPassword","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Current Minecraft RCON password","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftRconPasswordEnvelope"},"example":{"data":{"password":"K7m#pQ2vL9x$Wn4t"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]},"put":{"summary":"Rotate a Minecraft RCON password","description":"Sets a new RCON password for this Minecraft server.","operationId":"rotateMinecraftServiceRconPassword","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["password"],"properties":{"password":{"type":"string","writeOnly":true,"minLength":16,"maxLength":128,"pattern":"^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$^*._-])[A-Za-z0-9!@#$^*._-]{16,128}$","description":"New RCON password. Length 16 to 128. Must include an uppercase letter, a lowercase letter, a digit and one of !@#$^*._-. At least 10 distinct characters. No character may repeat four times in a row. No four-character sequential run such as abcd or 1234.","example":"K7m#pQ2vL9x$Wn4t"}}},"example":{"password":"K7m#pQ2vL9x$Wn4t"}}}},"responses":{"200":{"description":"RCON password rotated","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftRconPasswordRotationEnvelope"},"example":{"data":{"status":"rotated"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/settings/name":{"put":{"summary":"Update a Minecraft server name","description":"Sets the Minecraft server name shown in BoxToPlay. Send an empty name to restore the default.","operationId":"updateMinecraftServiceConfigurationName","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","description":"Customer-facing server name. An empty value restores the default name.","maxLength":64,"pattern":"^[A-Za-z0-9 ]*$"}}}}}},"responses":{"200":{"description":"Updated Minecraft server configuration","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftConfigurationSummaryEnvelope"},"example":{"data":{"dns":"play","name":"Example server","runtime_type":"java","slots":20},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/settings/dns":{"put":{"summary":"Update a Minecraft server DNS label","description":"Sets the custom BoxToPlay DNS label for a Java, Nukkitx or official Bedrock server. Bedrock players, including Geyser users, must enter the port separately. Send an empty dns value to remove the custom DNS label.","operationId":"updateMinecraftServiceConfigurationDns","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","additionalProperties":false,"required":["dns"],"properties":{"dns":{"type":"string","description":"Lowercase alphanumeric custom DNS label for a Java, Nukkitx or official Bedrock server. An empty value removes the custom DNS label.","maxLength":63,"pattern":"^[a-z0-9]*$"}}}}}},"responses":{"200":{"description":"Updated Minecraft server configuration","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftConfigurationSummaryEnvelope"},"example":{"data":{"dns":"play","name":"Example server","runtime_type":"java","slots":20},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/settings/slots":{"put":{"summary":"Update Minecraft player slots","description":"Sets the configured maximum number of Minecraft players.","operationId":"updateMinecraftServiceConfigurationSlots","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","additionalProperties":false,"required":["slots"],"properties":{"slots":{"type":"integer","minimum":1,"maximum":1000}}}}}},"responses":{"200":{"description":"Updated Minecraft server configuration","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftConfigurationSummaryEnvelope"},"example":{"data":{"dns":"play","name":"Example server","runtime_type":"java","slots":20},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/online":{"get":{"summary":"List online Minecraft players","description":"Returns players currently reported online, including their configured operator and whitelist state.","operationId":"listMinecraftOnlinePlayers","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of player entries to return.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in player names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"PLAYER_NAME"}],"responses":{"200":{"description":"Minecraft player list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","players":[{"banned":false,"ip_banned":false,"name":"Alex","operator":true,"whitelisted":true}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/known":{"get":{"summary":"List known Minecraft players","description":"Returns players known by this Minecraft server.","operationId":"listMinecraftKnownPlayers","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of player entries to return.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in player names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"PLAYER_NAME"}],"responses":{"200":{"description":"Minecraft player list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","players":[{"banned":false,"ip_banned":false,"name":"Alex","operator":true,"whitelisted":true}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/operators":{"get":{"summary":"List Minecraft operators","description":"Returns configured Minecraft operators.","operationId":"listMinecraftOperators","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of player entries to return.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in player names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"PLAYER_NAME"}],"responses":{"200":{"description":"Minecraft player list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","players":[{"banned":false,"ip_banned":false,"name":"Alex","operator":true,"whitelisted":true}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/operators/{playerName}":{"post":{"summary":"Add a Minecraft operator","description":"Adds a player to the Minecraft operator list. The list can contain up to 5,000 entries.","operationId":"addMinecraftOperator","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"playerName","in":"path","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"operator_added","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]},"delete":{"summary":"Remove a Minecraft operator","description":"Removes a player from the Minecraft operator list.","operationId":"removeMinecraftOperator","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"playerName","in":"path","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"operator_removed","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/whitelist":{"get":{"summary":"List Minecraft whitelist players","description":"Returns players configured in the Minecraft whitelist.","operationId":"listMinecraftWhitelistPlayers","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of player entries to return.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in player names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"PLAYER_NAME"}],"responses":{"200":{"description":"Minecraft player list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","players":[{"banned":false,"ip_banned":false,"name":"Alex","operator":true,"whitelisted":true}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/whitelist/{playerName}":{"post":{"summary":"Add a Minecraft whitelist player","description":"Adds a player to the Minecraft whitelist. The list can contain up to 5,000 entries.","operationId":"addMinecraftWhitelistPlayer","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"playerName","in":"path","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"whitelist_added","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]},"delete":{"summary":"Remove a Minecraft whitelist player","description":"Removes a player from the Minecraft whitelist.","operationId":"removeMinecraftWhitelistPlayer","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"playerName","in":"path","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"whitelist_removed","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/bans":{"get":{"summary":"List Minecraft bans","description":"Returns player and IP ban entries with their typed ban flags.","operationId":"listMinecraftBans","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of player entries to return.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in player names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"PLAYER_NAME"}],"responses":{"200":{"description":"Minecraft player list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","players":[{"banned":false,"ip_banned":false,"name":"Alex","operator":true,"whitelisted":true}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/bans/{playerName}":{"post":{"summary":"Ban a Minecraft player","description":"Adds a player ban. The list can contain up to 5,000 entries.","operationId":"banMinecraftPlayer","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"playerName","in":"path","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"player_banned","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]},"delete":{"summary":"Unban a Minecraft player","description":"Removes a player ban.","operationId":"unbanMinecraftPlayer","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"playerName","in":"path","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"player_unbanned","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/ip-bans/{playerName}":{"post":{"summary":"Ban a Minecraft IP address","description":"Adds an IP ban. Provide an IPv4 address or a player name understood by the Minecraft server. The IP ban list can contain up to 5,000 entries.","operationId":"banMinecraftPlayerIp","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"playerName","in":"path","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"ip_banned","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]},"delete":{"summary":"Unban a Minecraft IP address","description":"Removes an IP ban. Provide an IP address returned by the Minecraft bans list.","operationId":"unbanMinecraftPlayerIp","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"playerName","in":"path","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"ip_unbanned","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/kick":{"post":{"summary":"Kick a Minecraft player","description":"Kicks the selected player from the server.","operationId":"kickMinecraftPlayer","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"player_name","in":"query","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"player_kicked","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/kill":{"post":{"summary":"Kill a Minecraft player","description":"Kills the selected online player.","operationId":"killMinecraftPlayer","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"player_name","in":"query","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"player_killed","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/players/wipe":{"post":{"summary":"Wipe Minecraft player data","description":"Deletes the selected player data while the server is stopped.","operationId":"wipeMinecraftPlayer","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"player_name","in":"query","required":true,"description":"Minecraft player name, or an IPv4 address for an IP-ban action. Adding a Bedrock operator requires an XUID.","schema":{"type":"string","minLength":1,"maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$"},"example":"PLAYER_NAME"}],"responses":{"202":{"description":"Minecraft player action accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPlayerActionEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","action":"player_wiped","player_name":"Alex"}}}}},"400":{"description":"Invalid player name","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/status":{"get":{"summary":"Get Minecraft server status","operationId":"getMinecraftServiceStatus","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft runtime status","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeStatusEnvelope"},"example":{"data":{"runtime_status":"started","checked_at":"2026-07-15T12:00:00Z","allowed_actions":["stop","restart"]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the Minecraft server status."}},"/services/minecraft/{serverId}/metrics":{"get":{"summary":"Get Minecraft server metrics","description":"Minecraft player counts, CPU and memory usage, and total disk usage in bytes. Raw CPU usage is a percentage where 100 represents one logical CPU core and values can exceed 100. The response also provides the CPU value and memory capacity used by BoxToPlay interfaces. Memory usage and its display capacity are expressed in megabytes.","operationId":"getMinecraftServiceMetrics","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft metrics","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftMetricsEnvelope"},"example":{"data":{"checked_at":"2026-07-14T12:00:00Z","cpu_usage_percent":65,"disk_used_bytes":5368709120,"display_cpu_usage_percent":42,"display_memory_limit_mb":6144,"memory_usage_mb":2048,"players_max":3,"players_online":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Metric collection failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/metrics/history":{"get":{"summary":"Get Minecraft server metrics history","description":"Returns chronological Minecraft player, CPU, memory, network, disk I/O and storage samples for the selected period. Each sample contains only the measurements available for its interval; history is an empty array when no samples are available. CPU usage is reported as a percentage where 100 represents one logical CPU core, so values can exceed 100. Memory and storage values are in bytes. Network and disk I/O values are in bytes per second. Disk I/O measures activity, not disk space usage.","operationId":"getMinecraftServiceMetricsHistory","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"timeframe","in":"query","required":false,"description":"Period ending at the current time: hour (1 hour), day (24 hours), week (7 days), month (30 days), or year (365 days). Defaults to hour.","schema":{"type":"string","enum":["hour","day","week","month","year"],"default":"hour"},"example":"hour"}],"responses":{"200":{"description":"Minecraft metrics history","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftMetricsHistoryEnvelope"},"example":{"data":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid timeframe","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Metric history could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/health":{"get":{"summary":"Get Minecraft server health","description":"Returns the current health information for a Minecraft server.","operationId":"getMinecraftServiceHealth","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft server health","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftHealthEnvelope"},"example":{"data":{"checked_at":"2026-07-14T12:00:00Z","default_map":"world","healthy":true,"server_log_issue_count":3,"viewer_map_issue_count":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Health information is unavailable","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/runtime":{"get":{"summary":"Get Minecraft launch runtime","description":"Checks whether the Minecraft server is ready to start and returns the launch file selected by its current configuration. This endpoint does not start or modify the server.","operationId":"getMinecraftRuntimePreflight","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft launch runtime","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftRuntimeEnvelope"},"example":{"data":{"checked_at":"2026-07-14T12:00:00Z","issue":"none","launch_candidate_count":3,"launch_mode":"jar","launch_ready":true,"openmod_artifact_relative_path":"server.properties","openmod_configured":true,"openmod_selection_valid":true,"selected_artifact_location":"root","selected_artifact_name":"Example server","selected_artifact_relative_path":"server.properties"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Launch runtime information is unavailable","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/icon":{"get":{"summary":"Get Minecraft server icon","description":"Returns the current custom 64x64 PNG server icon for this Minecraft server. Send If-None-Match with a previously received ETag to reuse an unchanged icon. A successful request with no custom icon returns no body.","operationId":"getMinecraftServiceIcon","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"If-None-Match","in":"header","required":false,"description":"Return 304 when the current server icon ETag is already known. Accepts a list of ETags or *.","schema":{"type":"string"}}],"responses":{"200":{"description":"Minecraft server icon","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"ETag":{"$ref":"#/components/headers/ETag"},"Content-Length":{"$ref":"#/components/headers/ContentLength"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"204":{"description":"No custom server icon is currently available.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}}},"304":{"description":"The current server icon matches If-None-Match.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"ETag":{"$ref":"#/components/headers/ETag"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Server icon could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/activity":{"get":{"summary":"List Minecraft activity history","description":"Returns a paginated activity history in reverse chronological order.","operationId":"listMinecraftServiceActivity","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of activity entries to return.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page. Reuse it with the same limit.","schema":{"type":"string","maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$"}}],"responses":{"200":{"description":"Minecraft activity history","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftActivityListEnvelope"},"example":{"data":{"activities":[{"action":"start","occurred_at":"2026-07-14T12:00:00Z"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid pagination parameters","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Activity history could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/worlds":{"get":{"summary":"List Minecraft worlds","description":"Returns the worlds available on this server with their active state and human-readable disk usage.","operationId":"listMinecraftWorlds","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of worlds to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in world names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"world"}],"responses":{"200":{"description":"Minecraft world list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftWorldListEnvelope"},"example":{"data":{"items":[{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]},"post":{"summary":"Create a Minecraft world","description":"Configures a new world for the next Minecraft server start. Restart the server after this request to generate and use the world. Official Bedrock and PocketMine servers accept only the name field.","operationId":"createMinecraftWorld","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftWorldCreateRequest"},"example":{"name":"adventure"}}}},"responses":{"202":{"description":"Minecraft world creation accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/minecraft/btp_2fa3119e169653545530267a34d5adf0/worlds"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]},"delete":{"summary":"Delete a Minecraft world","description":"Deletes a non-active Minecraft world. Stop the server before requesting deletion.","operationId":"deleteMinecraftWorld","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"world_id","in":"query","required":true,"description":"Minecraft world identifier returned by the world list endpoint.","schema":{"type":"string"},"example":"WORLD_ID"}],"responses":{"200":{"description":"Minecraft world deleted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/minecraft/btp_2fa3119e169653545530267a34d5adf0/worlds"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/worlds/keep-current":{"post":{"summary":"Create a Minecraft world and keep the current world active","description":"Generates a new world, restores the currently active world and starts the server again. Official Bedrock and PocketMine servers accept only the name field.","operationId":"createMinecraftWorldAndKeepCurrent","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftWorldKeepCurrentRequest"},"example":{"name":"adventure"}}}},"responses":{"202":{"description":"Minecraft world creation job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"world_create_keep_current","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/worlds/activate":{"post":{"summary":"Activate a Minecraft world","description":"Selects a listed Minecraft world for the next server start. Restart the server after this request to apply the selected world.","operationId":"activateMinecraftWorld","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"world_id","in":"query","required":true,"description":"Minecraft world identifier returned by the world list endpoint.","schema":{"type":"string"},"example":"WORLD_ID"}],"responses":{"202":{"description":"Minecraft world activation accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/minecraft/btp_2fa3119e169653545530267a34d5adf0/worlds"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/worlds/install":{"post":{"summary":"Install a Minecraft world","description":"Installs the selected world and selects it for the next server start.","operationId":"installMinecraftWorld","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"world_id","in":"query","required":true,"description":"BoxToPlay world id returned by GET /services/minecraft/worlds/catalog.","schema":{"type":"string"},"example":"world_id"}],"responses":{"200":{"description":"Minecraft world installation completed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftWorldInstallEnvelope"},"example":{"data":{"status":"completed","world":{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid world_id","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/logs/files":{"get":{"summary":"List Minecraft log files","description":"Returns a paginated list of log files. Use each returned file id with the log file endpoints.","operationId":"listMinecraftLogFiles","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of files to return.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":8192}},{"name":"query","in":"query","required":false,"description":"Text to find in log file names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"latest.log"}],"responses":{"200":{"description":"Minecraft log file list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogFileListEnvelope"},"example":{"data":{"files":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Log data could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/logs/files/{fileHandle}":{"get":{"summary":"Get a Minecraft log file","description":"Returns the most recent chronological lines from the selected log file.","operationId":"getMinecraftLogFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"fileHandle","in":"path","required":true,"description":"Log file identifier returned by the log file list endpoint.","schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$"},"example":"LOG_FILE_HANDLE"},{"name":"limit","in":"query","required":false,"description":"Maximum number of lines to return.","schema":{"type":"integer","minimum":1,"maximum":2000,"default":1000}}],"responses":{"200":{"description":"Minecraft log file content","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogContentEnvelope"},"example":{"data":{"lines":["[12:00:00 INFO]: Server started"],"truncated":true},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Log data could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/logs/files/{fileHandle}/lines":{"get":{"summary":"Get Minecraft log file lines","description":"Returns an inclusive chronological line window from the selected log file. Line numbering starts at 1.","operationId":"getMinecraftLogFileLines","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"fileHandle","in":"path","required":true,"description":"Log file identifier returned by the log file list endpoint.","schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$"},"example":"LOG_FILE_HANDLE"},{"name":"start_line","in":"query","required":true,"description":"First 1-based line number to return.","schema":{"type":"integer","format":"int64","minimum":1,"maximum":1000000}},{"name":"end_line","in":"query","required":true,"description":"Last 1-based line number to return, inclusive. The requested window cannot exceed 400 lines.","schema":{"type":"integer","format":"int64","minimum":1,"maximum":1000000}}],"responses":{"200":{"description":"Minecraft log file line window","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogRangeEnvelope"},"example":{"data":{"end_line":42,"has_more":true,"lines":["[12:00:00 INFO]: Server started"],"next_start_line":42,"start_line":42,"truncated":true},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Log data could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/logs/live":{"get":{"summary":"Get Minecraft live logs","description":"Returns recent live log lines in chronological order. Omit cursor for the initial result, then use next_cursor to continue.","operationId":"getMinecraftLiveLogs","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous live-log response.","schema":{"type":"string","maxLength":8192}}],"responses":{"200":{"description":"Minecraft live log chunk","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveLogEnvelope"},"example":{"data":{"has_more":true,"lines":["[12:00:00 INFO]: Server started"],"next_cursor":"pg_example123","reset":true,"truncated":true},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Log stream unavailable","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Log data could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/ftp/accounts":{"get":{"summary":"List Minecraft FTP accounts","description":"Returns the FTP accounts and available access values for this server.","operationId":"listMinecraftFtpAccounts","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of accounts to return.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in FTP usernames.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"ftp-user"}],"responses":{"200":{"description":"FTP account list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FtpAccountListEnvelope"},"example":{"data":{"accounts":[{"access":"/","id":"resource_example123","username":"Example server"}],"available_access":["/","plugins"],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]},"post":{"summary":"Create a Minecraft FTP account","description":"Creates an FTP account for this server. A server can have up to 10 FTP accounts.","operationId":"createMinecraftFtpAccount","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["username","password","access"],"properties":{"password":{"type":"string","minLength":6,"maxLength":128,"pattern":"^(?=.*[0-9])[A-Za-z0-9]+$","writeOnly":true,"description":"Password to set for the account or service.","example":"ExamplePassword123"},"access":{"type":"string","minLength":1,"maxLength":256,"example":"/","description":"Access of this resource."},"username":{"type":"string","minLength":1,"maxLength":32,"pattern":"^[A-Za-z0-9]+$","description":"Username used to access the account or service.","example":"Developer1"}}},"example":{"password":"ExamplePassword123","access":"/","username":"Developer1"}}}},"responses":{"201":{"description":"FTP account created","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FtpAccountEnvelope"},"example":{"data":{"access":"/","id":"resource_example123","username":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/ftp/accounts/{accountId}":{"get":{"summary":"Get a Minecraft FTP account","operationId":"getMinecraftFtpAccount","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"accountId","in":"path","required":true,"description":"FTP account identifier returned by the account list endpoint.","schema":{"type":"string"},"example":"FTP_ACCOUNT_ID"}],"responses":{"200":{"description":"FTP account","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FtpAccountEnvelope"},"example":{"data":{"access":"/","id":"resource_example123","username":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns a Minecraft FTP account."},"put":{"summary":"Update a Minecraft FTP account","description":"Updates the account password and access value.","operationId":"updateMinecraftFtpAccount","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"accountId","in":"path","required":true,"description":"FTP account identifier returned by the account list endpoint.","schema":{"type":"string"},"example":"FTP_ACCOUNT_ID"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["password","access"],"properties":{"password":{"type":"string","minLength":6,"maxLength":128,"pattern":"^(?=.*[0-9])[A-Za-z0-9]+$","writeOnly":true,"description":"Password to set for the account or service.","example":"ExamplePassword123"},"access":{"type":"string","minLength":1,"maxLength":256,"example":"/","description":"Access of this resource."}}},"example":{"password":"ExamplePassword123","access":"/"}}}},"responses":{"200":{"description":"FTP account updated","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FtpAccountEnvelope"},"example":{"data":{"access":"/","id":"resource_example123","username":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]},"delete":{"summary":"Delete a Minecraft FTP account","operationId":"deleteMinecraftFtpAccount","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"accountId","in":"path","required":true,"description":"FTP account identifier returned by the account list endpoint.","schema":{"type":"string"},"example":"FTP_ACCOUNT_ID"}],"responses":{"200":{"description":"FTP account deleted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FtpAccountEnvelope"},"example":{"data":{"access":"/","id":"resource_example123","username":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Delete a Minecraft FTP account. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/tasks":{"get":{"summary":"List Minecraft automation tasks","operationId":"listMinecraftScheduledTasks","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of tasks to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"status","in":"query","required":false,"description":"Filters tasks by current status.","schema":{"type":"string","enum":["active","paused","completed"]}},{"name":"mode","in":"query","required":false,"description":"Filters tasks by automation mode.","schema":{"type":"string","enum":["schedule","condition"]}},{"name":"recurring","in":"query","required":false,"description":"Filters tasks by recurrence.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Minecraft automation task list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","tasks":[{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"description":"Returns automation task timing, condition configuration and current status.","tags":["Minecraft"]},"post":{"summary":"Create a Minecraft automation task","operationId":"createMinecraftScheduledTask","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"201":{"description":"Minecraft automation task","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskEnvelope"},"example":{"data":{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskCreateRequest"},"example":{"mode":"schedule","command":"save-all","recurring":true,"starts_at":"2030-06-15T12:00:00+02:00","interval_value":1,"interval_unit":"days","active_hours_start":"00:00","active_hours_end":"23:59","excluded_weekdays":[]}}}},"description":"Creates a calendar or condition-based automation task. A Minecraft server can have up to 25 automation tasks.","tags":["Minecraft"]}},"/services/minecraft/{serverId}/tasks/{taskId}":{"get":{"summary":"Get a Minecraft automation task","operationId":"getMinecraftScheduledTask","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"taskId","in":"path","required":true,"description":"Automation task identifier returned by the task list endpoint.","schema":{"type":"string"},"example":"TASK_ID"}],"responses":{"200":{"description":"Minecraft automation task","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskEnvelope"},"example":{"data":{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"description":"Returns automation task timing, condition configuration and current status.","tags":["Minecraft"]},"patch":{"summary":"Update a Minecraft automation task","operationId":"updateMinecraftScheduledTask","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"taskId","in":"path","required":true,"description":"Automation task identifier returned by the task list endpoint.","schema":{"type":"string"},"example":"TASK_ID"}],"responses":{"200":{"description":"Minecraft automation task","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskEnvelope"},"example":{"data":{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskUpdateRequest"},"example":{"status":"paused"}}}},"description":"Updates an automation task. mode cannot be changed after creation. Provide at least one property.","tags":["Minecraft"]},"delete":{"summary":"Delete a Minecraft automation task","operationId":"deleteMinecraftScheduledTask","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"taskId","in":"path","required":true,"description":"Automation task identifier returned by the task list endpoint.","schema":{"type":"string"},"example":"TASK_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Delete a Minecraft automation task. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/tasks/preview/executions":{"post":{"summary":"Preview upcoming Minecraft automation task executions","operationId":"previewMinecraftScheduledTask","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of execution times to return.","schema":{"type":"integer","minimum":1,"maximum":20}}],"responses":{"200":{"description":"Minecraft automation task execution preview","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskPreviewEnvelope"},"example":{"data":{"executions":["2030-06-15T12:00:00+02:00","2030-06-16T12:00:00+02:00"],"schedule_timezone":"Europe/Paris"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskCreateRequest"},"example":{"mode":"schedule","command":"save-all","recurring":true,"starts_at":"2030-06-15T12:00:00+02:00","interval_value":1,"interval_unit":"days","active_hours_start":"00:00","active_hours_end":"23:59","excluded_weekdays":[]}}}},"description":"Previews upcoming calendar executions for a proposed automation task. Condition tasks do not produce a calendar preview.","tags":["Minecraft"]}},"/services/minecraft/{serverId}/backups":{"get":{"summary":"List Minecraft backups","operationId":"listMinecraftBackups","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of backups to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in backup names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Backup"},{"name":"kind","in":"query","required":false,"description":"Filters backups by kind.","schema":{"type":"string","enum":["automatic","manual","legacy"]}}],"responses":{"200":{"description":"Minecraft backup list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftBackupListEnvelope"},"example":{"data":{"backups":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","kind":"automatic","name":"Example server","size_bytes":42}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the Minecraft backups."},"post":{"summary":"Create a Minecraft backup","operationId":"createMinecraftBackup","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"name","in":"query","required":false,"description":"Optional backup name.","schema":{"type":"string"}}],"responses":{"202":{"description":"Minecraft backup job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"backup_create","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Manual backup capacity reached or backup creation unavailable","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"A Minecraft server can have up to 5 manual backups. Automatic backups do not count toward this total. Delete an existing manual backup before creating another one when this capacity is reached.","tags":["Minecraft"]}},"/services/minecraft/{serverId}/backups/{backupId}":{"delete":{"summary":"Delete a manual Minecraft backup","operationId":"deleteMinecraftBackup","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"backupId","in":"path","required":true,"description":"Backup id returned by the matching backup list endpoint.","schema":{"type":"string"},"example":"BACKUP_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Delete a manual Minecraft backup. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/backups/{backupId}/restore":{"post":{"summary":"Restore a Minecraft backup","operationId":"restoreMinecraftBackup","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"backupId","in":"path","required":true,"description":"Backup id returned by the matching backup list endpoint.","schema":{"type":"string"},"example":"BACKUP_ID"}],"responses":{"202":{"description":"Minecraft backup restoration job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"backup_restore","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Restore a Minecraft backup. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/backups/{backupId}/download":{"post":{"summary":"Prepare a Minecraft backup download","operationId":"downloadMinecraftBackup","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"backupId","in":"path","required":true,"description":"Backup id returned by the matching backup list endpoint.","schema":{"type":"string"},"example":"BACKUP_ID"}],"responses":{"202":{"description":"Minecraft backup download job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"backup_download","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Prepare a Minecraft backup download. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/files/archives":{"get":{"summary":"List Minecraft ZIP archives","operationId":"listMinecraftArchives","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of archives to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in archive names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"backup.zip"}],"responses":{"200":{"description":"Minecraft ZIP archive list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftArchiveListEnvelope"},"example":{"data":{"archives":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the Minecraft ZIP archives."}},"/services/minecraft/{serverId}/files/archives/{archiveId}/extract":{"post":{"summary":"Extract a Minecraft ZIP archive","operationId":"extractMinecraftArchive","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"archiveId","in":"path","required":true,"description":"Archive identifier returned by the archive list.","schema":{"type":"string"},"example":"ARCHIVE_ID"}],"responses":{"202":{"description":"Minecraft archive extraction job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"archive_extract","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Extract a Minecraft ZIP archive. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/files/entries":{"get":{"summary":"List Minecraft file entries","operationId":"listMinecraftFileEntries","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"directory_id","in":"query","required":false,"description":"Identifier of the folder to list. Use an id returned by the file and folder list, or omit this parameter for the service root.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"}},{"name":"limit","in":"query","required":false,"description":"Maximum number of entries to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in file and directory names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"forge-installer.jar"},{"name":"type","in":"query","required":false,"description":"Filters entries by type.","schema":{"type":"string","enum":["file","directory"]}}],"responses":{"200":{"description":"Minecraft file entry list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileEntryListEnvelope"},"example":{"data":{"directory_id":"resource_example123","entries":[{"id":"resource_example123","name":"Example server","size":0,"type":"file"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the Minecraft file entries."},"delete":{"summary":"Delete a Minecraft file entry","operationId":"deleteMinecraftFileEntry","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"id","in":"query","required":true,"description":"Identifier of the file or folder. Use an id returned by the file and folder list.","schema":{"type":"string"},"example":"ENTRY_ID"}],"responses":{"200":{"description":"Minecraft file or folder result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileEntryMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Entry changed or a directory is not empty","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Deletes the selected file or empty folder. Folder deletion is not recursive.","tags":["Minecraft"]}},"/services/minecraft/{serverId}/files/entries/copy":{"post":{"summary":"Copy a Minecraft file","operationId":"copyMinecraftFileEntry","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"201":{"description":"Minecraft file copy result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileEntryMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Source or destination changed, or the destination already exists","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Copies a file up to 128 MiB. The request fails if the destination already exists. Omit destination_directory_id to copy to the service root.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["id","new_name"],"properties":{"id":{"type":"string","description":"Identifier of the file to copy. Use an id returned by the file and folder list.","example":"ENTRY_ID"},"destination_directory_id":{"type":"string","description":"Identifier of the destination folder. Use an id returned by the file and folder list, or omit this field for the service root.","example":"DIRECTORY_ID"},"new_name":{"type":"string","minLength":1,"maxLength":255,"description":"Name of the copied file.","example":"forge-installer-copy.jar"}}},"example":{"id":"ENTRY_ID","destination_directory_id":"DIRECTORY_ID","new_name":"forge-installer-copy.jar"}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/files/entries/move":{"post":{"summary":"Move or rename a Minecraft file entry","operationId":"moveMinecraftFileEntry","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft file or folder move result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileEntryMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Source or destination changed, or the destination already exists","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Moves or renames a file or folder. The request fails if the destination already exists. Omit destination_directory_id for the service root and omit new_name to keep the current name.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["id"],"properties":{"id":{"type":"string","description":"Identifier of the file or folder to move. Use an id returned by the file and folder list.","example":"ENTRY_ID"},"destination_directory_id":{"type":"string","description":"Identifier of the destination folder. Use an id returned by the file and folder list, or omit this field for the service root.","example":"DIRECTORY_ID"},"new_name":{"type":"string","minLength":1,"maxLength":255,"description":"Optional new name for the file or folder.","example":"renamed.jar"}}},"example":{"id":"ENTRY_ID","destination_directory_id":"DIRECTORY_ID","new_name":"renamed.jar"}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/files/text":{"get":{"summary":"List editable Minecraft files","operationId":"listMinecraftEditableFiles","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"directory_id","in":"query","required":false,"description":"Identifier of the folder to list. Use an id returned by the editable file list, or omit this parameter for the service root.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"}},{"name":"limit","in":"query","required":false,"description":"Maximum number of entries to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in file and directory names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"config.yml"},{"name":"type","in":"query","required":false,"description":"Filters entries by type.","schema":{"type":"string","enum":["file","directory"]}}],"responses":{"200":{"description":"Minecraft editable file list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileListEnvelope"},"example":{"data":{"directory_id":"resource_example123","entries":[{"id":"resource_example123","name":"Example server","size":42,"type":"file"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the editable Minecraft files."},"post":{"summary":"Create an editable Minecraft file or directory","operationId":"createMinecraftEditableFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"201":{"description":"Minecraft file or folder creation result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Destination changed or an entry with the requested name already exists","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Creates a new text configuration file or folder. The request fails if an entry with the same name already exists. Omit directory_id to use the service root.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["name","type"],"properties":{"directory_id":{"type":"string","description":"Identifier of the destination folder. Use an id returned by the editable file list, or omit this field for the service root.","example":"DIRECTORY_ID"},"name":{"type":"string","minLength":1,"maxLength":255,"description":"Name of the new file or folder.","example":"config.yml"},"type":{"type":"string","enum":["file","directory"],"description":"Entry type to create.","example":"file"},"content":{"type":"string","maxLength":2000000,"description":"Initial UTF-8 text content for a file. Omit or use an empty value for a directory.","example":"enabled: true"}}},"example":{"directory_id":"DIRECTORY_ID","name":"config.yml","type":"file","content":"enabled: true"}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/files/text/content":{"get":{"summary":"Get an editable Minecraft file","operationId":"readMinecraftEditableFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"file_id","in":"query","required":true,"description":"Identifier of the editable file. Use an id returned by the editable file list or a previous editable file response.","schema":{"type":"string"},"example":"FILE_ID"}],"responses":{"200":{"description":"Minecraft file content","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileContentEnvelope"},"example":{"data":{"content":"motd=Welcome to the server","end_line":42,"id":"resource_example123","size":42,"start_line":42,"total_lines":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns an editable Minecraft file."},"put":{"summary":"Replace an editable Minecraft file","operationId":"replaceMinecraftEditableFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft file write result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileWriteResultEnvelope"},"example":{"data":{"id":"resource_example123","size":42,"status":"completed","total_lines":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"File changed and must be read again before editing","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.file.edit_conflict","message":"File changed after it was read. Read it again before editing."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["file_id","content"],"properties":{"file_id":{"type":"string","description":"Identifier of the editable file. Use an id returned by the editable file list or a previous editable file response.","example":"FILE_ID"},"content":{"type":"string","maxLength":2000000,"description":"New file content.","example":"YOUR_FILE_CONTENT"}}},"example":{"file_id":"FILE_ID","content":"YOUR_FILE_CONTENT"}}}},"tags":["Minecraft"],"description":"Replace an editable Minecraft file. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/files/text/lines":{"get":{"summary":"Get editable Minecraft file lines","operationId":"readMinecraftEditableFileLines","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"file_id","in":"query","required":true,"description":"Identifier of the editable file. Use an id returned by the editable file list or a previous editable file response.","schema":{"type":"string"},"example":"FILE_ID"},{"name":"start_line","in":"query","required":true,"description":"First line to read, using one-based numbering.","schema":{"type":"integer","minimum":1,"maximum":2147483647}},{"name":"end_line","in":"query","required":true,"description":"Last line to read, using one-based numbering.","schema":{"type":"integer","minimum":1,"maximum":2147483647}}],"responses":{"200":{"description":"Minecraft file content","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileContentEnvelope"},"example":{"data":{"content":"motd=Welcome to the server","end_line":42,"id":"resource_example123","size":42,"start_line":42,"total_lines":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the editable Minecraft file lines."},"put":{"summary":"Replace editable Minecraft file lines","operationId":"replaceMinecraftEditableFileLines","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft file write result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileWriteResultEnvelope"},"example":{"data":{"id":"resource_example123","size":42,"status":"completed","total_lines":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"File changed and must be read again before editing","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.file.edit_conflict","message":"File changed after it was read. Read it again before editing."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["file_id","start_line","end_line","replacement"],"properties":{"file_id":{"type":"string","description":"Identifier of the editable file. Use an id returned by the editable file list or a previous editable file response.","example":"FILE_ID"},"start_line":{"type":"integer","minimum":1,"description":"First line to replace, using one-based numbering.","example":1},"end_line":{"type":"integer","minimum":1,"description":"Last line to replace, using one-based numbering.","example":1},"replacement":{"type":"string","maxLength":2000000,"description":"Replacement text. An empty value removes the selected lines.","example":"YOUR_REPLACEMENT_TEXT"}}},"example":{"file_id":"FILE_ID","start_line":1,"end_line":1,"replacement":"YOUR_REPLACEMENT_TEXT"}}}},"tags":["Minecraft"],"description":"Replace editable Minecraft file lines. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/files/text/entry":{"delete":{"summary":"Delete an editable Minecraft file or empty directory","operationId":"deleteMinecraftEditableFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"id","in":"query","required":true,"description":"Identifier of the editable file or folder to delete. Use an id returned by the editable file list.","schema":{"type":"string"},"example":"ENTRY_ID"}],"responses":{"200":{"description":"Minecraft file or folder deletion result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Entry changed and must be listed again before deletion","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Deletes the selected editable file or empty folder. Folder deletion is not recursive.","tags":["Minecraft"]}},"/services/minecraft/{serverId}/files/text/move":{"post":{"summary":"Move or rename an editable Minecraft file or directory","operationId":"moveMinecraftEditableFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft file or folder move result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Entry changed and must be listed again before moving","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Moves or renames an editable file or folder. The request fails if the destination already exists. Omit destination_directory_id for the service root and omit new_name to keep the current name. A folder can be moved only when it contains editable text files and folders.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["id"],"properties":{"id":{"type":"string","description":"Identifier of the editable file or folder to move. Use an id returned by the editable file list.","example":"ENTRY_ID"},"destination_directory_id":{"type":"string","description":"Identifier of the destination folder. Use an id returned by the editable file list, or omit this field for the service root.","example":"DIRECTORY_ID"},"new_name":{"type":"string","minLength":1,"maxLength":255,"description":"Optional new name for the file or folder.","example":"config.disabled.yml"}}},"example":{"id":"ENTRY_ID","destination_directory_id":"DIRECTORY_ID","new_name":"config.disabled.yml"}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/co-admins":{"get":{"summary":"List Minecraft co-administrators","operationId":"listMinecraftCoAdmins","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of co-administrators to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in co-administrator emails.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"co-admin@example.com"}],"responses":{"200":{"description":"Minecraft co-administrator list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftCoAdminListEnvelope"},"example":{"data":{"co_admins":[{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the Minecraft co-administrators."},"post":{"summary":"Add a Minecraft co-administrator","operationId":"addMinecraftCoAdmin","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"201":{"description":"Minecraft co-administrator","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftCoAdminEnvelope"},"example":{"data":{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftCoAdminCreateRequest"},"example":{"email":"co-admin@example.com"}}}},"description":"Adds a co-administrator. A Minecraft server can have up to 10 co-administrators.","tags":["Minecraft"]}},"/services/minecraft/{serverId}/co-admins/catalog/access":{"get":{"summary":"List available Minecraft co-administrator access","operationId":"listMinecraftCoAdminAccess","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Available Minecraft co-administrator access","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftCoAdminAccessEnvelope"},"example":{"data":{"access":["overview","files.read"]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the available Minecraft co-administrator access."}},"/services/minecraft/{serverId}/co-admins/{coAdminId}":{"get":{"summary":"Get a Minecraft co-administrator","operationId":"getMinecraftCoAdmin","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"coAdminId","in":"path","required":true,"description":"Co-administrator id returned by the matching list.","schema":{"type":"string"},"example":"CO_ADMIN_ID"}],"responses":{"200":{"description":"Minecraft co-administrator","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftCoAdminEnvelope"},"example":{"data":{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns a Minecraft co-administrator."},"put":{"summary":"Replace Minecraft co-administrator access","operationId":"updateMinecraftCoAdminAccess","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"coAdminId","in":"path","required":true,"description":"Co-administrator id returned by the matching list.","schema":{"type":"string"},"example":"CO_ADMIN_ID"}],"responses":{"200":{"description":"Minecraft co-administrator","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftCoAdminEnvelope"},"example":{"data":{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftCoAdminAccessUpdateRequest"},"example":{"access":["overview","files.read"]}}}},"tags":["Minecraft"],"description":"Replace Minecraft co-administrator access. A successful response includes the updated resource or operation status."},"delete":{"summary":"Remove a Minecraft co-administrator","operationId":"deleteMinecraftCoAdmin","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"coAdminId","in":"path","required":true,"description":"Co-administrator id returned by the matching list.","schema":{"type":"string"},"example":"CO_ADMIN_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Remove a Minecraft co-administrator. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/ports":{"get":{"summary":"List Minecraft reserved ports","operationId":"listMinecraftPorts","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of ports to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in port numbers and labels.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"25566"}],"responses":{"200":{"description":"Minecraft reserved port list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPortListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","ports":[{"description":"Example description","id":"resource_example123","port":25565}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the Minecraft reserved ports."},"post":{"summary":"Reserve a Minecraft port","operationId":"createMinecraftPort","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"201":{"description":"Minecraft reserved port","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPortEnvelope"},"example":{"data":{"description":"Example description","id":"resource_example123","port":25565},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Reserved port capacity reached","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"A Minecraft server can have up to 20 reserved personal ports at a time. Release an existing port before reserving another one when this capacity is reached.","tags":["Minecraft"]}},"/services/minecraft/{serverId}/ports/{portId}":{"put":{"summary":"Update a Minecraft port label","operationId":"updateMinecraftPort","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"portId","in":"path","required":true,"description":"Port id returned by the matching port list endpoint.","schema":{"type":"string"},"example":"PORT_ID"},{"name":"description","in":"query","required":true,"description":"New port label. An empty value clears it.","schema":{"type":"string"},"example":"PORT_DESCRIPTION"}],"responses":{"200":{"description":"Minecraft reserved port","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPortEnvelope"},"example":{"data":{"description":"Example description","id":"resource_example123","port":25565},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Update a Minecraft port label. A successful response includes the updated resource or operation status."},"delete":{"summary":"Release a Minecraft port","operationId":"deleteMinecraftPort","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"portId","in":"path","required":true,"description":"Port id returned by the matching port list endpoint.","schema":{"type":"string"},"example":"PORT_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Release a Minecraft port. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/mods/installed":{"get":{"summary":"List installed Minecraft mods","operationId":"listMinecraftInstalledMods","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of mods to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in installed mods names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Mod"},{"name":"enabled","in":"query","required":false,"description":"Filters installed content by enabled state.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Installed Minecraft mods","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftInstalledContentListEnvelope"},"example":{"data":{"items":[{"enabled":true,"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the installed Minecraft mods."}},"/services/minecraft/{serverId}/mods/installed/{contentId}":{"delete":{"summary":"Delete an installed Minecraft mod","operationId":"deleteMinecraftInstalledMod","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"contentId","in":"path","required":true,"description":"Installed content identifier returned by the matching list endpoint.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"CONTENT_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Delete an installed Minecraft mod. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/mods/installed/{contentId}/enable":{"post":{"summary":"Enable an installed Minecraft mod","operationId":"enableMinecraftInstalledMod","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"contentId","in":"path","required":true,"description":"Installed content identifier returned by the matching list endpoint.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"CONTENT_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Enable an installed Minecraft mod. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/mods/installed/{contentId}/disable":{"post":{"summary":"Disable an installed Minecraft mod","operationId":"disableMinecraftInstalledMod","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"contentId","in":"path","required":true,"description":"Installed content identifier returned by the matching list endpoint.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"CONTENT_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Disable an installed Minecraft mod. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/plugins/installed":{"get":{"summary":"List installed Minecraft plugins","operationId":"listMinecraftInstalledPlugins","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of plugins to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in installed plugins names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Plugin"},{"name":"enabled","in":"query","required":false,"description":"Filters installed content by enabled state.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Installed Minecraft plugins","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftInstalledContentListEnvelope"},"example":{"data":{"items":[{"enabled":true,"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the installed Minecraft plugins."}},"/services/minecraft/{serverId}/plugins/installed/{contentId}":{"delete":{"summary":"Delete an installed Minecraft plugin","operationId":"deleteMinecraftInstalledPlugin","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"contentId","in":"path","required":true,"description":"Installed content identifier returned by the matching list endpoint.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"CONTENT_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Delete an installed Minecraft plugin. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/plugins/installed/{contentId}/enable":{"post":{"summary":"Enable an installed Minecraft plugin","operationId":"enableMinecraftInstalledPlugin","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"contentId","in":"path","required":true,"description":"Installed content identifier returned by the matching list endpoint.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"CONTENT_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Enable an installed Minecraft plugin. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/plugins/installed/{contentId}/disable":{"post":{"summary":"Disable an installed Minecraft plugin","operationId":"disableMinecraftInstalledPlugin","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"contentId","in":"path","required":true,"description":"Installed content identifier returned by the matching list endpoint.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"CONTENT_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Disable an installed Minecraft plugin. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/datapacks/worlds":{"get":{"summary":"List Minecraft datapack worlds","operationId":"listMinecraftDatapackWorlds","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of world names to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in world names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"world"}],"responses":{"200":{"description":"Minecraft datapack world names","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftDatapackWorldListEnvelope"},"example":{"data":{"items":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the Minecraft datapack worlds."}},"/services/minecraft/{serverId}/datapacks/installed":{"get":{"summary":"List installed Minecraft datapacks","operationId":"listMinecraftInstalledDatapacks","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"world_id","in":"query","required":true,"description":"World identifier returned by the datapack world list.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"WORLD_ID"},{"name":"limit","in":"query","required":false,"description":"Maximum number of datapacks to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in installed datapack names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Datapack"},{"name":"enabled","in":"query","required":false,"description":"Filters installed datapacks by enabled state.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Installed Minecraft datapacks","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftInstalledContentListEnvelope"},"example":{"data":{"items":[{"enabled":true,"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the installed Minecraft datapacks."}},"/services/minecraft/{serverId}/datapacks/installed/{contentId}":{"delete":{"summary":"Delete an installed Minecraft datapack","operationId":"deleteMinecraftInstalledDatapack","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"contentId","in":"path","required":true,"description":"Installed content identifier returned by the matching list endpoint.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"CONTENT_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Delete an installed Minecraft datapack. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/datapacks/installed/{contentId}/enable":{"post":{"summary":"Enable an installed Minecraft datapack","operationId":"enableMinecraftInstalledDatapack","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"contentId","in":"path","required":true,"description":"Installed content identifier returned by the matching list endpoint.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"CONTENT_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Enable an installed Minecraft datapack. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/datapacks/installed/{contentId}/disable":{"post":{"summary":"Disable an installed Minecraft datapack","operationId":"disableMinecraftInstalledDatapack","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"contentId","in":"path","required":true,"description":"Installed content identifier returned by the matching list endpoint.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"CONTENT_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Disable an installed Minecraft datapack. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/bedrock-addons/installed":{"get":{"summary":"List installed Minecraft Bedrock add-ons","description":"Lists add-ons currently installed on an official Minecraft Bedrock server.","operationId":"listMinecraftInstalledBedrockAddons","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of installed Bedrock add-ons to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in installed add-on names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Furniture"},{"name":"enabled","in":"query","required":false,"description":"Filters installed add-ons by active state.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Installed Minecraft Bedrock add-ons","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftBedrockAddonInstalledListEnvelope"},"example":{"data":{"items":[{"active":true,"description":"Example description","id":"INSTALLED_BEDROCK_ADDON_ID","name":"Example server","pack_types":["behavior"],"version":[42]}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/bedrock-addons/install":{"post":{"summary":"Install a Minecraft Bedrock add-on","description":"Starts installation of the selected add-on version on an official Minecraft Bedrock server and returns a job.","operationId":"installMinecraftBedrockAddon","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftBedrockAddonInstallRequest"},"example":{"version_id":"btp_fedcba9876543210fedcba9876543210"}}}},"responses":{"202":{"description":"Minecraft Bedrock add-on installation job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"bedrock_addon_install","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/bedrock-addons/installed/{installedAddonId}":{"delete":{"summary":"Delete an installed Minecraft Bedrock add-on","description":"Starts deletion of the selected installed add-on and returns a job.","operationId":"deleteMinecraftInstalledBedrockAddon","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"installedAddonId","in":"path","required":true,"description":"Installed add-on id returned by the installed Minecraft Bedrock add-on list.","schema":{"type":"string","maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"INSTALLED_BEDROCK_ADDON_ID"}],"responses":{"202":{"description":"Minecraft Bedrock add-on deletion job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"bedrock_addon_delete","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/bedrock-addons/installed/{installedAddonId}/enable":{"post":{"summary":"Enable an installed Minecraft Bedrock add-on","description":"Enables the selected installed add-on and returns a job.","operationId":"enableMinecraftInstalledBedrockAddon","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"installedAddonId","in":"path","required":true,"description":"Installed add-on id returned by the installed Minecraft Bedrock add-on list.","schema":{"type":"string","maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"INSTALLED_BEDROCK_ADDON_ID"}],"responses":{"202":{"description":"Minecraft Bedrock add-on state job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"bedrock_addon_enable","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/bedrock-addons/installed/{installedAddonId}/disable":{"post":{"summary":"Disable an installed Minecraft Bedrock add-on","description":"Disables the selected installed add-on and returns a job.","operationId":"disableMinecraftInstalledBedrockAddon","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"installedAddonId","in":"path","required":true,"description":"Installed add-on id returned by the installed Minecraft Bedrock add-on list.","schema":{"type":"string","maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"},"example":"INSTALLED_BEDROCK_ADDON_ID"}],"responses":{"202":{"description":"Minecraft Bedrock add-on state job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"bedrock_addon_disable","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/console/commands":{"post":{"summary":"Send a Minecraft console command","operationId":"sendMinecraftConsoleCommand","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft console command result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftConsoleCommandResultEnvelope"},"example":{"data":{"status":"completed","output":"There are 0 of a max of 20 players online:","output_truncated":false},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Server is not running","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Sends one Minecraft console command to a running server and returns the response produced by the server.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftConsoleCommandRequest"},"example":{"command":"say Server maintenance starts soon"}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/viewer-hd":{"get":{"summary":"Get Viewer HD settings","operationId":"getMinecraftViewerHd","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Viewer HD settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftViewerHdEnvelope"},"example":{"data":{"available":true,"generating":true,"maps":[{"id":"resource_example123","name":"Example server"}],"selected_map_id":"resource_example123","selected_map_name":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Returns the Viewer HD settings."},"put":{"summary":"Select and save a Viewer HD map","operationId":"updateMinecraftViewerHd","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"selected_map_id","in":"query","required":true,"description":"Map identifier returned by Viewer HD settings or the world list.","schema":{"type":"string"},"example":"WORLD_ID"}],"responses":{"200":{"description":"Viewer HD settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftViewerHdEnvelope"},"example":{"data":{"available":true,"generating":true,"maps":[{"id":"resource_example123","name":"Example server"}],"selected_map_id":"resource_example123","selected_map_name":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Select and save a Viewer HD map. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/viewer-hd/generate":{"post":{"summary":"Generate Viewer HD","operationId":"generateMinecraftViewerHd","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"Viewer HD job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"viewer_hd_generate","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Generate Viewer HD. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/viewer-hd/reset":{"post":{"summary":"Reset Viewer HD","operationId":"resetMinecraftViewerHd","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"Viewer HD job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"viewer_hd_reset","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Reset Viewer HD. A successful response includes the updated resource or operation status."}},"/services/mysql-lite":{"get":{"summary":"List MySQL Lite services","description":"Returns the MySQL Lite services.","operationId":"listMySQLLiteServices","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"MySQL Lite service list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceListEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"services":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}],"next_cursor":null}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}}},"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of services to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in services.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"SERVER_NAME"}],"tags":["Lite services"]}},"/services/mysql-lite/{serviceId}":{"get":{"summary":"Get MySQL Lite service","operationId":"getMySQLLiteService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"MySQL Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Lite services"],"description":"Returns the MySQL Lite service."}},"/services/mysql-lite/{serviceId}/activate":{"post":{"summary":"Activate MySQL Lite","operationId":"activateMySQLLite","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Updated Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["password"],"properties":{"password":{"type":"string","minLength":6,"maxLength":128,"pattern":"^(?=.*[A-Za-z])(?=.*[0-9])[A-Za-z0-9][A-Za-z0-9._-]{5,127}$","description":"Password containing at least one letter and one number. Dots, underscores and hyphens are allowed.","writeOnly":true,"example":"Example.Password_123"}}},"example":{"password":"Example.Password_123"}}}},"tags":["Lite services"],"description":"Activate MySQL Lite. A successful response includes the updated resource or operation status."}},"/services/mysql-lite/{serviceId}/password":{"put":{"summary":"Update MySQL Lite password","operationId":"updateMySQLLitePassword","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Updated Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["password"],"properties":{"password":{"type":"string","minLength":6,"maxLength":128,"pattern":"^(?=.*[A-Za-z])(?=.*[0-9])[A-Za-z0-9][A-Za-z0-9._-]{5,127}$","description":"Password containing at least one letter and one number. Dots, underscores and hyphens are allowed.","writeOnly":true,"example":"Example.Password_123"}}},"example":{"password":"Example.Password_123"}}}},"tags":["Lite services"],"description":"Update MySQL Lite password. A successful response includes the updated resource or operation status."}},"/services/web-hosting-lite":{"get":{"summary":"List Web Hosting Lite services","description":"Returns the Web Hosting Lite services.","operationId":"listWebHostingLiteServices","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"Web Hosting Lite service list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceListEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"services":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}],"next_cursor":null}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}}},"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of services to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in services.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"SERVER_NAME"}],"tags":["Lite services"]}},"/services/web-hosting-lite/{serviceId}":{"get":{"summary":"Get Web Hosting Lite service","operationId":"getWebHostingLiteService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Web Hosting Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Lite services"],"description":"Returns the Web Hosting Lite service."}},"/services/web-hosting-lite/{serviceId}/activate":{"post":{"summary":"Activate Web Hosting Lite","operationId":"activateWebHostingLite","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Activated Web Hosting Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["domain","password"],"properties":{"domain":{"type":"string","minLength":4,"maxLength":253,"pattern":"^((?!-)[A-Za-z0-9-]{1,63}(?<!-)\\.)+[A-Za-z]{2,63}$","example":"play.example.com","description":"Domain of this resource."},"password":{"type":"string","minLength":6,"maxLength":128,"pattern":"^(?=.*[A-Za-z])(?=.*[0-9])[A-Za-z0-9][A-Za-z0-9._-]{5,127}$","description":"Password containing at least one letter and one number. Dots, underscores and hyphens are allowed.","writeOnly":true,"example":"Example.Password_123"}}},"example":{"domain":"play.example.com","password":"Example.Password_123"}}}},"tags":["Lite services"],"description":"Activate Web Hosting Lite. A successful response includes the updated resource or operation status."}},"/services/web-hosting-lite/{serviceId}/password":{"put":{"summary":"Update Web Hosting Lite password","operationId":"updateWebHostingLitePassword","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Updated Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["password"],"properties":{"password":{"type":"string","minLength":6,"maxLength":128,"pattern":"^(?=.*[A-Za-z])(?=.*[0-9])[A-Za-z0-9][A-Za-z0-9._-]{5,127}$","description":"Password containing at least one letter and one number. Dots, underscores and hyphens are allowed.","writeOnly":true,"example":"Example.Password_123"}}},"example":{"password":"Example.Password_123"}}}},"tags":["Lite services"],"description":"Update Web Hosting Lite password. A successful response includes the updated resource or operation status."}},"/services/web-hosting-lite/{serviceId}/domain":{"put":{"summary":"Update Web Hosting Lite domain","operationId":"updateWebHostingLiteDomain","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"domain","in":"query","required":true,"description":"New Web Hosting Lite domain.","schema":{"type":"string","minLength":4,"maxLength":253,"pattern":"^((?!-)[A-Za-z0-9-]{1,63}(?<!-)\\.)+[A-Za-z]{2,63}$"},"example":"play.example.com"}],"responses":{"200":{"description":"Updated Web Hosting Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"tags":["Lite services"],"description":"Update Web Hosting Lite domain. A successful response includes the updated resource or operation status."}},"/services/web-hosting-lite/{serviceId}/php":{"put":{"summary":"Update Web Hosting Lite PHP version","operationId":"updateWebHostingLitePhp","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"php_version","in":"query","required":true,"description":"PHP major version to configure.","schema":{"type":"integer","enum":[5,7,8]},"example":8}],"responses":{"200":{"description":"Updated Web Hosting Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"tags":["Lite services"],"description":"Update Web Hosting Lite PHP version. A successful response includes the updated resource or operation status."}},"/services/web-hosting-lite/{serviceId}/reset-files":{"post":{"summary":"Reset Web Hosting Lite files","operationId":"resetWebHostingLiteFiles","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Updated Web Hosting Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"tags":["Lite services"],"description":"Reset Web Hosting Lite files. A successful response includes the updated resource or operation status."}},"/services/web-hosting-lite/{serviceId}/fix-files":{"post":{"summary":"Repair Web Hosting Lite file access","operationId":"fixWebHostingLiteFiles","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Updated Web Hosting Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"tags":["Lite services"],"description":"Repair Web Hosting Lite file access. A successful response includes the updated resource or operation status."}},"/services/web-hosting-lite/{serviceId}/generate-ssl":{"post":{"summary":"Generate a Web Hosting Lite certificate","operationId":"generateWebHostingLiteCertificate","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Updated Web Hosting Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"tags":["Lite services"],"description":"Generate a Web Hosting Lite certificate. A successful response includes the updated resource or operation status."}},"/services/mumble-lite":{"get":{"summary":"List Mumble Lite services","description":"Returns the Mumble Lite services.","operationId":"listMumbleLiteServices","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"Mumble Lite service list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceListEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"services":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Mumble Lite #648","service_type":"mumble_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"port":64738}],"next_cursor":null}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}}},"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of services to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in services.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"SERVER_NAME"}],"tags":["Lite services"]}},"/services/mumble-lite/{serviceId}":{"get":{"summary":"Get Mumble Lite service","operationId":"getMumbleLiteService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Mumble Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Mumble Lite #648","service_type":"mumble_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"port":64738}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Lite services"],"description":"Returns the Mumble Lite service."}},"/services/mumble-lite/{serviceId}/activate":{"post":{"summary":"Activate Mumble Lite","operationId":"activateMumbleLite","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Updated Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Mumble Lite #648","service_type":"mumble_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"port":64738}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["password"],"properties":{"password":{"type":"string","minLength":6,"maxLength":128,"pattern":"^(?=.*[A-Za-z])(?=.*[0-9])[A-Za-z0-9][A-Za-z0-9._-]{5,127}$","description":"Password containing at least one letter and one number. Dots, underscores and hyphens are allowed.","writeOnly":true,"example":"Example.Password_123"}}},"example":{"password":"Example.Password_123"}}}},"tags":["Lite services"],"description":"Activate Mumble Lite. A successful response includes the updated resource or operation status."}},"/services/mumble-lite/{serviceId}/password":{"put":{"summary":"Update Mumble Lite password","operationId":"updateMumbleLitePassword","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serviceId","in":"path","required":true,"description":"Use the id returned by the corresponding Lite service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Updated Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiteServiceEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Mumble Lite #648","service_type":"mumble_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"port":64738}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Action cannot be executed for this Lite service","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["password"],"properties":{"password":{"type":"string","minLength":6,"maxLength":128,"pattern":"^(?=.*[A-Za-z])(?=.*[0-9])[A-Za-z0-9][A-Za-z0-9._-]{5,127}$","description":"Password containing at least one letter and one number. Dots, underscores and hyphens are allowed.","writeOnly":true,"example":"Example.Password_123"}}},"example":{"password":"Example.Password_123"}}}},"tags":["Lite services"],"description":"Update Mumble Lite password. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/start":{"post":{"summary":"Start a Minecraft server","description":"Returns a job that can be tracked through the jobs endpoint.","operationId":"startMinecraftService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"Minecraft lifecycle job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"start","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/stop":{"post":{"summary":"Stop a Minecraft server","description":"Returns a job that can be tracked through the jobs endpoint.","operationId":"stopMinecraftService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"Minecraft lifecycle job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"stop","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/restart":{"post":{"summary":"Restart a Minecraft server","description":"Returns a job that can be tracked through the jobs endpoint.","operationId":"restartMinecraftService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"Minecraft lifecycle job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"restart","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/jobs":{"get":{"summary":"List service jobs","description":"Returns service jobs from newest to oldest. Filters can narrow the list by status or target service.","operationId":"listServiceJobs","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"Service job list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobListEnvelope"},"example":{"data":{"jobs":[{"id":"btp_530267a34d5adf02fa3119e169653545","status":"running","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"restart","progress":40,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z"}],"next_cursor":null},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"400":{"description":"Invalid limit, cursor or filter","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}}},"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of jobs to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"status","in":"query","required":false,"description":"Return only jobs with this status.","schema":{"type":"string","enum":["queued","running","succeeded","failed"]},"example":"running"},{"name":"service_type","in":"query","required":false,"description":"Return only jobs for this service family.","schema":{"type":"string","enum":["minecraft","vps"]},"example":"minecraft"},{"name":"service_id","in":"query","required":false,"description":"Return only jobs for this service. service_type is required when this filter is used.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"tags":["General"]}},"/jobs/{jobId}":{"get":{"summary":"Get service job status","description":"Returns the latest job state. Poll this endpoint until status is succeeded or failed. For a completed VPS command job, command_result contains its exit code and output. The command is successful when command_result has exit_code=0, timed_out=false, and output_truncated=false. When output_truncated is true, stdout and stderr may be incomplete. A failed command job does not confirm whether the command changed the VPS.","operationId":"getServiceJob","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"Service job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"examples":{"queued":{"summary":"Queued job","value":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"backup_download","progress":0,"created_at":"2030-06-15T10:00:00Z"}}},"running":{"summary":"Running job","value":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"running","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"backup_download","progress":65,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z"}}},"succeeded":{"summary":"Succeeded job","value":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"succeeded","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"backup_download","progress":100,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z","completed_at":"2030-06-15T10:00:08Z","result_code":"backup_download_ready","download_url":"https://downloads.example.com/backups/example.zip"}}},"failed":{"summary":"Failed job","value":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"failed","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"backup_download","progress":0,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z","completed_at":"2030-06-15T10:00:08Z","error_code":"operation_failed"}}},"vps_command_succeeded":{"summary":"VPS command completed","value":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"succeeded","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"vps","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"command_execute","progress":100,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z","completed_at":"2030-06-15T10:04:25Z","result_code":"command_executed","command_result":{"exit_code":0,"stdout":"WordPress installation completed.","stderr":"","timed_out":false,"output_truncated":false,"executed_at":"2030-06-15T10:04:25Z"}}}},"vps_command_timed_out":{"summary":"VPS command reached its duration limit","value":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"succeeded","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"vps","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"command_execute","progress":100,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z","completed_at":"2030-06-15T10:10:02Z","result_code":"command_executed","command_result":{"exit_code":124,"stdout":"","stderr":"","timed_out":true,"output_truncated":false,"executed_at":"2030-06-15T10:10:02Z"}}}},"vps_command_failed":{"summary":"VPS command result could not be confirmed","value":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"failed","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"vps","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"command_execute","progress":0,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z","completed_at":"2030-06-15T10:00:03Z","error_code":"operation_failed"}}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"parameters":[{"name":"jobId","in":"path","required":true,"description":"Job id returned by an asynchronous action.","schema":{"type":"string"},"example":"JOB_ID"}],"tags":["General"]}},"/services/minecraft/{serverId}/reset":{"post":{"summary":"Reset a Minecraft server","operationId":"resetMinecraftService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"Minecraft reset completed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"],"description":"Reset a Minecraft server. A successful response includes the updated resource or operation status."}},"/services/minecraft/{serverId}/modpacks/install":{"post":{"summary":"Install a Minecraft modpack","description":"Starts installation of the selected Minecraft modpack, resets existing plugins and returns a job.","operationId":"installMinecraftModpack","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"modpack_id","in":"query","required":true,"description":"BoxToPlay modpack id returned by GET /services/minecraft/modpacks.","schema":{"type":"string"},"example":"modpack_id"},{"name":"reset_maps","in":"query","required":true,"description":"Whether to reset maps during installation.","schema":{"type":"boolean"}}],"responses":{"202":{"description":"Minecraft modpack installation job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"modpack_install","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Missing or invalid modpack_id or reset_maps","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied or this action is not available with the current service plan","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.offer.not_available","message":"Action is not available with the current service plan."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/mods/install":{"post":{"summary":"Install a Minecraft mod","description":"Installs the selected CurseForge or Modrinth mod version as provided by the catalog. The request completes when the mod files are installed.","operationId":"installMinecraftMod","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"mod_id","in":"query","required":true,"description":"BoxToPlay mod id returned by GET /services/minecraft/mods.","schema":{"type":"string"},"example":"mod_id"}],"responses":{"200":{"description":"Minecraft mod installation completed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftModInstallEnvelope"},"example":{"data":{"mod":{"id":"resource_example123","name":"Example server","provider":"curseforge"},"status":"completed"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid mod_id","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied or this action is not available with the current service plan","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.offer.not_available","message":"Action is not available with the current service plan."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/plugins/install":{"post":{"summary":"Install a Minecraft plugin","description":"Installs the selected Minecraft plugin. For Spigot, CurseForge and Modrinth, the request completes when the plugin is installed. For Cloudburst, completed means the plugin file was published; a restart is required and loading must then be confirmed in the server logs.","operationId":"installMinecraftPlugin","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"plugin_id","in":"query","required":true,"description":"BoxToPlay plugin id returned by GET /services/minecraft/plugins.","schema":{"type":"string"},"example":"plugin_id"}],"responses":{"200":{"description":"Minecraft plugin installation completed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftPluginInstallEnvelope"},"example":{"data":{"plugin":{"id":"resource_example123","name":"Example server","provider":"spigot"},"status":"completed"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid plugin_id","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/minecraft/{serverId}/datapacks/install":{"post":{"summary":"Install a Minecraft datapack","description":"Installs the selected Minecraft datapack into the selected world. The request completes when the datapack is installed.","operationId":"installMinecraftDatapack","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"datapack_id","in":"query","required":true,"description":"BoxToPlay datapack id returned by GET /services/minecraft/datapacks.","schema":{"type":"string"},"example":"datapack_id"},{"name":"world_id","in":"query","required":true,"description":"World identifier returned by the datapack world list.","schema":{"type":"string"},"example":"WORLD_ID"}],"responses":{"200":{"description":"Minecraft datapack installation completed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinecraftDatapackInstallEnvelope"},"example":{"data":{"datapack":{"id":"resource_example123","name":"Example server","provider":"Modrinth"},"status":"completed"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid datapack_id or world_id","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["Minecraft"]}},"/services/bungee":{"get":{"summary":"List BungeeCord / Velocity servers","description":"Returns the BungeeCord / Velocity servers.","operationId":"listBungeeCordVelocityServices","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"BungeeCord / Velocity service list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocityServiceListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}}},"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of services to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in services.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"SERVER_NAME"}],"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}":{"get":{"summary":"Get BungeeCord / Velocity server details","description":"Returns the BungeeCord / Velocity server details and its published catalog plan when available.","operationId":"getBungeeCordVelocityService","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"BungeeCord / Velocity service detail","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocityServiceDetailEnvelope"},"example":{"data":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","plan":{"name":"BungeeCord / Velocity","currency":"EUR","monthly_price":2.99},"proxy_type":"velocity"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/status":{"get":{"summary":"Get BungeeCord / Velocity server status","operationId":"getBungeeCordVelocityServiceStatus","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"BungeeCord / Velocity runtime status","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeStatusEnvelope"},"example":{"data":{"runtime_status":"started","checked_at":"2026-07-15T12:00:00Z","allowed_actions":["stop","restart"]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Returns the BungeeCord / Velocity server status."}},"/services/bungee/{serverId}/icon":{"get":{"summary":"Get BungeeCord / Velocity server icon","description":"Returns the current custom 64x64 PNG server icon for this BungeeCord / Velocity server. Send If-None-Match with a previously received ETag to reuse an unchanged icon. A successful request with no custom icon returns no body.","operationId":"getBungeeCordVelocityServiceIcon","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"If-None-Match","in":"header","required":false,"description":"Return 304 when the current server icon ETag is already known. Accepts a list of ETags or *.","schema":{"type":"string"}}],"responses":{"200":{"description":"BungeeCord / Velocity server icon","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"ETag":{"$ref":"#/components/headers/ETag"},"Content-Length":{"$ref":"#/components/headers/ContentLength"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}},"content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"204":{"description":"No custom server icon is currently available.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}}},"304":{"description":"The current server icon matches If-None-Match.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"ETag":{"$ref":"#/components/headers/ETag"},"Cache-Control":{"$ref":"#/components/headers/CacheControl"}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Server icon could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/metrics":{"get":{"summary":"Get BungeeCord / Velocity server metrics","description":"BungeeCord / Velocity player counts, CPU and memory usage, and total disk usage in bytes. Raw CPU usage is a percentage where 100 represents one logical CPU core and values can exceed 100. The response also provides the bounded CPU value and memory capacity used by BoxToPlay interfaces. Memory usage and its display capacity are expressed in megabytes.","operationId":"getBungeeCordVelocityServiceMetrics","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"BungeeCord / Velocity metrics","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocityMetricsEnvelope"},"example":{"data":{"checked_at":"2026-07-14T12:00:00Z","cpu_usage_percent":65,"disk_used_bytes":5368709120,"display_cpu_usage_percent":42,"display_memory_limit_mb":10000,"memory_usage_mb":2048,"players_max":3,"players_online":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Metric collection failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/metrics/history":{"get":{"summary":"Get BungeeCord / Velocity server metrics history","description":"Returns chronological BungeeCord / Velocity player, CPU, memory, network, disk I/O and storage samples for the selected period. Each sample contains only the measurements available for its interval; history is an empty array when no samples are available. CPU usage is reported as a percentage where 100 represents one logical CPU core, so values can exceed 100. Memory and storage values are in bytes. Network and disk I/O values are in bytes per second. Disk I/O measures activity, not disk space usage.","operationId":"getBungeeCordVelocityServiceMetricsHistory","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"timeframe","in":"query","required":false,"description":"Period ending at the current time: hour (1 hour), day (24 hours), week (7 days), month (30 days), or year (365 days). Defaults to hour.","schema":{"type":"string","enum":["hour","day","week","month","year"],"default":"hour"},"example":"hour"}],"responses":{"200":{"description":"BungeeCord / Velocity metrics history","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocityMetricsHistoryEnvelope"},"example":{"data":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid timeframe","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Metric history could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/settings":{"get":{"summary":"Get BungeeCord / Velocity server settings","description":"Returns the BungeeCord / Velocity server settings.","operationId":"getBungeeCordVelocitySettings","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"BungeeCord / Velocity server settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocitySettingsEnvelope"},"example":{"data":{"dns":"play.example.com","name":"Example server","slots":20},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/settings/name":{"put":{"summary":"Update a BungeeCord / Velocity server name","operationId":"updateBungeeCordVelocityName","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","maxLength":80,"example":"YOUR_SERVER_NAME","description":"Display name of this resource."}}},"example":{"name":"YOUR_SERVER_NAME"}}}},"responses":{"200":{"description":"BungeeCord / Velocity server settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocitySettingsEnvelope"},"example":{"data":{"dns":"play.example.com","name":"Example server","slots":20},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Update a BungeeCord / Velocity server name. A successful response includes the updated resource or operation status."}},"/services/bungee/{serverId}/settings/dns":{"put":{"summary":"Update a BungeeCord / Velocity connection name","operationId":"updateBungeeCordVelocityDns","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["dns"],"properties":{"dns":{"type":"string","maxLength":63,"pattern":"^[A-Za-z0-9]*$","description":"Custom connection name. Send an empty value to remove it.","example":"yourserver"}}},"example":{"dns":"yourserver"}}}},"responses":{"200":{"description":"BungeeCord / Velocity server settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocitySettingsEnvelope"},"example":{"data":{"dns":"play.example.com","name":"Example server","slots":20},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Update a BungeeCord / Velocity connection name. A successful response includes the updated resource or operation status."}},"/services/bungee/{serverId}/settings/slots":{"put":{"summary":"Update BungeeCord / Velocity player slots","operationId":"updateBungeeCordVelocitySlots","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["slots"],"properties":{"slots":{"type":"integer","minimum":1,"maximum":10000,"description":"Slots of this resource.","example":20}}},"example":{"slots":20}}}},"responses":{"200":{"description":"BungeeCord / Velocity server settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocitySettingsEnvelope"},"example":{"data":{"dns":"play.example.com","name":"Example server","slots":20},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Update BungeeCord / Velocity player slots. A successful response includes the updated resource or operation status."}},"/services/bungee/{serverId}/console/commands":{"post":{"summary":"Send a BungeeCord / Velocity console command","operationId":"sendBungeeCordVelocityConsoleCommand","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"BungeeCord / Velocity console command result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocityConsoleCommandResultEnvelope"},"example":{"data":{"status":"completed","output":"","output_truncated":false},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"description":"Sends one BungeeCord or Velocity console command and returns any direct response produced by the server.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocityConsoleCommandRequest"},"example":{"command":"glist"}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/players/{collection}":{"get":{"summary":"List BungeeCord / Velocity players","description":"Returns online players, known players or operators when supported. Popularity places connected players first, then operators.","operationId":"listBungeeCordVelocityPlayers","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"collection","in":"path","required":true,"description":"Player collection to return.","schema":{"type":"string","enum":["online","known","operators"]}},{"name":"limit","in":"query","required":false,"description":"Maximum number of players to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"sort","in":"query","required":false,"description":"Result order. The default is alphabetical.","schema":{"type":"string","enum":["alphabetical","popularity"],"default":"alphabetical"}},{"name":"query","in":"query","required":false,"description":"Text to find in player names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"PLAYER_NAME"}],"responses":{"200":{"description":"BungeeCord / Velocity player list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeCordVelocityPlayerListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","players":[{"name":"Example server","online":true,"operator":true}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid collection, limit, cursor, sort or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/players/operators/{playerName}":{"post":{"summary":"Add a BungeeCord operator","description":"Adds an operator. A BungeeCord server can have up to 5,000 operators.","operationId":"addBungeeCordVelocityOperator","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"playerName","in":"path","required":true,"description":"Minecraft player name.","schema":{"type":"string","pattern":"^[A-Za-z0-9_]{1,16}$"},"example":"PLAYER_NAME"}],"responses":{"200":{"description":"Operator added","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/bungee/btp_2fa3119e169653545530267a34d5adf0/players/operators"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]},"delete":{"summary":"Remove a BungeeCord operator","description":"Removes a BungeeCord operator.","operationId":"removeBungeeCordVelocityOperator","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"playerName","in":"path","required":true,"description":"Minecraft player name.","schema":{"type":"string","pattern":"^[A-Za-z0-9_]{1,16}$"},"example":"PLAYER_NAME"}],"responses":{"200":{"description":"Operator removed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/bungee/btp_2fa3119e169653545530267a34d5adf0/players/operators"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/files/entries":{"get":{"summary":"List BungeeCord / Velocity file entries","operationId":"listBungeeCordVelocityFileEntries","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"directory_id","in":"query","required":false,"description":"Identifier of the folder to list. Use an id returned by the file and folder list, or omit this parameter for the service root.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"}},{"name":"limit","in":"query","required":false,"description":"Maximum number of entries to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in file and directory names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"forge-installer.jar"},{"name":"type","in":"query","required":false,"description":"Filters entries by type.","schema":{"type":"string","enum":["file","directory"]}}],"responses":{"200":{"description":"BungeeCord / Velocity file entry list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileEntryListEnvelope"},"example":{"data":{"directory_id":"resource_example123","entries":[{"id":"resource_example123","name":"Example server","size":0,"type":"file"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Returns the BungeeCord / Velocity file entries."},"delete":{"summary":"Delete a BungeeCord / Velocity file entry","operationId":"deleteBungeeCordVelocityFileEntry","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"id","in":"query","required":true,"description":"Identifier of the file or folder. Use an id returned by the file and folder list.","schema":{"type":"string"},"example":"ENTRY_ID"}],"responses":{"200":{"description":"BungeeCord / Velocity file or folder result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileEntryMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Entry changed or a directory is not empty","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Deletes the selected file or empty folder. Folder deletion is not recursive.","tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/files/entries/copy":{"post":{"summary":"Copy a BungeeCord / Velocity file","operationId":"copyBungeeCordVelocityFileEntry","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"201":{"description":"BungeeCord / Velocity file copy result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileEntryMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Source or destination changed, or the destination already exists","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Copies a file up to 128 MiB. The request fails if the destination already exists. Omit destination_directory_id to copy to the service root.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["id","new_name"],"properties":{"id":{"type":"string","description":"Identifier of the file to copy. Use an id returned by the file and folder list.","example":"ENTRY_ID"},"destination_directory_id":{"type":"string","description":"Identifier of the destination folder. Use an id returned by the file and folder list, or omit this field for the service root.","example":"DIRECTORY_ID"},"new_name":{"type":"string","minLength":1,"maxLength":255,"description":"Name of the copied file.","example":"forge-installer-copy.jar"}}},"example":{"id":"ENTRY_ID","destination_directory_id":"DIRECTORY_ID","new_name":"forge-installer-copy.jar"}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/files/entries/move":{"post":{"summary":"Move or rename a BungeeCord / Velocity file entry","operationId":"moveBungeeCordVelocityFileEntry","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"BungeeCord / Velocity file or folder move result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileEntryMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Source or destination changed, or the destination already exists","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Moves or renames a file or folder. The request fails if the destination already exists. Omit destination_directory_id for the service root and omit new_name to keep the current name.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["id"],"properties":{"id":{"type":"string","description":"Identifier of the file or folder to move. Use an id returned by the file and folder list.","example":"ENTRY_ID"},"destination_directory_id":{"type":"string","description":"Identifier of the destination folder. Use an id returned by the file and folder list, or omit this field for the service root.","example":"DIRECTORY_ID"},"new_name":{"type":"string","minLength":1,"maxLength":255,"description":"Optional new name for the file or folder.","example":"renamed.jar"}}},"example":{"id":"ENTRY_ID","destination_directory_id":"DIRECTORY_ID","new_name":"renamed.jar"}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/files/text":{"get":{"summary":"List editable BungeeCord / Velocity files","operationId":"listBungeeCordVelocityEditableFiles","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"directory_id","in":"query","required":false,"description":"Identifier of the folder to list. Use an id returned by the editable file list, or omit this parameter for the service root.","schema":{"type":"string","minLength":1,"maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$"}},{"name":"limit","in":"query","required":false,"description":"Maximum number of entries to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in file and directory names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"config.yml"},{"name":"type","in":"query","required":false,"description":"Filters entries by type.","schema":{"type":"string","enum":["file","directory"]}}],"responses":{"200":{"description":"BungeeCord / Velocity editable file list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileListEnvelope"},"example":{"data":{"directory_id":"resource_example123","entries":[{"id":"resource_example123","name":"Example server","size":42,"type":"file"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Returns the editable BungeeCord / Velocity files."},"post":{"summary":"Create an editable BungeeCord / Velocity file or directory","operationId":"createBungeeCordVelocityEditableFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"201":{"description":"BungeeCord / Velocity file or folder creation result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Destination changed or an entry with the requested name already exists","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Creates a new text configuration file or folder. The request fails if an entry with the same name already exists. Omit directory_id to use the service root.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["name","type"],"properties":{"directory_id":{"type":"string","description":"Identifier of the destination folder. Use an id returned by the editable file list, or omit this field for the service root.","example":"DIRECTORY_ID"},"name":{"type":"string","minLength":1,"maxLength":255,"description":"Name of the new file or folder.","example":"config.yml"},"type":{"type":"string","enum":["file","directory"],"description":"Entry type to create.","example":"file"},"content":{"type":"string","maxLength":2000000,"description":"Initial UTF-8 text content for a file. Omit or use an empty value for a directory.","example":"enabled: true"}}},"example":{"directory_id":"DIRECTORY_ID","name":"config.yml","type":"file","content":"enabled: true"}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/files/text/content":{"get":{"summary":"Get an editable BungeeCord / Velocity file","operationId":"readBungeeCordVelocityEditableFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"file_id","in":"query","required":true,"description":"Identifier of the editable file. Use an id returned by the editable file list or a previous editable file response.","schema":{"type":"string"},"example":"FILE_ID"}],"responses":{"200":{"description":"BungeeCord / Velocity file content","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileContentEnvelope"},"example":{"data":{"content":"motd=Welcome to the server","end_line":42,"id":"resource_example123","size":42,"start_line":42,"total_lines":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Returns an editable BungeeCord / Velocity file."},"put":{"summary":"Replace an editable BungeeCord / Velocity file","operationId":"replaceBungeeCordVelocityEditableFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"BungeeCord / Velocity file write result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileWriteResultEnvelope"},"example":{"data":{"id":"resource_example123","size":42,"status":"completed","total_lines":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"File changed and must be read again before editing","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.file.edit_conflict","message":"File changed after it was read. Read it again before editing."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["file_id","content"],"properties":{"file_id":{"type":"string","description":"Identifier of the editable file. Use an id returned by the editable file list or a previous editable file response.","example":"FILE_ID"},"content":{"type":"string","maxLength":2000000,"description":"New file content.","example":"YOUR_FILE_CONTENT"}}},"example":{"file_id":"FILE_ID","content":"YOUR_FILE_CONTENT"}}}},"tags":["BungeeCord / Velocity"],"description":"Replace an editable BungeeCord / Velocity file. A successful response includes the updated resource or operation status."}},"/services/bungee/{serverId}/files/text/lines":{"get":{"summary":"Get editable BungeeCord / Velocity file lines","operationId":"readBungeeCordVelocityEditableFileLines","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"file_id","in":"query","required":true,"description":"Identifier of the editable file. Use an id returned by the editable file list or a previous editable file response.","schema":{"type":"string"},"example":"FILE_ID"},{"name":"start_line","in":"query","required":true,"description":"First line to read, using one-based numbering.","schema":{"type":"integer","minimum":1,"maximum":2147483647}},{"name":"end_line","in":"query","required":true,"description":"Last line to read, using one-based numbering.","schema":{"type":"integer","minimum":1,"maximum":2147483647}}],"responses":{"200":{"description":"BungeeCord / Velocity file content","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileContentEnvelope"},"example":{"data":{"content":"motd=Welcome to the server","end_line":42,"id":"resource_example123","size":42,"start_line":42,"total_lines":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Returns the editable BungeeCord / Velocity file lines."},"put":{"summary":"Replace editable BungeeCord / Velocity file lines","operationId":"replaceBungeeCordVelocityEditableFileLines","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"BungeeCord / Velocity file write result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileWriteResultEnvelope"},"example":{"data":{"id":"resource_example123","size":42,"status":"completed","total_lines":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"File changed and must be read again before editing","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.file.edit_conflict","message":"File changed after it was read. Read it again before editing."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["file_id","start_line","end_line","replacement"],"properties":{"file_id":{"type":"string","description":"Identifier of the editable file. Use an id returned by the editable file list or a previous editable file response.","example":"FILE_ID"},"start_line":{"type":"integer","minimum":1,"description":"First line to replace, using one-based numbering.","example":1},"end_line":{"type":"integer","minimum":1,"description":"Last line to replace, using one-based numbering.","example":1},"replacement":{"type":"string","maxLength":2000000,"description":"Replacement text. An empty value removes the selected lines.","example":"YOUR_REPLACEMENT_TEXT"}}},"example":{"file_id":"FILE_ID","start_line":1,"end_line":1,"replacement":"YOUR_REPLACEMENT_TEXT"}}}},"tags":["BungeeCord / Velocity"],"description":"Replace editable BungeeCord / Velocity file lines. A successful response includes the updated resource or operation status."}},"/services/bungee/{serverId}/files/text/entry":{"delete":{"summary":"Delete an editable BungeeCord / Velocity file or empty directory","operationId":"deleteBungeeCordVelocityEditableFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"id","in":"query","required":true,"description":"Identifier of the editable file or folder to delete. Use an id returned by the editable file list.","schema":{"type":"string"},"example":"ENTRY_ID"}],"responses":{"200":{"description":"BungeeCord / Velocity file or folder deletion result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Entry changed and must be listed again before deletion","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Deletes the selected editable file or empty folder. Folder deletion is not recursive.","tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/files/text/move":{"post":{"summary":"Move or rename an editable BungeeCord / Velocity file or directory","operationId":"moveBungeeCordVelocityEditableFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"BungeeCord / Velocity file or folder move result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextFileMutationResultEnvelope"},"example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Entry changed and must be listed again before moving","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Moves or renames an editable file or folder. The request fails if the destination already exists. Omit destination_directory_id for the service root and omit new_name to keep the current name. A folder can be moved only when it contains editable text files and folders.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["id"],"properties":{"id":{"type":"string","description":"Identifier of the editable file or folder to move. Use an id returned by the editable file list.","example":"ENTRY_ID"},"destination_directory_id":{"type":"string","description":"Identifier of the destination folder. Use an id returned by the editable file list, or omit this field for the service root.","example":"DIRECTORY_ID"},"new_name":{"type":"string","minLength":1,"maxLength":255,"description":"Optional new name for the file or folder.","example":"config.disabled.yml"}}},"example":{"id":"ENTRY_ID","destination_directory_id":"DIRECTORY_ID","new_name":"config.disabled.yml"}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/logs/files":{"get":{"summary":"List BungeeCord / Velocity log files","description":"Returns a paginated list of log files. Use each returned file id with the log file endpoints.","operationId":"listBungeeCordVelocityLogFiles","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of files to return.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":8192}},{"name":"query","in":"query","required":false,"description":"Text to find in log file names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"latest.log"}],"responses":{"200":{"description":"BungeeCord / Velocity log file list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogFileListEnvelope"},"example":{"data":{"files":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Log data could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/logs/files/{fileHandle}":{"get":{"summary":"Get a BungeeCord / Velocity log file","description":"Returns the most recent chronological lines from the selected log file.","operationId":"getBungeeCordVelocityLogFile","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"fileHandle","in":"path","required":true,"description":"Log file identifier returned by the log file list endpoint.","schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$"},"example":"LOG_FILE_HANDLE"},{"name":"limit","in":"query","required":false,"description":"Maximum number of lines to return.","schema":{"type":"integer","minimum":1,"maximum":2000,"default":1000}}],"responses":{"200":{"description":"BungeeCord / Velocity log file content","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogContentEnvelope"},"example":{"data":{"lines":["[12:00:00 INFO]: Server started"],"truncated":true},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Log data could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/logs/files/{fileHandle}/lines":{"get":{"summary":"Get BungeeCord / Velocity log file lines","description":"Returns an inclusive chronological line window from the selected log file. Line numbering starts at 1.","operationId":"getBungeeCordVelocityLogFileLines","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"fileHandle","in":"path","required":true,"description":"Log file identifier returned by the log file list endpoint.","schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$"},"example":"LOG_FILE_HANDLE"},{"name":"start_line","in":"query","required":true,"description":"First 1-based line number to return.","schema":{"type":"integer","format":"int64","minimum":1,"maximum":1000000}},{"name":"end_line","in":"query","required":true,"description":"Last 1-based line number to return, inclusive. The requested window cannot exceed 400 lines.","schema":{"type":"integer","format":"int64","minimum":1,"maximum":1000000}}],"responses":{"200":{"description":"BungeeCord / Velocity log file line window","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogRangeEnvelope"},"example":{"data":{"end_line":42,"has_more":true,"lines":["[12:00:00 INFO]: Server started"],"next_start_line":42,"start_line":42,"truncated":true},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Log data could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/logs/live":{"get":{"summary":"Get BungeeCord / Velocity live logs","description":"Returns recent live log lines in chronological order. Omit cursor for the initial result, then use next_cursor to continue.","operationId":"getBungeeCordVelocityLiveLogs","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous live-log response.","schema":{"type":"string","maxLength":8192}}],"responses":{"200":{"description":"BungeeCord / Velocity live log chunk","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveLogEnvelope"},"example":{"data":{"has_more":true,"lines":["[12:00:00 INFO]: Server started"],"next_cursor":"pg_example123","reset":true,"truncated":true},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Log stream unavailable","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Log data could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/ftp/accounts":{"get":{"summary":"List BungeeCord / Velocity FTP accounts","description":"Returns the FTP accounts and available access values for this server.","operationId":"listBungeeCordVelocityFtpAccounts","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of accounts to return.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in FTP usernames.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"ftp-user"}],"responses":{"200":{"description":"FTP account list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FtpAccountListEnvelope"},"example":{"data":{"accounts":[{"access":"/","id":"resource_example123","username":"Example server"}],"available_access":["/","plugins"],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]},"post":{"summary":"Create a BungeeCord / Velocity FTP account","description":"Creates an FTP account for this server. A server can have up to 10 FTP accounts.","operationId":"createBungeeCordVelocityFtpAccount","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["username","password","access"],"properties":{"password":{"type":"string","minLength":6,"maxLength":128,"pattern":"^(?=.*[0-9])[A-Za-z0-9]+$","writeOnly":true,"description":"Password to set for the account or service.","example":"ExamplePassword123"},"access":{"type":"string","minLength":1,"maxLength":256,"example":"/","description":"Access of this resource."},"username":{"type":"string","minLength":1,"maxLength":32,"pattern":"^[A-Za-z0-9]+$","description":"Username used to access the account or service.","example":"Developer1"}}},"example":{"password":"ExamplePassword123","access":"/","username":"Developer1"}}}},"responses":{"201":{"description":"FTP account created","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FtpAccountEnvelope"},"example":{"data":{"access":"/","id":"resource_example123","username":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/ftp/accounts/{accountId}":{"get":{"summary":"Get a BungeeCord / Velocity FTP account","operationId":"getBungeeCordVelocityFtpAccount","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"accountId","in":"path","required":true,"description":"FTP account identifier returned by the account list endpoint.","schema":{"type":"string"},"example":"FTP_ACCOUNT_ID"}],"responses":{"200":{"description":"FTP account","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FtpAccountEnvelope"},"example":{"data":{"access":"/","id":"resource_example123","username":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Returns a BungeeCord / Velocity FTP account."},"put":{"summary":"Update a BungeeCord / Velocity FTP account","description":"Updates the account password and access value.","operationId":"updateBungeeCordVelocityFtpAccount","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"accountId","in":"path","required":true,"description":"FTP account identifier returned by the account list endpoint.","schema":{"type":"string"},"example":"FTP_ACCOUNT_ID"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["password","access"],"properties":{"password":{"type":"string","minLength":6,"maxLength":128,"pattern":"^(?=.*[0-9])[A-Za-z0-9]+$","writeOnly":true,"description":"Password to set for the account or service.","example":"ExamplePassword123"},"access":{"type":"string","minLength":1,"maxLength":256,"example":"/","description":"Access of this resource."}}},"example":{"password":"ExamplePassword123","access":"/"}}}},"responses":{"200":{"description":"FTP account updated","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FtpAccountEnvelope"},"example":{"data":{"access":"/","id":"resource_example123","username":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"]},"delete":{"summary":"Delete a BungeeCord / Velocity FTP account","operationId":"deleteBungeeCordVelocityFtpAccount","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"accountId","in":"path","required":true,"description":"FTP account identifier returned by the account list endpoint.","schema":{"type":"string"},"example":"FTP_ACCOUNT_ID"}],"responses":{"200":{"description":"FTP account deleted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FtpAccountEnvelope"},"example":{"data":{"access":"/","id":"resource_example123","username":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Request rejected","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Delete a BungeeCord / Velocity FTP account. A successful response includes the updated resource or operation status."}},"/services/bungee/{serverId}/tasks":{"get":{"summary":"List BungeeCord or Velocity automation tasks","operationId":"listBungeeCordVelocityScheduledTasks","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of tasks to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"status","in":"query","required":false,"description":"Filters tasks by current status.","schema":{"type":"string","enum":["active","paused","completed"]}},{"name":"mode","in":"query","required":false,"description":"Filters tasks by automation mode.","schema":{"type":"string","enum":["schedule","condition"]}},{"name":"recurring","in":"query","required":false,"description":"Filters tasks by recurrence.","schema":{"type":"boolean"}}],"responses":{"200":{"description":"BungeeCord or Velocity automation task list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","tasks":[{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"description":"Returns automation task timing, condition configuration and current status.","tags":["BungeeCord / Velocity"]},"post":{"summary":"Create a BungeeCord or Velocity automation task","operationId":"createBungeeCordScheduledTask","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"201":{"description":"BungeeCord or Velocity automation task","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskEnvelope"},"example":{"data":{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeScheduledTaskCreateRequest"},"example":{"mode":"schedule","command":"alert Server maintenance starts soon","recurring":true,"starts_at":"2030-06-15T12:00:00+02:00","interval_value":1,"interval_unit":"days","active_hours_start":"00:00","active_hours_end":"23:59","excluded_weekdays":[]}}}},"description":"Creates a calendar or condition-based automation task on BungeeCord or Velocity. The legacy announce action remains BungeeCord only. A proxy can have up to 25 automation tasks.","tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/tasks/{taskId}":{"get":{"summary":"Get a BungeeCord or Velocity automation task","operationId":"getBungeeCordVelocityScheduledTask","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"taskId","in":"path","required":true,"description":"Automation task identifier returned by the task list endpoint.","schema":{"type":"string"},"example":"TASK_ID"}],"responses":{"200":{"description":"BungeeCord or Velocity automation task","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskEnvelope"},"example":{"data":{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"description":"Returns automation task timing, condition configuration and current status.","tags":["BungeeCord / Velocity"]},"patch":{"summary":"Update a BungeeCord or Velocity automation task","operationId":"updateBungeeCordScheduledTask","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"taskId","in":"path","required":true,"description":"Automation task identifier returned by the task list endpoint.","schema":{"type":"string"},"example":"TASK_ID"}],"responses":{"200":{"description":"BungeeCord or Velocity automation task","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskEnvelope"},"example":{"data":{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeScheduledTaskUpdateRequest"},"example":{"status":"paused"}}}},"description":"Updates an automation task on BungeeCord or Velocity. mode cannot be changed after creation. Provide at least one property. The legacy announce action remains BungeeCord only.","tags":["BungeeCord / Velocity"]},"delete":{"summary":"Delete a BungeeCord or Velocity automation task","operationId":"deleteBungeeCordScheduledTask","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"taskId","in":"path","required":true,"description":"Automation task identifier returned by the task list endpoint.","schema":{"type":"string"},"example":"TASK_ID"}],"responses":{"200":{"description":"Completed action","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Delete a BungeeCord or Velocity automation task. A successful response includes the updated resource or operation status."}},"/services/bungee/{serverId}/tasks/preview/executions":{"post":{"summary":"Preview upcoming BungeeCord or Velocity automation task executions","operationId":"previewBungeeCordScheduledTask","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of execution times to return.","schema":{"type":"integer","minimum":1,"maximum":20}}],"responses":{"200":{"description":"BungeeCord or Velocity automation task execution preview","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledTaskPreviewEnvelope"},"example":{"data":{"executions":["2030-06-15T12:00:00+02:00","2030-06-16T12:00:00+02:00"],"schedule_timezone":"Europe/Paris"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BungeeScheduledTaskCreateRequest"},"example":{"mode":"schedule","command":"alert Server maintenance starts soon","recurring":true,"starts_at":"2030-06-15T12:00:00+02:00","interval_value":1,"interval_unit":"days","active_hours_start":"00:00","active_hours_end":"23:59","excluded_weekdays":[]}}}},"description":"Previews upcoming calendar executions for a proposed automation task on BungeeCord or Velocity. Condition tasks do not produce a calendar preview. The legacy announce action remains BungeeCord only.","tags":["BungeeCord / Velocity"]}},"/services/bungee/{serverId}/start":{"post":{"summary":"Start a BungeeCord / Velocity server","operationId":"startBungeeCordVelocityService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"BungeeCord / Velocity start accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/bungee/btp_2fa3119e169653545530267a34d5adf0/status"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Start a BungeeCord / Velocity server. A successful response includes the updated resource or operation status."}},"/services/bungee/{serverId}/stop":{"post":{"summary":"Stop a BungeeCord / Velocity server","operationId":"stopBungeeCordVelocityService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"BungeeCord / Velocity stop accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/bungee/btp_2fa3119e169653545530267a34d5adf0/status"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Stop a BungeeCord / Velocity server. A successful response includes the updated resource or operation status."}},"/services/bungee/{serverId}/restart":{"post":{"summary":"Restart a BungeeCord / Velocity server","operationId":"restartBungeeCordVelocityService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"BungeeCord / Velocity restart accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/bungee/btp_2fa3119e169653545530267a34d5adf0/status"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["BungeeCord / Velocity"],"description":"Restart a BungeeCord / Velocity server. A successful response includes the updated resource or operation status."}},"/services/teamspeak":{"get":{"summary":"List TeamSpeak servers","description":"Returns the TeamSpeak servers.","operationId":"listTeamSpeakServices","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"TeamSpeak service list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakServiceListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}}},"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of services to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in services.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"SERVER_NAME"}],"tags":["TeamSpeak"]}},"/services/teamspeak/{serverId}":{"get":{"summary":"Get TeamSpeak server details","description":"Returns the TeamSpeak server details and its published catalog plan when available.","operationId":"getTeamSpeakService","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"TeamSpeak service detail","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakServiceDetailEnvelope"},"example":{"data":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648","plan":{"name":"TEAMSPEAK-32","currency":"EUR","monthly_price":9.28,"slots":32}},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"tags":["TeamSpeak"]}},"/services/teamspeak/{serverId}/status":{"get":{"summary":"Get TeamSpeak server status","operationId":"getTeamSpeakServiceStatus","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"TeamSpeak runtime status","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeStatusEnvelope"},"example":{"data":{"runtime_status":"started","checked_at":"2026-07-15T12:00:00Z","allowed_actions":["stop","restart"]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Returns the TeamSpeak server status."}},"/services/teamspeak/{serverId}/metrics":{"get":{"summary":"Get TeamSpeak server metrics","description":"TeamSpeak client counts and network traffic over the last minute. Network values are expressed in bytes.","operationId":"getTeamSpeakServiceMetrics","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"TeamSpeak metrics","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakMetricsEnvelope"},"example":{"data":{"checked_at":"2026-07-14T12:00:00Z","clients_max":42,"clients_online":42,"network_in_bytes_last_minute":42,"network_out_bytes_last_minute":42},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Metric collection failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"]}},"/services/teamspeak/{serverId}/metrics/history":{"get":{"summary":"Get TeamSpeak server metrics history","description":"Returns chronological TeamSpeak client and network samples for the selected period. Each sample contains only the measurements available for its interval; history is an empty array when no samples are available. Network values are expressed in bytes per second.","operationId":"getTeamSpeakServiceMetricsHistory","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"timeframe","in":"query","required":false,"description":"Period ending at the current time: hour (1 hour), day (24 hours), week (7 days), month (30 days), or year (365 days). Defaults to hour.","schema":{"type":"string","enum":["hour","day","week","month","year"],"default":"hour"},"example":"hour"}],"responses":{"200":{"description":"TeamSpeak metrics history","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakMetricsHistoryEnvelope"},"example":{"data":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","clients_average":8.25,"clients_peak":12,"clients_capacity":32,"network_in_bytes_per_second":45000.0,"network_out_bytes_per_second":38000.0}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid timeframe","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Metric history could not be read","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"]}},"/services/teamspeak/{serverId}/settings":{"get":{"summary":"Get TeamSpeak server settings","operationId":"getTeamSpeakSettings","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"TeamSpeak server settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakSettingsEnvelope"},"example":{"data":{"host_banner_image_url":"https://example.com/resource","host_banner_interval_minutes":42,"host_banner_link_url":"https://example.com/resource","host_banner_mode":42,"host_button_image_url":"https://example.com/resource","host_button_tooltip":"play.example.com","host_button_url":"https://example.com/resource","host_message":"play.example.com","host_message_mode":42,"max_clients":42,"name":"Example server","password_protected":true,"reserved_slots":20,"welcome_message":"Operation completed."},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Returns the TeamSpeak server settings."},"patch":{"summary":"Update TeamSpeak server settings","operationId":"updateTeamSpeakSettings","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"name":{"type":"string","minLength":1,"maxLength":100,"example":"YOUR_CHANNEL_NAME","description":"Display name of this resource."},"password_protected":{"type":"boolean","description":"Whether this resource is password protected.","example":true},"password":{"type":"string","maxLength":100,"writeOnly":true,"description":"Password to set for the account or service.","example":"ExamplePassword123"},"reserved_slots":{"type":"integer","minimum":0,"description":"Reserved slots of this resource.","example":20},"welcome_message":{"type":"string","maxLength":1024,"description":"Welcome message of this resource.","example":"Operation completed."},"host_message_mode":{"type":"integer","minimum":0,"maximum":3,"description":"Host message mode of this resource.","example":0},"host_message":{"type":"string","maxLength":1024,"description":"Host message of this resource.","example":"play.example.com"},"host_banner_image_url":{"type":"string","maxLength":2048,"pattern":"^(?:https?://.+)?$","description":"Host banner image URL of this resource.","example":"https://example.com/resource"},"host_banner_link_url":{"type":"string","maxLength":2048,"pattern":"^(?:https?://.+)?$","description":"Host banner link URL of this resource.","example":"https://example.com/resource"},"host_banner_interval_minutes":{"type":"integer","minimum":0,"maximum":35791394,"description":"Host banner interval minutes of this resource.","example":0},"host_banner_mode":{"type":"integer","minimum":0,"maximum":2,"description":"Host banner mode of this resource.","example":0},"host_button_tooltip":{"type":"string","maxLength":100,"description":"Host button tooltip of this resource.","example":"play.example.com"},"host_button_url":{"type":"string","maxLength":2048,"pattern":"^(?:https?://.+)?$","description":"Host button URL of this resource.","example":"https://example.com/resource"},"host_button_image_url":{"type":"string","maxLength":2048,"pattern":"^(?:https?://.+)?$","description":"Host button image URL of this resource.","example":"https://example.com/resource"}}},"example":{"name":"YOUR_CHANNEL_NAME","password_protected":true,"password":"ExamplePassword123","reserved_slots":20,"welcome_message":"Operation completed.","host_message_mode":0,"host_message":"play.example.com","host_banner_image_url":"https://example.com/resource","host_banner_link_url":"https://example.com/resource","host_banner_interval_minutes":0,"host_banner_mode":0,"host_button_tooltip":"play.example.com","host_button_url":"https://example.com/resource","host_button_image_url":"https://example.com/resource"}}}},"responses":{"200":{"description":"TeamSpeak server settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakSettingsEnvelope"},"example":{"data":{"host_banner_image_url":"https://example.com/resource","host_banner_interval_minutes":42,"host_banner_link_url":"https://example.com/resource","host_banner_mode":42,"host_button_image_url":"https://example.com/resource","host_button_tooltip":"play.example.com","host_button_url":"https://example.com/resource","host_message":"play.example.com","host_message_mode":42,"max_clients":42,"name":"Example server","password_protected":true,"reserved_slots":20,"welcome_message":"Operation completed."},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Update TeamSpeak server settings. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/live":{"get":{"summary":"Get TeamSpeak channels and connected clients","description":"When sorted by popularity, channels are ordered by connected client count and clients by channel activity.","operationId":"getTeamSpeakLiveView","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"sort","in":"query","required":false,"description":"Result order. The default is alphabetical.","schema":{"type":"string","enum":["alphabetical","popularity"],"default":"alphabetical"}}],"responses":{"200":{"description":"TeamSpeak channels and connected clients","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakLiveViewEnvelope"},"example":{"data":{"channels":[{"default":true,"id":42,"name":"Example server","parent_id":42,"password_protected":true,"spacer":true}],"clients":[{"channel_id":42,"id":42,"nickname":"Alex"}],"server_name":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid sort","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"]}},"/services/teamspeak/{serverId}/channels":{"post":{"summary":"Create a TeamSpeak channel","operationId":"createTeamSpeakChannel","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"parent_channel_id":{"type":"integer","minimum":0,"description":"Parent channel id of this resource.","example":0},"name":{"type":"string","minLength":1,"maxLength":100,"description":"Display name of this resource.","example":"Example server"},"has_password":{"type":"boolean","description":"Whether this resource is has password.","example":true},"password":{"type":"string","maxLength":100,"description":"Password to set for the account or service.","example":"ExamplePassword123"},"topic":{"type":"string","maxLength":255,"example":"Support and community chat","description":"Topic of this resource."},"description":{"type":"string","maxLength":8192,"description":"Description of this resource.","example":"Example description"},"channel_type":{"type":"integer","minimum":0,"maximum":1,"description":"Channel type of this resource.","example":0},"default":{"type":"boolean","description":"Whether this entry is the default choice.","example":true},"codec":{"type":"integer","enum":[4,5],"description":"Codec of this resource.","example":4},"codec_quality":{"type":"integer","minimum":0,"maximum":10,"description":"Codec quality of this resource.","example":0}},"required":["name"]},"example":{"parent_channel_id":0,"name":"Example server","has_password":true,"password":"ExamplePassword123","topic":"Support and community chat","description":"Example description","channel_type":0,"default":true,"codec":4,"codec_quality":0}}}},"responses":{"200":{"description":"TeamSpeak channel created","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/live"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Create a TeamSpeak channel. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/channels/{channelId}":{"get":{"summary":"Get TeamSpeak channel settings","operationId":"getTeamSpeakChannel","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"channelId","in":"path","required":true,"description":"Channel id returned by the TeamSpeak live view.","schema":{"type":"integer","minimum":1},"example":1}],"responses":{"200":{"description":"TeamSpeak channel settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakChannelInfoEnvelope"},"example":{"data":{"channel_type":42,"codec":42,"codec_quality":42,"default":true,"description":"Example description","id":42,"name":"Example server","parent_id":42,"password_protected":true,"topic":"Support and community chat"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Returns the TeamSpeak channel settings."},"patch":{"summary":"Update TeamSpeak channel settings","operationId":"updateTeamSpeakChannel","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"channelId","in":"path","required":true,"description":"Channel id returned by the TeamSpeak live view.","schema":{"type":"integer","minimum":1},"example":1}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"parent_channel_id":{"type":"integer","minimum":0,"description":"Parent channel id of this resource.","example":0},"name":{"type":"string","minLength":1,"maxLength":100,"description":"Display name of this resource.","example":"Example server"},"has_password":{"type":"boolean","description":"Whether this resource is has password.","example":true},"password":{"type":"string","maxLength":100,"description":"Password to set for the account or service.","example":"ExamplePassword123"},"topic":{"type":"string","maxLength":255,"example":"Support and community chat","description":"Topic of this resource."},"description":{"type":"string","maxLength":8192,"description":"Description of this resource.","example":"Example description"},"channel_type":{"type":"integer","minimum":0,"maximum":2,"description":"Channel type of this resource.","example":0},"default":{"type":"boolean","description":"Whether this entry is the default choice.","example":true},"codec":{"type":"integer","enum":[4,5],"description":"Codec of this resource.","example":4},"codec_quality":{"type":"integer","minimum":0,"maximum":10,"description":"Codec quality of this resource.","example":0}}},"example":{"parent_channel_id":0,"name":"Example server","has_password":true,"password":"ExamplePassword123","topic":"Support and community chat","description":"Example description","channel_type":0,"default":true,"codec":4,"codec_quality":0}}}},"responses":{"200":{"description":"TeamSpeak channel updated","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/live"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Update TeamSpeak channel settings. A successful response includes the updated resource or operation status."},"delete":{"summary":"Delete a TeamSpeak channel","operationId":"deleteTeamSpeakChannel","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"channelId","in":"path","required":true,"description":"Channel id returned by the TeamSpeak live view.","schema":{"type":"integer","minimum":1},"example":1}],"responses":{"200":{"description":"TeamSpeak channel deleted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/live"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Delete a TeamSpeak channel. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/backups":{"get":{"summary":"List TeamSpeak backups","operationId":"listTeamSpeakBackups","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of backups to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in backup names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Snapshot"},{"name":"type","in":"query","required":false,"description":"Filters backups by type.","schema":{"type":"string","enum":["manual","automatic"]}}],"responses":{"200":{"description":"TeamSpeak backup list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakBackupListEnvelope"},"example":{"data":{"backups":[{"created_at":"2026-07-14T12:00:00Z","files_included":true,"id":"resource_example123","name":"Example server","size_bytes":42,"type":"manual_snapshot"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor, query or type","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Returns the TeamSpeak backups."},"post":{"summary":"Create a manual TeamSpeak snapshot","description":"A TeamSpeak server can have up to 10 manual snapshots. Automatic backups do not count toward this total. Delete an existing manual snapshot before creating another one when this capacity is reached.","operationId":"createTeamSpeakBackup","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":100,"description":"Display name of this resource.","example":"Example server"}}},"example":{"name":"Example server"}}}},"responses":{"200":{"description":"TeamSpeak backup","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakBackupEnvelope"},"example":{"data":{"created_at":"2026-07-14T12:00:00Z","files_included":true,"id":"resource_example123","name":"Example server","size_bytes":42,"type":"manual_snapshot"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Manual snapshot capacity reached or another backup operation is in progress","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"]}},"/services/teamspeak/{serverId}/backups/{backupId}":{"delete":{"summary":"Delete a manual TeamSpeak snapshot","operationId":"deleteTeamSpeakBackup","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"backupId","in":"path","required":true,"description":"Backup id returned by the TeamSpeak backup list.","schema":{"type":"string"},"example":"BACKUP_ID"}],"responses":{"200":{"description":"TeamSpeak backup deleted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Delete a manual TeamSpeak snapshot. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/backups/{backupId}/restore":{"post":{"summary":"Restore a TeamSpeak backup","operationId":"restoreTeamSpeakBackup","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"backupId","in":"path","required":true,"description":"Backup id returned by the TeamSpeak backup list.","schema":{"type":"string"},"example":"BACKUP_ID"}],"responses":{"200":{"description":"TeamSpeak backup restored","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/live"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Restore a TeamSpeak backup. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/server-query/accounts":{"get":{"summary":"List TeamSpeak ServerQuery accounts","description":"Lists the ServerQuery accounts available for command execution.","operationId":"listTeamSpeakServerQueryAccounts","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of ServerQuery accounts to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in ServerQuery login names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"bot"}],"responses":{"200":{"description":"TeamSpeak ServerQuery account list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakServerQueryAccountListEnvelope"},"example":{"data":{"accounts":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","login_name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"]},"post":{"summary":"Create a TeamSpeak ServerQuery account","description":"Creates a ServerQuery account for this TeamSpeak server.","operationId":"createTeamSpeakServerQueryAccount","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakServerQueryAccountCreateRequest"},"example":{"login_name":"automation_bot"}}}},"responses":{"200":{"description":"TeamSpeak ServerQuery account created","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakServerQueryAccountEnvelope"},"example":{"data":{"created_at":"2030-06-15T10:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","login_name":"automation_bot"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"]}},"/services/teamspeak/{serverId}/server-query/accounts/{accountId}":{"delete":{"summary":"Revoke a TeamSpeak ServerQuery account","operationId":"revokeTeamSpeakServerQueryAccount","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"accountId","in":"path","required":true,"description":"Account id returned by the ServerQuery account list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"TeamSpeak ServerQuery account revoked","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Revoke a TeamSpeak ServerQuery account. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/server-query/accounts/{accountId}/commands":{"post":{"summary":"Execute a TeamSpeak ServerQuery command","description":"Executes one ServerQuery command on an online virtual server with the selected account and returns its output.","operationId":"executeTeamSpeakServerQueryCommand","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"accountId","in":"path","required":true,"description":"Account id returned by the ServerQuery account list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakServerQueryCommandRequest"},"example":{"command":"serverinfo"}}}},"responses":{"200":{"description":"TeamSpeak ServerQuery command result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamSpeakServerQueryCommandResultEnvelope"},"example":{"data":{"output":"virtualserver_name=My TeamSpeak Server","output_truncated":false},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"]}},"/services/teamspeak/{serverId}/clients/{clientId}/kick-channel":{"post":{"summary":"Kick a TeamSpeak client from their channel","operationId":"kickTeamSpeakClientFromChannel","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"clientId","in":"path","required":true,"description":"Client id returned by the live view.","schema":{"type":"integer","minimum":1},"example":1}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","maxLength":1000,"example":"Rule violation","description":"Reason of this resource."}}},"example":{"reason":"Rule violation"}}}},"responses":{"200":{"description":"TeamSpeak client action completed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/live"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Kick a TeamSpeak client from their channel. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/clients/{clientId}/kick-server":{"post":{"summary":"Kick a TeamSpeak client from the server","operationId":"kickTeamSpeakClientFromServer","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"clientId","in":"path","required":true,"description":"Client id returned by the live view.","schema":{"type":"integer","minimum":1},"example":1}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"reason":{"type":"string","maxLength":1000,"example":"Rule violation","description":"Reason of this resource."}}},"example":{"reason":"Rule violation"}}}},"responses":{"200":{"description":"TeamSpeak client action completed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/live"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Kick a TeamSpeak client from the server. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/clients/{clientId}/ban":{"post":{"summary":"Ban a TeamSpeak client","operationId":"banTeamSpeakClient","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"clientId","in":"path","required":true,"description":"Client id returned by the live view.","schema":{"type":"integer","minimum":1},"example":1}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["duration_seconds"],"properties":{"duration_seconds":{"type":"integer","minimum":0,"maximum":31536000,"description":"Duration seconds of this resource.","example":0},"reason":{"type":"string","maxLength":1000,"example":"Rule violation","description":"Reason of this resource."}}},"example":{"duration_seconds":0,"reason":"Rule violation"}}}},"responses":{"200":{"description":"TeamSpeak client action completed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/live"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"description":"Bans a client. A TeamSpeak server can have up to 5,000 ban entries.","tags":["TeamSpeak"]}},"/services/teamspeak/{serverId}/clients/{clientId}/move":{"post":{"summary":"Move a TeamSpeak client to another channel","operationId":"moveTeamSpeakClient","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"clientId","in":"path","required":true,"description":"Client id returned by the live view.","schema":{"type":"integer","minimum":1},"example":1}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["channel_id"],"properties":{"channel_id":{"type":"integer","minimum":1,"example":1,"description":"Channel id of this resource."}}},"example":{"channel_id":1}}}},"responses":{"200":{"description":"TeamSpeak client action completed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/live"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Move a TeamSpeak client to another channel. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/start":{"post":{"summary":"Start a TeamSpeak server","operationId":"startTeamSpeakService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"TeamSpeak start accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/status"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Start a TeamSpeak server. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/stop":{"post":{"summary":"Stop a TeamSpeak server","operationId":"stopTeamSpeakService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"TeamSpeak stop accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/status"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Stop a TeamSpeak server. A successful response includes the updated resource or operation status."}},"/services/teamspeak/{serverId}/restart":{"post":{"summary":"Restart a TeamSpeak server","operationId":"restartTeamSpeakService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"TeamSpeak restart accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/teamspeak/btp_2fa3119e169653545530267a34d5adf0/status"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["TeamSpeak"],"description":"Restart a TeamSpeak server. A successful response includes the updated resource or operation status."}},"/services/vps":{"get":{"summary":"List VPS servers","description":"Returns the VPS servers.","operationId":"listVPSServices","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"VPS service list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSServiceListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","services":[{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"400":{"description":"Invalid limit, cursor or query","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}}},"parameters":[{"name":"limit","in":"query","required":false,"description":"Maximum number of services to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in services.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"SERVER_NAME"}],"tags":["VPS"]}},"/services/vps/{serverId}":{"get":{"summary":"Get VPS details","description":"Returns the VPS details and its published catalog plan when available.","operationId":"getVPSService","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"VPS service detail","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSServiceDetailEnvelope"},"example":{"data":{"connection_address":"my-server.vps.boxtoplay.com","cpu_cores":4,"disk_capacity_bytes":53687091200,"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","memory_bytes":8589934592,"name":"VPS #648","operating_system":"Windows Server 2025","plan":{"name":"VPS2-WIN","currency":"EUR","monthly_price":13.99,"windows_available":true,"bandwidth_mbps":250}},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"tags":["VPS"]}},"/services/vps/{serverId}/status":{"get":{"summary":"Get VPS status","operationId":"getVPSServiceStatus","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"VPS runtime status","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeStatusEnvelope"},"example":{"data":{"runtime_status":"started","checked_at":"2026-07-15T12:00:00Z","allowed_actions":["stop","restart"]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"],"description":"Returns the VPS status."}},"/services/vps/{serverId}/metrics":{"get":{"summary":"Get VPS metrics","description":"Returns VPS resource limits, live metrics and chronological history for the requested timeframe. CPU values are percentages. Memory, network and disk values use bytes. Historical network and disk values are expressed in bytes per second.","operationId":"getVPSServiceMetrics","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"timeframe","in":"query","required":false,"description":"History window. Defaults to hour.","schema":{"type":"string","enum":["hour","day","week","month","year"],"default":"hour"}}],"responses":{"200":{"description":"VPS live metrics and history","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSMetricsEnvelope"},"example":{"data":{"collected_at":"2026-07-14T12:00:00Z","history":[{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_write_bytes_per_second":42.0,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_out_bytes_per_second":42.0,"sampled_at":"2026-07-14T12:00:00Z"}],"limits":{"cpu_cores":13,"disk_capacity_bytes":42,"memory_bytes":2048,"network_bytes_per_second":42},"live":{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_read_total_bytes":3,"disk_write_bytes_per_second":42.0,"disk_write_total_bytes":3,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_in_total_bytes":3,"network_out_bytes_per_second":42.0,"network_out_total_bytes":3,"rate_sampled_at":"2026-07-14T12:00:00Z","uptime_seconds":42},"timeframe":"hour"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid timeframe","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Metric collection failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"]}},"/services/vps/{serverId}/settings":{"get":{"summary":"Get VPS connection settings","description":"Returns the VPS connection settings.","operationId":"getVPSSettings","security":[{"ApiKeyBearer":[]}],"responses":{"200":{"description":"VPS connection settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSSettingsEnvelope"},"example":{"data":{"connection_address":"my-server.vps.boxtoplay.com","dns":"my-server","ip_address":"203.0.113.10"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"tags":["VPS"]}},"/services/vps/{serverId}/settings/dns":{"put":{"summary":"Update a VPS connection name","description":"Sets the custom VPS subdomain. Send an empty dns value to remove the custom connection name.","operationId":"updateVPSDns","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["dns"],"properties":{"dns":{"type":"string","description":"Lowercase alphanumeric VPS subdomain label. An empty value removes the custom connection name.","maxLength":63,"pattern":"^[a-z0-9]*$","example":"yourserver"}}},"example":{"dns":"yourserver"}}}},"responses":{"200":{"description":"VPS connection settings","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSSettingsEnvelope"},"example":{"data":{"connection_address":"my-server.vps.boxtoplay.com","dns":"my-server","ip_address":"203.0.113.10"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"]}},"/services/vps/{serverId}/commands":{"post":{"summary":"Execute a command on a VPS","operationId":"executeVPSCommand","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"200":{"description":"VPS command result","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSCommandResultEnvelope"},"examples":{"completed":{"summary":"Command completed successfully","value":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"exit_code":0,"stdout":"total 8","stderr":"","timed_out":false,"output_truncated":false,"executed_at":"2030-06-15T10:00:00Z"}}},"non_zero_exit":{"summary":"Command returned a non-zero exit code","value":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"exit_code":2,"stdout":"","stderr":"No such file or directory","timed_out":false,"output_truncated":false,"executed_at":"2030-06-15T10:00:00Z"}}},"timed_out":{"summary":"Command reached its duration limit","value":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"exit_code":124,"stdout":"","stderr":"","timed_out":true,"output_truncated":false,"executed_at":"2030-06-15T10:00:10Z"}}}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Command could not be executed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Executes a Linux shell or Windows PowerShell command with administrative system privileges on a started VPS, waits for completion, and returns its exit code and output. Use this endpoint for commands expected to finish within 105 seconds; use the asynchronous endpoint for longer operations. An HTTP 200 response means the process was launched and its result was collected, not that the command exited successfully. Treat the command as successful only when exit_code is 0, timed_out is false, and output_truncated is false. When output_truncated is true, stdout and stderr may be incomplete.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSCommandRequest"},"example":{"command":"ls -la","timeout_seconds":10}}}},"tags":["VPS"]}},"/services/vps/{serverId}/commands/async":{"post":{"summary":"Execute a long-running command on a VPS","operationId":"executeVPSCommandAsync","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"VPS command job accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"vps","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"command_execute","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"409":{"description":"Command job could not be queued","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}}},"description":"Queues a Linux shell or Windows PowerShell command with administrative system privileges and returns an HTTP 202 response without waiting for completion. The VPS must be started when execution begins. Poll status_url until status is succeeded or failed. A succeeded command job includes command_result. A non-zero exit_code or timed_out=true still represents a collected command result. Treat the command as successful only when exit_code is 0, timed_out is false, and output_truncated is false. When output_truncated is true, stdout and stderr may be incomplete. A failed job means no completed command result could be confirmed; do not assume the command made no changes.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSAsyncCommandRequest"},"example":{"command":"apt-get update && apt-get install -y wordpress","timeout_seconds":600}}}},"tags":["VPS"]}},"/services/vps/{serverId}/firewall/rules":{"get":{"summary":"List VPS firewall rules","operationId":"listVPSFirewallRules","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of rules to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"action","in":"query","required":false,"description":"Filters rules by action.","schema":{"type":"string","enum":["allow","block"]}},{"name":"protocol","in":"query","required":false,"description":"Filters rules by protocol.","schema":{"type":"string","enum":["tcp","udp","icmp"]}}],"responses":{"200":{"description":"VPS firewall rule list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSFirewallRuleListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","rules":[{"action":"allow","comment":"Allow game traffic","destination_port":25565,"enabled":true,"priority":42,"protocol":"tcp","source":"203.0.113.0/24"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid limit, cursor, action or protocol","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"],"description":"Returns the VPS firewall rules."},"post":{"summary":"Create a VPS firewall rule","description":"Creates a firewall rule. A VPS can have up to 100 firewall rules.","operationId":"createVPSFirewallRule","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["action","protocol"],"properties":{"action":{"type":"string","enum":["allow","block"],"description":"Action of this resource.","example":"allow"},"protocol":{"type":"string","enum":["tcp","udp","icmp"],"description":"Network protocol used by the port or rule.","example":"tcp"},"destination_port":{"type":"integer","minimum":1,"maximum":65535,"description":"Destination port of this resource.","example":25565},"source":{"type":"string","maxLength":18,"pattern":"^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}(?:/(?:[0-9]|[12][0-9]|3[0-2]))?$","description":"IPv4 address or IPv4 CIDR range.","example":"203.0.113.0/24"},"comment":{"type":"string","maxLength":256,"example":"Allow game traffic","description":"Comment of this resource."}}},"example":{"action":"allow","protocol":"tcp","destination_port":25565,"source":"203.0.113.0/24","comment":"Allow game traffic"}}}},"responses":{"200":{"description":"VPS firewall rule list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSFirewallRuleListEnvelope"},"example":{"data":{"next_cursor":"pg_example123","rules":[{"action":"allow","comment":"Allow game traffic","destination_port":25565,"enabled":true,"priority":42,"protocol":"tcp","source":"203.0.113.0/24"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"]}},"/services/vps/{serverId}/firewall/rules/{priority}":{"delete":{"summary":"Delete a VPS firewall rule","operationId":"deleteVPSFirewallRule","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"priority","in":"path","required":true,"description":"Rule priority returned by the firewall rule list. The request body must also match the current rule.","schema":{"type":"integer","minimum":0}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["expected_action","expected_protocol","expected_enabled"],"properties":{"expected_action":{"type":"string","enum":["allow","block"],"description":"Expected action of this resource.","example":"allow"},"expected_protocol":{"type":"string","enum":["tcp","udp","icmp"],"description":"Expected protocol of this resource.","example":"tcp"},"expected_destination_port":{"type":"integer","minimum":1,"maximum":65535,"description":"Expected destination port of this resource.","example":25565},"expected_source":{"type":"string","maxLength":18,"pattern":"^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}(?:/(?:[0-9]|[12][0-9]|3[0-2]))?$","description":"Current IPv4 address or IPv4 CIDR range.","example":"203.0.113.0/24"},"expected_comment":{"type":"string","maxLength":256,"example":"Allow game traffic","description":"Expected comment of this resource."},"expected_enabled":{"type":"boolean","description":"Whether this resource is expected enabled.","example":true}}},"example":{"expected_action":"allow","expected_protocol":"tcp","expected_destination_port":25565,"expected_source":"203.0.113.0/24","expected_comment":"Allow game traffic","expected_enabled":true}}}},"responses":{"200":{"description":"VPS firewall rule deleted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/vps/btp_2fa3119e169653545530267a34d5adf0/firewall/rules"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"],"description":"Delete a VPS firewall rule. A successful response includes the updated resource or operation status."}},"/services/vps/{serverId}/firewall/rules/{priority}/enabled":{"put":{"summary":"Enable or disable a VPS firewall rule","operationId":"setVPSFirewallRuleEnabled","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"priority","in":"path","required":true,"description":"Rule priority returned by the firewall rule list. The request body must also match the current rule.","schema":{"type":"integer","minimum":0}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["expected_action","expected_protocol","expected_enabled","enabled"],"properties":{"expected_action":{"type":"string","enum":["allow","block"],"description":"Expected action of this resource.","example":"allow"},"expected_protocol":{"type":"string","enum":["tcp","udp","icmp"],"description":"Expected protocol of this resource.","example":"tcp"},"expected_destination_port":{"type":"integer","minimum":1,"maximum":65535,"description":"Expected destination port of this resource.","example":25565},"expected_source":{"type":"string","maxLength":18,"pattern":"^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}(?:/(?:[0-9]|[12][0-9]|3[0-2]))?$","description":"Current IPv4 address or IPv4 CIDR range.","example":"203.0.113.0/24"},"expected_comment":{"type":"string","maxLength":256,"example":"Allow game traffic","description":"Expected comment of this resource."},"expected_enabled":{"type":"boolean","description":"Whether this resource is expected enabled.","example":true},"enabled":{"type":"boolean","description":"Whether this resource is enabled.","example":true}}},"example":{"expected_action":"allow","expected_protocol":"tcp","expected_destination_port":25565,"expected_source":"203.0.113.0/24","expected_comment":"Allow game traffic","expected_enabled":true,"enabled":true}}}},"responses":{"200":{"description":"VPS firewall rule updated","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"completed","status_url":"/v1/services/vps/btp_2fa3119e169653545530267a34d5adf0/firewall/rules"}}}}},"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"],"description":"Enable or disable a VPS firewall rule. A successful response includes the updated resource or operation status."}},"/services/vps/{serverId}/operating-systems":{"get":{"summary":"List VPS operating systems available for reinstallation","operationId":"listVPSOperatingSystems","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of operating systems to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}},{"name":"query","in":"query","required":false,"description":"Text to find in operating system names.","schema":{"type":"string","minLength":1,"maxLength":80},"example":"Ubuntu"},{"name":"family","in":"query","required":false,"description":"Filters operating systems by family.","schema":{"type":"string","enum":["linux","windows"]}}],"responses":{"200":{"description":"VPS operating system list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSOperatingSystemListEnvelope"},"example":{"data":{"items":[{"family":"linux","id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"],"description":"Returns the VPS operating systems available for reinstallation."}},"/services/vps/{serverId}/reinstall":{"post":{"summary":"Reinstall a VPS operating system and erase its disk","operationId":"reinstallVPS","description":"Installs the selected operating system on a new VPS or reinstalls an existing one. All data on the VPS disk is permanently erased. Linux servers start automatically when the job completes, continue their system update in the background, and should be rebooted once the update finishes. Windows servers reboot automatically to finish installation; wait a few minutes before connecting.","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["operating_system_id","hostname","password"],"properties":{"operating_system_id":{"type":"string","example":"operating_system_id","description":"Operating system id of this resource."},"hostname":{"type":"string","minLength":1,"maxLength":63,"pattern":"^[A-Za-z0-9](?:[A-Za-z0-9.-]{0,61}[A-Za-z0-9])?$","description":"Hostname suffix. The VPS number is added automatically; a value that already starts with that number is also accepted.","example":"linuxdev"},"password":{"type":"string","minLength":12,"maxLength":128,"writeOnly":true,"example":"YOUR_NEW_PASSWORD","description":"Password to set for the account or service."},"restrict_management_access":{"type":"boolean","default":false,"description":"Allows remote management only from the public IPv4 address that sends this request. Not available through the MCP server, because its requests do not come from the client's address.","example":false}}},"example":{"operating_system_id":"operating_system_id","hostname":"linuxdev","password":"YOUR_NEW_PASSWORD","restrict_management_access":false}}}},"responses":{"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied or Windows is not available with the current service plan","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.offer.not_available","message":"Action is not available with the current service plan."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"202":{"description":"VPS reinstallation job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"vps","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"reinstall","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}}},"tags":["VPS"]}},"/services/vps/{serverId}/backups":{"get":{"summary":"List VPS backups","operationId":"listVPSBackups","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"limit","in":"query","required":false,"description":"Maximum number of backups to return. Optional, from 1 to 50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":25}},{"name":"cursor","in":"query","required":false,"description":"next_cursor returned by the previous page.","schema":{"type":"string","maxLength":256}}],"responses":{"200":{"description":"VPS backup list","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VPSBackupListEnvelope"},"example":{"data":{"items":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","size_bytes":42}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}},"400":{"description":"Invalid request","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"],"description":"Returns the VPS backups."}},"/services/vps/{serverId}/backups/{backupId}/restore":{"post":{"summary":"Restore a VPS backup","operationId":"restoreVPSBackup","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"},{"name":"backupId","in":"path","required":true,"description":"Backup id returned by the matching backup list endpoint.","schema":{"type":"string"},"example":"BACKUP_ID"}],"responses":{"400":{"description":"Missing or invalid request values","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.validation.invalid_request","message":"Invalid API request.","details":{"field":"request","reason":"invalid_value"}}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied or the backup operating system is not available with the current service plan","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.offer.not_available","message":"Action is not available with the current service plan."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}},"202":{"description":"VPS backup restoration job","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"queued","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"vps","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"backup_restore","progress":0,"created_at":"2030-06-15T10:00:00Z"}}}}}},"tags":["VPS"],"description":"Restore a VPS backup. A successful response includes the updated resource or operation status."}},"/services/vps/{serverId}/start":{"post":{"summary":"Start a VPS","operationId":"startVPSService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"VPS start accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/vps/btp_2fa3119e169653545530267a34d5adf0/status"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"],"description":"Start a VPS. A successful response includes the updated resource or operation status."}},"/services/vps/{serverId}/stop":{"post":{"summary":"Stop a VPS","operationId":"stopVPSService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"VPS stop accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/vps/btp_2fa3119e169653545530267a34d5adf0/status"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"],"description":"Stop a VPS. A successful response includes the updated resource or operation status."}},"/services/vps/{serverId}/restart":{"post":{"summary":"Restart a VPS","operationId":"restartVPSService","security":[{"ApiKeyBearer":[]}],"parameters":[{"name":"serverId","in":"path","required":true,"description":"Use the id returned by the corresponding service list.","schema":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$"},"example":"btp_2fa3119e169653545530267a34d5adf0"}],"responses":{"202":{"description":"VPS restart accepted","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionResultEnvelope"},"example":{"success":true,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","data":{"status":"accepted","status_url":"/v1/services/vps/btp_2fa3119e169653545530267a34d5adf0/status"}}}}},"401":{"description":"Authentication failed","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.unauthorized","message":"Authentication is required."}}}}},"403":{"description":"Access denied","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.auth.forbidden","message":"Access denied."}}}}},"404":{"description":"Resource not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.resource.not_found","message":"Resource not found."}}}}},"409":{"description":"Action cannot be executed in the current resource state.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.action.rejected","message":"Action cannot be executed in the current resource state."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["VPS"],"description":"Restart a VPS. A successful response includes the updated resource or operation status."}},"/openapi.json":{"get":{"summary":"Get the OpenAPI document","operationId":"getOpenApiV1","responses":{"200":{"description":"OpenAPI document","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"type":"object","additionalProperties":true},"example":{}}}},"404":{"description":"API route not found.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.route.not_found","message":"API route not found."}}}}},"429":{"description":"Request temporarily unavailable.","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.rate_limit.exceeded","message":"Rate limit exceeded."}}}}},"500":{"description":"Unexpected API error","headers":{"X-Request-ID":{"$ref":"#/components/headers/RequestId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"},"example":{"success":false,"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","error":{"code":"api.internal_error","message":"Internal API error."}}}}}},"tags":["General"],"security":[],"description":"Returns the OpenAPI document."}}},"components":{"securitySchemes":{"ApiKeyBearer":{"type":"http","scheme":"bearer","bearerFormat":"BoxToPlay API key"}},"headers":{"RequestId":{"description":"Request id to include when contacting support.","schema":{"type":"string"}},"RetryAfter":{"description":"Number of seconds to wait before retrying the request.","schema":{"type":"integer","minimum":1}},"ETag":{"description":"Strong entity tag of the current server icon.","schema":{"type":"string","pattern":"^\"sha256-[0-9a-f]{64}\"$"}},"ContentLength":{"description":"Size of the PNG body in bytes.","schema":{"type":"integer","minimum":1,"maximum":262144}},"CacheControl":{"description":"Caching directive for the current server icon.","schema":{"type":"string","const":"private, no-cache"}}},"schemas":{"ErrorDetails":{"type":"object","properties":{"expected":{"type":"string","example":"valid API request","description":"Expected of this resource."},"field":{"type":"string","example":"request","description":"Field of this resource."},"max":{"type":"integer","description":"Max of this resource.","example":42},"min":{"type":"integer","description":"Min of this resource.","example":42},"reason":{"type":"string","example":"invalid_request","description":"Reason of this resource."},"resource_type":{"type":"string","example":"minecraft","description":"Resource type of this resource."}},"description":"Error details returned when an API request cannot be completed.","example":{"expected":"valid API request","field":"request","max":42,"min":42,"reason":"invalid_request","resource_type":"minecraft"}},"Error":{"type":"object","properties":{"code":{"type":"string","example":"api.validation.invalid_request","description":"Stable error code for programmatic handling."},"details":{"$ref":"#/components/schemas/ErrorDetails","description":"Additional fields that help explain the result.","example":{"expected":"valid API request","field":"request","max":42,"min":42,"reason":"invalid_request","resource_type":"minecraft"}},"message":{"type":"string","example":"Invalid API request.","description":"Human-readable result or error message."}},"required":["code","message"],"description":"Error details returned when an API request cannot be completed.","example":{"code":"api.validation.invalid_request","details":{"expected":"valid API request","field":"request","max":42,"min":42,"reason":"invalid_request","resource_type":"minecraft"},"message":"Invalid API request."}},"ErrorEnvelope":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Error","description":"Error returned when the operation cannot be completed.","example":{"code":"api.validation.invalid_request","details":{"expected":"valid API request","field":"request","max":42,"min":42,"reason":"invalid_request","resource_type":"minecraft"},"message":"Invalid API request."}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":false,"example":false,"description":"Whether the request completed successfully."}},"required":["success","request_id","error"],"description":"Error details returned when an API request cannot be completed.","example":{"error":{"code":"api.validation.invalid_request","details":{"expected":"valid API request","field":"request","max":42,"min":42,"reason":"invalid_request","resource_type":"minecraft"},"message":"Invalid API request."},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":false}},"Index":{"type":"object","properties":{"name":{"type":"string","example":"BoxToPlay Public API","description":"Display name of this resource."},"openapi_url":{"type":"string","example":"/v1/openapi.json","format":"uri-reference","description":"Openapi URL of this resource."},"status_url":{"type":"string","example":"/v1/status","format":"uri-reference","description":"API path used to retrieve the latest status."},"version":{"type":"string","example":"v1","description":"Version of this resource."}},"required":["name","version","status_url","openapi_url"],"description":"Details of the index.","example":{"name":"BoxToPlay Public API","openapi_url":"/v1/openapi.json","status_url":"/v1/status","version":"v1"}},"Status":{"type":"object","properties":{"status":{"type":"string","enum":["ok"],"description":"Current status of the operation or resource.","example":"ok"},"version":{"type":"string","example":"v1","description":"Version of this resource."}},"required":["status","version"],"description":"Details of the status.","example":{"status":"ok","version":"v1"}},"Profile":{"type":"object","properties":{"email":{"type":"string","format":"email","description":"Email address associated with the account.","example":"developer@example.com"},"first_name":{"type":"string","example":"Ada","description":"First name of this resource."},"last_name":{"type":"string","example":"Lovelace","description":"Last name of this resource."}},"required":["first_name","last_name","email"],"description":"Details of the profile.","example":{"email":"developer@example.com","first_name":"Ada","last_name":"Lovelace"}},"AiCredit":{"type":"object","properties":{"available":{"type":"boolean","description":"Whether the account has an active AI plan.","example":true},"credit_remaining":{"type":"number","description":"AI credit still available during the current period.","example":15.0},"credit_total":{"type":"number","description":"Total AI credit for the current period.","example":20.0},"credit_used":{"type":"number","description":"AI credit consumed during the current period.","example":5.0},"currency":{"type":"string","description":"Account currency used for all credit amounts in this response.","example":"EUR"},"usage_percentage":{"type":"integer","description":"Percentage of the current AI credit already consumed.","example":25}},"required":["available","currency","credit_total","credit_used","credit_remaining","usage_percentage"],"description":"Details of the AI credit.","example":{"available":true,"credit_remaining":15.0,"credit_total":20.0,"credit_used":5.0,"currency":"EUR","usage_percentage":25}},"MinecraftService":{"type":"object","properties":{"display_id":{"type":"integer","description":"Numeric server number shown in BoxToPlay for recognition. API request paths require id.","minimum":1,"example":648},"expires_at":{"type":"string","description":"End of the currently paid rental period in UTC. Without renewal, the service becomes eligible for suspension after this time; this is not a guaranteed shutdown timestamp.","example":"2030-06-30T22:00:00Z","format":"date-time"},"id":{"type":"string","description":"Public service identifier accepted by API request paths.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_2fa3119e169653545530267a34d5adf0"},"name":{"type":"string","description":"Service display name followed by its BoxToPlay server number.","example":"Minecraft #648"},"runtime_type":{"type":"string","description":"Minecraft runtime used by the server: java, nukkit, bedrock or pocketmine.","enum":["java","nukkit","bedrock","pocketmine"],"example":"bedrock"}},"required":["id","display_id","name","expires_at","runtime_type"],"description":"Details of the Minecraft service.","example":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}},"MinecraftServiceDetail":{"type":"object","properties":{"connection_address":{"type":"string","description":"Connection address of this resource.","example":"play.example.com:25565"},"display_id":{"type":"integer","description":"Numeric server number shown in BoxToPlay for recognition. API request paths require id.","minimum":1,"example":648},"expires_at":{"type":"string","description":"End of the currently paid rental period in UTC. Without renewal, the service becomes eligible for suspension after this time; this is not a guaranteed shutdown timestamp.","example":"2030-06-30T22:00:00Z","format":"date-time"},"id":{"type":"string","description":"Public service identifier accepted by API request paths.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_2fa3119e169653545530267a34d5adf0"},"installed_modpack":{"$ref":"#/components/schemas/MinecraftInstalledModpack","description":"Installed modpack of this resource.","example":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"}},"name":{"type":"string","description":"Service display name followed by its BoxToPlay server number.","example":"Minecraft #648"},"plan":{"description":"Published catalog plan for this service. Null when the service is not on a public catalog plan.","oneOf":[{"$ref":"#/components/schemas/MinecraftPlan","description":"Published catalog plan."},{"type":"null","description":"Null when the service is not on a public catalog plan."}],"example":{"name":"Titan","currency":"EUR","monthly_price":14.99,"memory_bytes":16106127360,"cpu_threads":16}},"runtime_type":{"type":"string","description":"Minecraft runtime used by the server: java, nukkit, bedrock or pocketmine.","enum":["java","nukkit","bedrock","pocketmine"],"example":"bedrock"}},"required":["id","display_id","name","expires_at","connection_address","runtime_type","plan"],"description":"Details of the Minecraft service detail.","example":{"connection_address":"play.example.com:25565","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","installed_modpack":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"},"name":"Minecraft #648","plan":{"name":"Titan","currency":"EUR","monthly_price":14.99,"memory_bytes":16106127360,"cpu_threads":16},"runtime_type":"bedrock"}},"BungeeCordVelocityService":{"type":"object","properties":{"display_id":{"type":"integer","description":"Numeric server number shown in BoxToPlay for recognition. API request paths require id.","minimum":1,"example":648},"expires_at":{"type":"string","description":"End of the currently paid rental period in UTC. Without renewal, the service becomes eligible for suspension after this time; this is not a guaranteed shutdown timestamp.","example":"2030-06-30T22:00:00Z","format":"date-time"},"id":{"type":"string","description":"Public service identifier accepted by API request paths.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_2fa3119e169653545530267a34d5adf0"},"name":{"type":"string","description":"Service display name followed by its BoxToPlay server number.","example":"BungeeCord / Velocity #648"},"proxy_type":{"type":"string","description":"Proxy software used by the server.","enum":["bungeecord","velocity"],"example":"velocity"}},"required":["id","display_id","name","expires_at","proxy_type"],"description":"Details of the bungee cord velocity service.","example":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}},"BungeeCordVelocityServiceDetail":{"type":"object","properties":{"display_id":{"type":"integer","description":"Numeric server number shown in BoxToPlay for recognition. API request paths require id.","minimum":1,"example":648},"expires_at":{"type":"string","description":"End of the currently paid rental period in UTC. Without renewal, the service becomes eligible for suspension after this time; this is not a guaranteed shutdown timestamp.","example":"2030-06-30T22:00:00Z","format":"date-time"},"id":{"type":"string","description":"Public service identifier accepted by API request paths.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_2fa3119e169653545530267a34d5adf0"},"name":{"type":"string","description":"Service display name followed by its BoxToPlay server number.","example":"BungeeCord / Velocity #648"},"plan":{"description":"Published catalog plan for this service. Null when the service is not on a public catalog plan.","oneOf":[{"$ref":"#/components/schemas/BungeeCordVelocityPlan","description":"Published catalog plan."},{"type":"null","description":"Null when the service is not on a public catalog plan."}],"example":{"name":"BungeeCord / Velocity","currency":"EUR","monthly_price":2.99}},"proxy_type":{"type":"string","description":"Proxy software used by the server.","enum":["bungeecord","velocity"],"example":"velocity"}},"required":["id","display_id","name","expires_at","proxy_type","plan"],"description":"Details of the bungee cord velocity service detail.","example":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","plan":{"name":"BungeeCord / Velocity","currency":"EUR","monthly_price":2.99},"proxy_type":"velocity"}},"TeamSpeakService":{"type":"object","properties":{"display_id":{"type":"integer","description":"Numeric server number shown in BoxToPlay for recognition. API request paths require id.","minimum":1,"example":648},"expires_at":{"type":"string","description":"End of the currently paid rental period in UTC. Without renewal, the service becomes eligible for suspension after this time; this is not a guaranteed shutdown timestamp.","example":"2030-06-30T22:00:00Z","format":"date-time"},"id":{"type":"string","description":"Public service identifier accepted by API request paths.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_2fa3119e169653545530267a34d5adf0"},"name":{"type":"string","description":"Service display name followed by its BoxToPlay server number.","example":"TeamSpeak #648"}},"required":["id","display_id","name","expires_at"],"description":"Details of the team speak service.","example":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}},"TeamSpeakServiceDetail":{"type":"object","properties":{"display_id":{"type":"integer","description":"Numeric server number shown in BoxToPlay for recognition. API request paths require id.","minimum":1,"example":648},"expires_at":{"type":"string","description":"End of the currently paid rental period in UTC. Without renewal, the service becomes eligible for suspension after this time; this is not a guaranteed shutdown timestamp.","example":"2030-06-30T22:00:00Z","format":"date-time"},"id":{"type":"string","description":"Public service identifier accepted by API request paths.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_2fa3119e169653545530267a34d5adf0"},"name":{"type":"string","description":"Service display name followed by its BoxToPlay server number.","example":"TeamSpeak #648"},"plan":{"description":"Published catalog plan for this service. Null when the service is not on a public catalog plan.","oneOf":[{"$ref":"#/components/schemas/TeamSpeakPlan","description":"Published catalog plan."},{"type":"null","description":"Null when the service is not on a public catalog plan."}],"example":{"name":"TEAMSPEAK-32","currency":"EUR","monthly_price":9.28,"slots":32}}},"required":["id","display_id","name","expires_at","plan"],"description":"Details of the team speak service detail.","example":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648","plan":{"name":"TEAMSPEAK-32","currency":"EUR","monthly_price":9.28,"slots":32}}},"VPSService":{"type":"object","properties":{"connection_address":{"type":"string","description":"Preferred VPS connection address.","example":"my-server.vps.boxtoplay.com"},"display_id":{"type":"integer","description":"Numeric server number shown in BoxToPlay for recognition. API request paths require id.","minimum":1,"example":648},"expires_at":{"type":"string","description":"End of the currently paid rental period in UTC. Without renewal, the service becomes eligible for suspension after this time; this is not a guaranteed shutdown timestamp.","example":"2030-06-30T22:00:00Z","format":"date-time"},"id":{"type":"string","description":"Public service identifier accepted by API request paths.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_2fa3119e169653545530267a34d5adf0"},"ip_address":{"type":"string","description":"Public IPv4 address assigned to the VPS.","example":"203.0.113.10"},"name":{"type":"string","description":"Service display name followed by its BoxToPlay server number.","example":"VPS #648"}},"required":["id","display_id","name","expires_at"],"description":"Details of the VPS service.","example":{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}},"VPSServiceDetail":{"type":"object","properties":{"connection_address":{"type":"string","description":"Preferred VPS connection address.","example":"my-server.vps.boxtoplay.com"},"cpu_cores":{"type":"integer","description":"Number of virtual CPU cores allocated to the VPS.","minimum":1,"example":4},"disk_capacity_bytes":{"type":"integer","description":"Disk capacity allocated to the VPS, in bytes.","minimum":1,"example":53687091200},"display_id":{"type":"integer","description":"Numeric server number shown in BoxToPlay for recognition. API request paths require id.","minimum":1,"example":648},"expires_at":{"type":"string","description":"End of the currently paid rental period in UTC. Without renewal, the service becomes eligible for suspension after this time; this is not a guaranteed shutdown timestamp.","example":"2030-06-30T22:00:00Z","format":"date-time"},"id":{"type":"string","description":"Public service identifier accepted by API request paths.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_2fa3119e169653545530267a34d5adf0"},"ip_address":{"type":"string","description":"Public IPv4 address assigned to the VPS.","example":"203.0.113.10"},"memory_bytes":{"type":"integer","description":"Memory allocated to the VPS, in bytes.","minimum":1,"example":8589934592},"name":{"type":"string","description":"Service display name followed by its BoxToPlay server number.","example":"VPS #648"},"operating_system":{"type":"string","description":"Installed operating system.","example":"Windows Server 2025"},"plan":{"description":"Published catalog plan for this service. Null when the service is not on a public catalog plan.","oneOf":[{"$ref":"#/components/schemas/VPSPlan","description":"Published catalog plan."},{"type":"null","description":"Null when the service is not on a public catalog plan."}],"example":{"name":"VPS2-WIN","currency":"EUR","monthly_price":13.99,"windows_available":true,"bandwidth_mbps":250}}},"required":["id","display_id","name","expires_at","plan"],"description":"Details of the VPS service detail.","example":{"connection_address":"my-server.vps.boxtoplay.com","cpu_cores":4,"disk_capacity_bytes":53687091200,"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","memory_bytes":8589934592,"name":"VPS #648","operating_system":"Windows Server 2025","plan":{"name":"VPS2-WIN","currency":"EUR","monthly_price":13.99,"windows_available":true,"bandwidth_mbps":250}}},"ServicePlan":{"type":"object","properties":{"currency":{"type":"string","description":"Account currency used for monthly_price.","pattern":"^[A-Z]{3}$","example":"EUR"},"monthly_price":{"type":"number","description":"Standard monthly catalog price in the account currency. This is never the billed amount, a promotion, or a duration discount.","minimum":0,"example":0.0},"name":{"type":"string","description":"Public name of this hosting plan.","example":"Example server"}},"required":["name","currency","monthly_price"],"additionalProperties":false,"example":{"name":"Titan","currency":"EUR","monthly_price":14.99},"description":"Details of the service plan."},"MinecraftPlan":{"type":"object","properties":{"cpu_threads":{"type":"integer","description":"Published CPU threads included in this catalog plan.","minimum":1,"example":16},"currency":{"type":"string","description":"Account currency used for monthly_price.","pattern":"^[A-Z]{3}$","example":"EUR"},"memory_bytes":{"type":"integer","description":"Published memory included in this catalog plan, in bytes.","minimum":1,"example":16106127360},"monthly_price":{"type":"number","description":"Standard monthly catalog price in the account currency. This is never the billed amount, a promotion, or a duration discount.","minimum":0,"example":14.99},"name":{"type":"string","description":"Public name of this hosting plan.","enum":["Guardian","Titan","Leviathan"],"example":"Titan"}},"required":["name","currency","monthly_price","memory_bytes","cpu_threads"],"additionalProperties":false,"example":{"name":"Titan","currency":"EUR","monthly_price":14.99,"memory_bytes":16106127360,"cpu_threads":16},"examples":[{"name":"Titan","currency":"EUR","monthly_price":14.99,"memory_bytes":16106127360,"cpu_threads":16},{"name":"Leviathan","currency":"EUR","monthly_price":29.99,"memory_bytes":34359738368,"cpu_threads":32}],"description":"Details of the Minecraft plan."},"BungeeCordVelocityPlan":{"type":"object","properties":{"currency":{"type":"string","description":"Account currency used for monthly_price.","pattern":"^[A-Z]{3}$","example":"EUR"},"monthly_price":{"type":"number","description":"Standard monthly catalog price in the account currency. This is never the billed amount, a promotion, or a duration discount.","minimum":0,"example":2.99},"name":{"type":"string","description":"Public name of this hosting plan.","enum":["BungeeCord / Velocity","BungeeCord"],"example":"BungeeCord / Velocity"}},"required":["name","currency","monthly_price"],"additionalProperties":false,"example":{"name":"BungeeCord / Velocity","currency":"EUR","monthly_price":2.99},"description":"Details of the bungee cord velocity plan."},"TeamSpeakPlan":{"type":"object","properties":{"currency":{"type":"string","description":"Account currency used for monthly_price.","pattern":"^[A-Z]{3}$","example":"EUR"},"monthly_price":{"type":"number","description":"Standard monthly catalog price in the account currency. This is never the billed amount, a promotion, or a duration discount.","minimum":0,"example":9.28},"name":{"type":"string","description":"Public name of this hosting plan.","enum":["TEAMSPEAK-8","TEAMSPEAK-16","TEAMSPEAK-32","TEAMSPEAK-64","TEAMSPEAK-128","TEAMSPEAK-256","TEAMSPEAK-512"],"example":"TEAMSPEAK-32"},"slots":{"type":"integer","description":"Published slot count included in this catalog plan.","minimum":1,"example":32}},"required":["name","currency","monthly_price","slots"],"additionalProperties":false,"example":{"name":"TEAMSPEAK-32","currency":"EUR","monthly_price":9.28,"slots":32},"description":"Details of the team speak plan."},"VPSPlan":{"type":"object","properties":{"bandwidth_mbps":{"type":"integer","description":"Published network bandwidth included in this catalog plan, in megabits per second.","minimum":1,"example":250},"currency":{"type":"string","description":"Account currency used for monthly_price.","pattern":"^[A-Z]{3}$","example":"EUR"},"monthly_price":{"type":"number","description":"Standard monthly catalog price in the account currency. This is never the billed amount, a promotion, or a duration discount.","minimum":0,"example":13.99},"name":{"type":"string","description":"Public name of this hosting plan.","enum":["VPS1-TUX","VPS2-TUX","VPS3-TUX","VPS4-TUX","VPS1-WIN","VPS2-WIN","VPS3-WIN","VPS4-WIN"],"example":"VPS2-WIN"},"windows_available":{"type":"boolean","description":"Whether this catalog plan can run Windows.","example":true}},"required":["name","currency","monthly_price","windows_available","bandwidth_mbps"],"additionalProperties":false,"example":{"name":"VPS2-WIN","currency":"EUR","monthly_price":13.99,"windows_available":true,"bandwidth_mbps":250},"description":"Details of the VPS plan."},"VPSSettings":{"type":"object","properties":{"connection_address":{"type":"string","description":"Preferred VPS connection address.","example":"my-server.vps.boxtoplay.com"},"dns":{"type":"string","description":"Custom VPS subdomain label, without the .vps.boxtoplay.com suffix.","example":"my-server"},"ip_address":{"type":"string","description":"Public IPv4 address assigned to the VPS.","example":"203.0.113.10"}},"description":"Details of the VPS settings.","example":{"connection_address":"my-server.vps.boxtoplay.com","dns":"my-server","ip_address":"203.0.113.10"}},"ServiceInventory":{"$defs":{"PublicApiLiteServiceDto":{"type":"object","properties":{"available":{"type":"boolean","description":"Whether this Lite service can be used with the parent service plan."},"display_id":{"type":"integer","description":"Numeric server number shown in BoxToPlay for recognition. API request paths require id."},"domain":{"type":"string","description":"Configured domain when Web Hosting Lite is enabled."},"enabled":{"type":"boolean","description":"Whether this Lite service has been activated."},"id":{"type":"string","description":"Public service identifier accepted by API request paths."},"included":{"type":"boolean","description":"Whether this Lite service is included with the parent service plan."},"name":{"type":"string","description":"Service display name followed by its BoxToPlay server number."},"parent_display_id":{"type":"integer","description":"Numeric parent service identifier shown in BoxToPlay."},"parent_service_id":{"type":"string","description":"Parent service identifier to use in API request paths."},"parent_service_type":{"type":"string","description":"Type of the service that includes this Lite service."},"php_version":{"type":"integer","description":"Configured PHP version when available."},"port":{"type":"integer","description":"Connection port when Mumble Lite is enabled."},"service_type":{"type":"string","description":"Lite service type."}}}},"type":"object","properties":{"bungee":{"type":"array","items":{"$ref":"#/components/schemas/BungeeCordVelocityService"},"description":"Bungee included in this resource.","example":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}]},"minecraft":{"type":"array","items":{"$ref":"#/components/schemas/MinecraftService"},"description":"Minecraft included in this resource.","example":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}]},"mumble_lite":{"type":"array","items":{"$ref":"#/components/schemas/LiteService"},"example":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Mumble Lite #648","service_type":"mumble_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"port":64738}],"description":"Mumble lite included in this resource."},"mysql_lite":{"type":"array","items":{"$ref":"#/components/schemas/LiteService"},"example":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}],"description":"MySQL lite included in this resource."},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"},"teamspeak":{"type":"array","items":{"$ref":"#/components/schemas/TeamSpeakService"},"description":"TeamSpeak included in this resource.","example":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}]},"vps":{"type":"array","items":{"$ref":"#/components/schemas/VPSService"},"description":"VPS included in this resource.","example":[{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}]},"web_hosting_lite":{"type":"array","items":{"$ref":"#/components/schemas/LiteService"},"example":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}],"description":"Web hosting lite included in this resource."}},"required":["minecraft","bungee","teamspeak","vps","next_cursor"],"description":"Details of the service inventory.","example":{"bungee":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}],"minecraft":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}],"mumble_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Mumble Lite #648","service_type":"mumble_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"port":64738}],"mysql_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}],"next_cursor":"pg_example123","teamspeak":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}],"vps":[{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}],"web_hosting_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}]}},"MinecraftServiceList":{"type":"object","properties":{"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"},"services":{"type":"array","items":{"$ref":"#/components/schemas/MinecraftService"},"description":"Services included in this resource.","example":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}]}},"required":["services","next_cursor"],"description":"Page of Minecraft service entries.","example":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}]}},"BungeeCordVelocityServiceList":{"type":"object","properties":{"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"},"services":{"type":"array","items":{"$ref":"#/components/schemas/BungeeCordVelocityService"},"description":"Services included in this resource.","example":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}]}},"required":["services","next_cursor"],"description":"Page of bungee cord velocity service entries.","example":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}]}},"TeamSpeakServiceList":{"type":"object","properties":{"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"},"services":{"type":"array","items":{"$ref":"#/components/schemas/TeamSpeakService"},"description":"Services included in this resource.","example":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}]}},"required":["services","next_cursor"],"description":"Page of team speak service entries.","example":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}]}},"VPSServiceList":{"type":"object","properties":{"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"},"services":{"type":"array","items":{"$ref":"#/components/schemas/VPSService"},"description":"Services included in this resource.","example":[{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}]}},"required":["services","next_cursor"],"description":"Page of VPS service entries.","example":{"next_cursor":"pg_example123","services":[{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}]}},"RuntimeStatus":{"type":"object","properties":{"allowed_actions":{"type":"array","maxItems":3,"uniqueItems":true,"items":{"type":"string","enum":["start","stop","restart"]},"example":["stop","restart"],"description":"Power actions available for the service in its current state. An empty list means that no power action is currently available."},"checked_at":{"type":"string","format":"date-time","description":"Date and time when the value was last checked.","example":"2026-07-14T12:00:00Z"},"runtime_status":{"type":"string","enum":["unknown","stopping","stopped","starting","started","deleting","installing"],"description":"Current runtime state of the service.","example":"unknown"}},"required":["runtime_status","checked_at","allowed_actions"],"example":{"runtime_status":"started","checked_at":"2026-07-15T12:00:00Z","allowed_actions":["stop","restart"]},"description":"Details of the runtime status."},"MinecraftMetrics":{"type":"object","properties":{"checked_at":{"type":"string","description":"UTC time when metric collection completed.","format":"date-time","example":"2026-07-14T12:00:00Z"},"cpu_usage_percent":{"type":"integer","description":"CPU usage where 100 represents one logical CPU core. Values can exceed 100 on multi-core systems.","example":65},"disk_used_bytes":{"type":"integer","description":"Disk space currently used by the service files, in bytes.","minimum":0,"example":5368709120},"display_cpu_usage_percent":{"type":"integer","description":"CPU usage normalized with the same capacity rules as the BoxToPlay panel, from 0 to 100 percent.","minimum":0,"maximum":100,"example":42},"display_memory_limit_mb":{"type":"integer","description":"Memory capacity used by BoxToPlay interfaces to present this Minecraft server usage, in megabytes.","minimum":1,"example":6144},"memory_usage_mb":{"type":"integer","description":"Current server memory usage in megabytes.","example":2048},"players_max":{"type":"integer","description":"Configured maximum number of players.","example":3},"players_online":{"type":"integer","description":"Players currently connected to the Minecraft server. Omitted when the player count is unavailable. Zero is reported when the server is confirmed stopped.","example":3}},"required":["checked_at","disk_used_bytes"],"description":"Details of the Minecraft metrics.","example":{"checked_at":"2026-07-14T12:00:00Z","cpu_usage_percent":65,"disk_used_bytes":5368709120,"display_cpu_usage_percent":42,"display_memory_limit_mb":6144,"memory_usage_mb":2048,"players_max":3,"players_online":3}},"PlayerMetricsHistoryPoint":{"type":"object","properties":{"cpu_usage_percent_average":{"type":"number","description":"Average CPU usage percent during this sample.","minimum":0,"example":34.2},"cpu_usage_percent_peak":{"type":"number","description":"Peak CPU usage percent during this sample.","minimum":0,"example":61.8},"disk_read_bytes_per_second":{"type":"number","description":"Disk read rate in bytes per second during this sample. This is I/O activity, not disk space usage.","minimum":0,"example":4096.0},"disk_write_bytes_per_second":{"type":"number","description":"Disk write rate in bytes per second during this sample. This is I/O activity, not disk space usage.","minimum":0,"example":8192.0},"memory_limit_bytes":{"type":"integer","description":"Memory limit in bytes at this sample.","minimum":0,"example":6442450944},"memory_used_bytes_average":{"type":"number","description":"Average memory usage in bytes during this sample.","minimum":0,"example":2.147483648E9},"memory_used_bytes_peak":{"type":"integer","description":"Peak memory usage in bytes during this sample.","minimum":0,"example":2684354560},"network_in_bytes_per_second":{"type":"number","description":"Inbound network rate in bytes per second during this sample.","minimum":0,"example":125000.0},"network_out_bytes_per_second":{"type":"number","description":"Outbound network rate in bytes per second during this sample.","minimum":0,"example":98000.0},"players_average":{"type":"number","description":"Average number of connected players during this sample.","minimum":0,"example":12.5},"players_capacity":{"type":"integer","description":"Player slot capacity at this sample.","minimum":0,"example":40},"players_peak":{"type":"integer","description":"Peak number of connected players during this sample.","minimum":0,"example":18},"sampled_at":{"type":"string","description":"UTC timestamp of this sample.","example":"2030-06-15T09:55:00Z","format":"date-time"},"storage_capacity_bytes":{"type":"integer","description":"Storage capacity reference for this sample, in bytes. Observed usage can be higher.","minimum":0,"example":536870912000},"storage_used_bytes_average":{"type":"number","description":"Average disk space used by the service files during this sample, in bytes.","minimum":0,"example":5.36870912E9},"storage_used_bytes_peak":{"type":"integer","description":"Peak disk space used by the service files during this sample, in bytes.","minimum":0,"example":5905580032}},"required":["sampled_at"],"example":{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000},"description":"Details of the player metrics history point."},"MinecraftMetricsHistory":{"type":"object","properties":{"collected_at":{"type":"string","description":"UTC time when this Minecraft history snapshot was produced.","example":"2030-06-15T10:00:00Z","format":"date-time"},"history":{"description":"Chronological Minecraft metric samples for the selected period, limited to 500 points. Each point contains only the measurements available for its interval; an empty list means no samples are available.","type":"array","items":{"$ref":"#/components/schemas/PlayerMetricsHistoryPoint"},"maxItems":500,"example":[{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000}]},"timeframe":{"type":"string","description":"History timeframe: hour, day, week, month or year.","enum":["hour","day","week","month","year"],"example":"hour"}},"required":["timeframe","collected_at","history"],"example":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000}]},"description":"Details of the Minecraft metrics history."},"MinecraftHealth":{"type":"object","properties":{"checked_at":{"type":"string","description":"UTC time when the health check completed.","format":"date-time","example":"2026-07-14T12:00:00Z"},"default_map":{"type":"string","description":"Default Minecraft map reported by the server. Empty when no map is reported.","example":"world"},"healthy":{"type":"boolean","description":"True when no issue is currently reported.","example":true},"server_log_issue_count":{"type":"integer","description":"Number of reported server issues.","example":3},"viewer_map_issue_count":{"type":"integer","description":"Number of reported Viewer HD issues.","example":3}},"required":["checked_at","default_map","healthy","server_log_issue_count","viewer_map_issue_count"],"description":"Details of the Minecraft health.","example":{"checked_at":"2026-07-14T12:00:00Z","default_map":"world","healthy":true,"server_log_issue_count":3,"viewer_map_issue_count":3}},"MinecraftRuntime":{"type":"object","properties":{"checked_at":{"type":"string","description":"UTC time when this runtime information was checked.","format":"date-time","example":"2026-07-14T12:00:00Z"},"issue":{"type":"string","description":"Runtime issue code: none, no_launch_candidate, openmod_selection_invalid or openmod_selection_invalid_fallback_selected.","enum":["none","no_launch_candidate","openmod_selection_invalid","openmod_selection_invalid_fallback_selected"],"example":"none"},"launch_candidate_count":{"type":"integer","description":"Number of launch files considered for this server.","minimum":0,"example":3},"launch_mode":{"type":"string","description":"Minecraft launch mode: jar, forge_unix_args, bedrock or none.","enum":["jar","forge_unix_args","bedrock","none"],"example":"jar"},"launch_ready":{"type":"boolean","description":"Whether the Minecraft server is ready to start with its current configuration.","example":true},"openmod_artifact_relative_path":{"type":"string","description":"Configured OpenMod JAR path relative to the Minecraft server folder. It may refer to a missing file.","example":"server.properties"},"openmod_configured":{"type":"boolean","description":"True when an OpenMod JAR selection is configured for this server.","example":true},"openmod_selection_valid":{"type":"boolean","description":"Whether the configured OpenMod JAR is available for launch. Null when OpenMod is not configured.","example":true},"selected_artifact_location":{"type":"string","description":"Location of the selected launch file: root, libraries or nested.","enum":["root","libraries","nested"],"example":"root"},"selected_artifact_name":{"type":"string","description":"File name used to start the server. Null when no launch file is available.","example":"Example server"},"selected_artifact_relative_path":{"type":"string","description":"Path of the file used to start the server, relative to the Minecraft server folder.","example":"server.properties"}},"required":["checked_at","launch_ready","launch_mode","launch_candidate_count","openmod_configured","issue"],"description":"Details of the Minecraft runtime.","example":{"checked_at":"2026-07-14T12:00:00Z","issue":"none","launch_candidate_count":3,"launch_mode":"jar","launch_ready":true,"openmod_artifact_relative_path":"server.properties","openmod_configured":true,"openmod_selection_valid":true,"selected_artifact_location":"root","selected_artifact_name":"Example server","selected_artifact_relative_path":"server.properties"}},"MinecraftActivity":{"type":"object","properties":{"action":{"type":"string","description":"Activity category.","example":"start"},"occurred_at":{"type":"string","description":"UTC time when the activity was recorded.","format":"date-time","example":"2026-07-14T12:00:00Z"}},"required":["action","occurred_at"],"description":"Details of the Minecraft activity.","example":{"action":"start","occurred_at":"2026-07-14T12:00:00Z"}},"MinecraftActivityList":{"type":"object","properties":{"activities":{"description":"Activity entries in reverse-chronological order.","type":"array","items":{"$ref":"#/components/schemas/MinecraftActivity"},"example":[{"action":"start","occurred_at":"2026-07-14T12:00:00Z"}]},"next_cursor":{"type":["string","null"],"description":"Cursor to send with the next request, or null when the current page is complete.","example":"pg_example123"}},"required":["activities","next_cursor"],"description":"Page of Minecraft activity entries.","example":{"activities":[{"action":"start","occurred_at":"2026-07-14T12:00:00Z"}],"next_cursor":"pg_example123"}},"MinecraftRconPasswordRotation":{"type":"object","properties":{"status":{"type":"string","description":"Confirms that the RCON password was replaced.","enum":["rotated"],"example":"rotated"}},"required":["status"],"description":"Details of the Minecraft RCON password rotation.","example":{"status":"rotated"}},"MinecraftRconPassword":{"type":"object","properties":{"password":{"type":"string","description":"Current RCON password of this Minecraft server.","example":"K7m#pQ2vL9x$Wn4t"}},"required":["password"],"description":"Details of the Minecraft RCON password.","example":{"password":"K7m#pQ2vL9x$Wn4t"}},"MinecraftConsoleCommandResult":{"type":"object","properties":{"output":{"type":"string","description":"Response returned by the Minecraft console command. This value is empty when the command succeeds without producing a response.","maxLength":65536,"example":"There are 0 of a max of 20 players online:"},"output_truncated":{"type":"boolean","description":"Whether the returned response was shortened.","example":false},"status":{"type":"string","description":"Execution status of the console command.","enum":["completed"],"example":"completed"}},"required":["status","output","output_truncated"],"example":{"status":"completed","output":"There are 0 of a max of 20 players online:","output_truncated":false},"description":"Details of the Minecraft console command result."},"MinecraftJavaAgentEntry":{"type":"object","properties":{"id":{"type":"string","description":"Identifier used to select this Java agent file or open this directory.","maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$","example":"JAVA_AGENT_ID"},"name":{"type":"string","description":"Java agent file or directory name.","maxLength":255,"example":"agent.jar"},"type":{"type":"string","description":"Entry type: file or directory.","enum":["file","directory"],"example":"file"}},"required":["id","name","type"],"additionalProperties":false,"description":"Details of the Minecraft java agent entry.","example":{"id":"JAVA_AGENT_ID","name":"agent.jar","type":"file"}},"MinecraftJavaAgentList":{"type":"object","properties":{"directory_id":{"type":["string","null"],"description":"Identifier of the listed directory. Null indicates the service root.","maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$","example":"resource_example123"},"entries":{"description":"Java agent files and child directories.","type":"array","items":{"$ref":"#/components/schemas/MinecraftJavaAgentEntry"},"maxItems":500,"example":[{"id":"JAVA_AGENT_ID","name":"agent.jar","type":"file"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["directory_id","entries","next_cursor"],"additionalProperties":false,"description":"Page of Minecraft java agent entries.","example":{"directory_id":"resource_example123","entries":[{"id":"JAVA_AGENT_ID","name":"agent.jar","type":"file"}],"next_cursor":"pg_example123"}},"MinecraftConfigurationSummary":{"type":"object","properties":{"dns":{"type":"string","maxLength":63,"pattern":"^[a-z0-9]*$","example":"play","description":"Dns of this resource."},"name":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9 ]*$","description":"Display name of this resource.","example":"Example server"},"runtime_type":{"type":"string","enum":["java","nukkit","bedrock","pocketmine"],"description":"Runtime type of this resource.","example":"java"},"slots":{"type":"integer","minimum":1,"maximum":1000,"description":"Slots of this resource.","example":20}},"additionalProperties":false,"required":["name","dns","slots","runtime_type"],"description":"Details of the Minecraft configuration summary.","example":{"dns":"play","name":"Example server","runtime_type":"java","slots":20}},"MinecraftServerSettings":{"type":"object","properties":{"additional_startup_parameters":{"type":"string","description":"Additional arguments passed to the Minecraft server after the JAR. JVM options are not accepted. An empty string clears the value.","maxLength":512,"pattern":"^[A-Za-z0-9+_=.: \\-]*$","example":"--safeMode"},"allow_cheats":{"type":"boolean","description":"Whether cheats are allowed. Official Bedrock servers only.","example":false},"allow_flight":{"type":"boolean","description":"Whether flight is allowed.","example":true},"allow_nether":{"type":"boolean","description":"Whether Nether travel is allowed.","example":true},"announce_player_achievements":{"type":"boolean","description":"Whether player achievements are announced.","example":true},"command_blocks_enabled":{"type":"boolean","description":"Whether command blocks are enabled.","example":true},"daily_reboot_hour":{"type":"integer","description":"Daily reboot hour in the server time zone, from 0 to 23.","minimum":0,"maximum":23,"example":0},"difficulty":{"type":"string","description":"Minecraft difficulty: peaceful, easy, normal or hard.","enum":["peaceful","easy","normal","hard"],"example":"peaceful"},"dns":{"type":"string","description":"Custom BoxToPlay DNS label for Java servers. An empty value means that no custom DNS label is configured.","maxLength":63,"pattern":"^[a-z0-9]*$","example":"play"},"enable_status":{"type":"boolean","description":"Whether the server appears online in the multiplayer list. Minecraft 1.16 or later.","example":true},"enforce_whitelist":{"type":"boolean","description":"Whether players not on the whitelist are kicked when the list is reloaded.","example":true},"force_gamemode":{"type":"boolean","description":"Whether players are forced into the configured game mode when they join.","example":true},"gamemode":{"type":"string","description":"Default game mode: survival, creative, adventure or spectator.","enum":["survival","creative","adventure","spectator"],"example":"survival"},"generate_structures":{"type":"boolean","description":"Whether structures are generated in new terrain.","example":true},"grow_trees":{"type":"boolean","description":"Whether trees can grow.","example":true},"hide_online_players":{"type":"boolean","description":"Whether the server list hides connected player names. Minecraft 1.18 or later.","example":true},"java_agent_id":{"type":"string","description":"Java agent file identifier returned by the Java agent list. An empty string disables the agent.","maxLength":8192,"pattern":"^(|[A-Za-z0-9_-]+)$","example":"JAVA_AGENT_ID"},"java_agent_name":{"type":"string","description":"Selected Java agent file name. This field is omitted when no Java agent is selected.","maxLength":255,"example":"agent.jar"},"java_version":{"type":"integer","description":"Java runtime version: 0 for automatic selection, or 8, 17, 21 or 25.","enum":[0,8,17,21,25],"example":0},"max_build_height":{"type":"integer","description":"Maximum build height, from 5 to 256.","minimum":5,"maximum":256,"example":5},"motd":{"type":"string","description":"Minecraft message of the day. An empty string clears the value.","maxLength":256,"example":"Welcome to the server"},"name":{"type":"string","description":"Customer-facing Minecraft server name. The default name is returned when no custom name is set.","maxLength":64,"pattern":"^[A-Za-z0-9 ]*$","example":"Example server"},"online_mode":{"type":"boolean","description":"Whether Minecraft account authentication is enabled.","example":true},"player_idle_timeout_minutes":{"type":"integer","description":"Idle-player timeout in minutes, from 0 to 60.","minimum":0,"maximum":60,"example":3},"pvp_enabled":{"type":"boolean","description":"Whether player-versus-player combat is enabled.","example":true},"require_resource_pack":{"type":"boolean","description":"Whether players must accept the resource pack. Minecraft 1.17 or later.","example":true},"resource_pack_sha1":{"type":"string","description":"SHA-1 hash of the resource pack. An empty string clears the value.","maxLength":40,"example":"203.0.113.10"},"runtime_type":{"type":"string","description":"Minecraft runtime used by the server: java, nukkit, bedrock or pocketmine.","enum":["java","nukkit","bedrock","pocketmine"],"example":"java"},"server_name":{"type":"string","description":"Minecraft server-name value. This is distinct from the BoxToPlay customer-facing name.","maxLength":128,"example":"Example server"},"simulation_distance":{"type":"integer","description":"Simulation distance, from 3 to 32. Minecraft 1.18 or later. Older versions ignore this setting.","minimum":3,"maximum":32,"example":3},"slots":{"type":"integer","description":"Configured maximum number of Minecraft player slots.","minimum":1,"maximum":1000,"example":20},"spawn_animals":{"type":"boolean","description":"Whether animals can spawn.","example":true},"spawn_monsters":{"type":"boolean","description":"Whether monsters can spawn.","example":true},"spawn_npcs":{"type":"boolean","description":"Whether NPCs can spawn.","example":true},"spawn_protection":{"type":"integer","description":"Spawn radius, from 0 to 50.","minimum":0,"maximum":50,"example":0},"view_distance":{"type":"integer","description":"View distance, from 1 to 32. Values above 16 require Minecraft 1.14 or later.","minimum":1,"maximum":32,"example":1},"whitelist_enabled":{"type":"boolean","description":"Whether the Minecraft whitelist is enabled.","example":true}},"additionalProperties":false,"required":["name","dns","slots","runtime_type","server_name","difficulty","gamemode","online_mode","whitelist_enabled","view_distance","daily_reboot_hour"],"description":"Details of the Minecraft server settings.","example":{"additional_startup_parameters":"--safeMode","allow_cheats":false,"allow_flight":true,"allow_nether":true,"announce_player_achievements":true,"command_blocks_enabled":true,"daily_reboot_hour":0,"difficulty":"peaceful","dns":"play","enable_status":true,"enforce_whitelist":true,"force_gamemode":true,"gamemode":"survival","generate_structures":true,"grow_trees":true,"hide_online_players":true,"java_agent_id":"JAVA_AGENT_ID","java_agent_name":"agent.jar","java_version":0,"max_build_height":5,"motd":"Welcome to the server","name":"Example server","online_mode":true,"player_idle_timeout_minutes":3,"pvp_enabled":true,"require_resource_pack":true,"resource_pack_sha1":"203.0.113.10","runtime_type":"java","server_name":"Example server","simulation_distance":3,"slots":20,"spawn_animals":true,"spawn_monsters":true,"spawn_npcs":true,"spawn_protection":0,"view_distance":1,"whitelist_enabled":true}},"MinecraftServerSettingsUpdate":{"type":"object","properties":{"additional_startup_parameters":{"type":"string","description":"Additional arguments passed to the Minecraft server after the JAR. JVM options are not accepted. An empty string clears the value.","maxLength":512,"pattern":"^[A-Za-z0-9+_=.: \\-]*$","example":"--safeMode"},"allow_cheats":{"type":"boolean","description":"Whether cheats are allowed. Official Bedrock servers only.","example":false},"allow_flight":{"type":"boolean","description":"Whether flight is allowed.","example":true},"allow_nether":{"type":"boolean","description":"Whether Nether travel is allowed.","example":true},"announce_player_achievements":{"type":"boolean","description":"Whether player achievements are announced.","example":true},"command_blocks_enabled":{"type":"boolean","description":"Whether command blocks are enabled.","example":true},"daily_reboot_hour":{"type":"integer","description":"Daily reboot hour in the server time zone, from 0 to 23.","minimum":0,"maximum":23,"example":0},"difficulty":{"type":"string","description":"Minecraft difficulty: peaceful, easy, normal or hard.","enum":["peaceful","easy","normal","hard"],"example":"peaceful"},"enable_status":{"type":"boolean","description":"Whether the server appears online in the multiplayer list. Minecraft 1.16 or later.","example":true},"enforce_whitelist":{"type":"boolean","description":"Whether players not on the whitelist are kicked when the list is reloaded.","example":true},"force_gamemode":{"type":"boolean","description":"Whether players are forced into the configured game mode when they join.","example":true},"gamemode":{"type":"string","description":"Default game mode: survival, creative, adventure or spectator.","enum":["survival","creative","adventure","spectator"],"example":"survival"},"generate_structures":{"type":"boolean","description":"Whether structures are generated in new terrain.","example":true},"grow_trees":{"type":"boolean","description":"Whether trees can grow.","example":true},"hide_online_players":{"type":"boolean","description":"Whether the server list hides connected player names. Minecraft 1.18 or later.","example":true},"java_agent_id":{"type":"string","description":"Java agent file identifier returned by the Java agent list. An empty string disables the agent.","maxLength":8192,"pattern":"^(|[A-Za-z0-9_-]+)$","example":"JAVA_AGENT_ID"},"java_version":{"type":"integer","description":"Java runtime version: 0 for automatic selection, or 8, 17, 21 or 25.","enum":[0,8,17,21,25],"example":0},"max_build_height":{"type":"integer","description":"Maximum build height, from 5 to 256.","minimum":5,"maximum":256,"example":5},"motd":{"type":"string","description":"Minecraft message of the day. An empty string clears the value.","maxLength":256,"example":"Welcome to the server"},"online_mode":{"type":"boolean","description":"Whether Minecraft account authentication is enabled.","example":true},"player_idle_timeout_minutes":{"type":"integer","description":"Idle-player timeout in minutes, from 0 to 60.","minimum":0,"maximum":60,"example":3},"pvp_enabled":{"type":"boolean","description":"Whether player-versus-player combat is enabled.","example":true},"require_resource_pack":{"type":"boolean","description":"Whether players must accept the resource pack. Minecraft 1.17 or later.","example":true},"resource_pack_sha1":{"type":"string","description":"SHA-1 hash of the resource pack. An empty string clears the value.","maxLength":40,"example":"203.0.113.10"},"server_name":{"type":"string","description":"Minecraft server-name value. This is distinct from the BoxToPlay customer-facing name.","maxLength":128,"example":"Example server"},"simulation_distance":{"type":"integer","description":"Simulation distance, from 3 to 32. Minecraft 1.18 or later. Older versions ignore this setting.","minimum":3,"maximum":32,"example":3},"spawn_animals":{"type":"boolean","description":"Whether animals can spawn.","example":true},"spawn_monsters":{"type":"boolean","description":"Whether monsters can spawn.","example":true},"spawn_npcs":{"type":"boolean","description":"Whether NPCs can spawn.","example":true},"spawn_protection":{"type":"integer","description":"Spawn radius, from 0 to 50.","minimum":0,"maximum":50,"example":0},"view_distance":{"type":"integer","description":"View distance, from 1 to 32. Values above 16 require Minecraft 1.14 or later.","minimum":1,"maximum":32,"example":1},"whitelist_enabled":{"type":"boolean","description":"Whether the Minecraft whitelist is enabled.","example":true}},"additionalProperties":false,"minProperties":1,"description":"Fields accepted for this Minecraft server settings update.","example":{"additional_startup_parameters":"--safeMode","allow_cheats":false,"allow_flight":true,"allow_nether":true,"announce_player_achievements":true,"command_blocks_enabled":true,"daily_reboot_hour":0,"difficulty":"peaceful","enable_status":true,"enforce_whitelist":true,"force_gamemode":true,"gamemode":"survival","generate_structures":true,"grow_trees":true,"hide_online_players":true,"java_agent_id":"JAVA_AGENT_ID","java_version":0,"max_build_height":5,"motd":"Welcome to the server","online_mode":true,"player_idle_timeout_minutes":3,"pvp_enabled":true,"require_resource_pack":true,"resource_pack_sha1":"203.0.113.10","server_name":"Example server","simulation_distance":3,"spawn_animals":true,"spawn_monsters":true,"spawn_npcs":true,"spawn_protection":0,"view_distance":1,"whitelist_enabled":true}},"MinecraftPlayer":{"type":"object","properties":{"banned":{"type":"boolean","description":"Whether this player is configured in the player ban list.","example":false},"ip_banned":{"type":"boolean","description":"Whether this entry is configured in the IP ban list.","example":false},"name":{"type":"string","description":"Minecraft player name, or an IP address when this entry represents an IP ban.","maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$","example":"Alex"},"operator":{"type":"boolean","description":"Whether this player is configured as a server operator.","example":true},"whitelisted":{"type":"boolean","description":"Whether this player is configured in the server whitelist.","example":true}},"additionalProperties":false,"required":["name","operator","whitelisted","banned","ip_banned"],"description":"Details of the Minecraft player.","example":{"banned":false,"ip_banned":false,"name":"Alex","operator":true,"whitelisted":true}},"MinecraftPlayerList":{"type":"object","properties":{"next_cursor":{"type":["string","null"],"description":"Cursor to pass to the next request, or null when the page is complete.","pattern":"^pg_[A-Za-z0-9_-]+$","example":"pg_example123"},"players":{"description":"Players in deterministic case-insensitive name order.","type":"array","items":{"$ref":"#/components/schemas/MinecraftPlayer"},"maxItems":100,"example":[{"banned":false,"ip_banned":false,"name":"Alex","operator":true,"whitelisted":true}]}},"additionalProperties":false,"required":["players","next_cursor"],"description":"Page of Minecraft player entries.","example":{"next_cursor":"pg_example123","players":[{"banned":false,"ip_banned":false,"name":"Alex","operator":true,"whitelisted":true}]}},"MinecraftPlayerAction":{"type":"object","properties":{"action":{"type":"string","description":"The typed Minecraft player moderation action that was accepted.","enum":["operator_added","operator_removed","whitelist_added","whitelist_removed","player_kicked","player_banned","player_unbanned","ip_banned","ip_unbanned","player_killed","player_wiped"],"example":"player_killed"},"player_name":{"type":"string","description":"Player name or IP address targeted by the action.","maxLength":64,"pattern":"^(?:[0-9]{5,20}|[A-Za-z0-9_.]{1,64}|[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,14}[A-Za-z0-9])?|[A-Za-z0-9_](?:[A-Za-z0-9_ ]{0,14}[A-Za-z0-9_])?)$","example":"Alex"},"status":{"type":"string","description":"Dispatch status for the requested player moderation action.","enum":["accepted"],"example":"accepted"}},"additionalProperties":false,"required":["status","action","player_name"],"description":"Details of the Minecraft player action.","example":{"action":"player_killed","player_name":"Alex","status":"accepted"}},"MinecraftWorld":{"type":"object","properties":{"active":{"type":"boolean","description":"Whether this resource is currently active.","example":true},"id":{"type":"string","description":"Identifier of this resource.","example":"resource_example123"},"name":{"type":"string","description":"Display name of this resource.","example":"Example server"},"size":{"type":"string","description":"Human-readable disk usage of this world.","maxLength":32,"example":"1.4G"}},"additionalProperties":false,"required":["id","name","active"],"description":"Details of the Minecraft world.","example":{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}},"MinecraftWorldList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MinecraftWorld"},"description":"Entries returned on this page.","example":[{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}]},"next_cursor":{"type":["string","null"],"description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["items","next_cursor"],"description":"Page of Minecraft world entries.","example":{"items":[{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}],"next_cursor":"pg_example123"}},"MinecraftWorldCatalogItem":{"type":"object","properties":{"id":{"type":"string","description":"Catalog identifier. Use it in a world installation request.","example":"resource_example123"},"name":{"type":"string","description":"Display name of this catalog item.","example":"Example server"},"provider":{"type":"string","description":"Catalog source of this item.","example":"Modrinth"}},"required":["id","name","provider"],"description":"Details of the Minecraft world catalog item.","example":{"id":"resource_example123","name":"Example server","provider":"Modrinth"}},"MinecraftWorldCatalog":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MinecraftWorldCatalogItem"},"description":"Entries returned on this page.","example":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["items","next_cursor"],"description":"Catalog of Minecraft world entries.","example":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"}},"MinecraftWorldInstall":{"type":"object","properties":{"status":{"type":"string","description":"Current status of the operation or resource.","example":"completed"},"world":{"$ref":"#/components/schemas/MinecraftWorld","description":"World of this resource.","example":{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}}},"required":["status","world"],"description":"Details of the Minecraft world install.","example":{"status":"completed","world":{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}}},"MinecraftBedrockAddonProject":{"type":"object","properties":{"categories":{"description":"Categories assigned to the add-on.","type":"array","items":{"type":"string","maxLength":64},"maxItems":64,"example":["example_categories"]},"description":{"type":"string","description":"Short description of the add-on.","maxLength":8000,"example":"Example description"},"icon_url":{"type":"string","description":"URL of the add-on icon.","maxLength":2048,"format":"uri-reference","example":"https://example.com/resource"},"id":{"type":"string","description":"Add-on identifier. Use it to list available versions.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_0123456789abcdef0123456789abcdef"},"name":{"type":"string","description":"Display name of the add-on.","maxLength":255,"example":"Furniture Add-On"},"provider":{"type":"string","description":"Catalog source of the add-on.","const":"curseforge","example":"curseforge"}},"additionalProperties":false,"description":"Installable Minecraft Bedrock add-on.","required":["id","name","provider","categories"],"example":{"categories":["example_categories"],"description":"Example description","icon_url":"https://example.com/resource","id":"btp_0123456789abcdef0123456789abcdef","name":"Furniture Add-On","provider":"curseforge"}},"MinecraftBedrockAddonProjectList":{"type":"object","properties":{"items":{"description":"Installable add-ons on this page.","type":"array","items":{"$ref":"#/components/schemas/MinecraftBedrockAddonProject"},"example":[{"categories":["example_categories"],"description":"Example description","icon_url":"https://example.com/resource","id":"btp_0123456789abcdef0123456789abcdef","name":"Furniture Add-On","provider":"curseforge"}]},"next_cursor":{"type":["string","null"],"description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"additionalProperties":false,"description":"Page of installable Minecraft Bedrock add-ons.","required":["items","next_cursor"],"example":{"items":[{"categories":["example_categories"],"description":"Example description","icon_url":"https://example.com/resource","id":"btp_0123456789abcdef0123456789abcdef","name":"Furniture Add-On","provider":"curseforge"}],"next_cursor":"pg_example123"}},"MinecraftBedrockAddonVersion":{"type":"object","properties":{"game_versions":{"description":"Minecraft Bedrock game versions compatible with this add-on version.","type":"array","items":{"type":"string","maxLength":64},"maxItems":128,"example":["1.21.4"]},"id":{"type":"string","description":"Version identifier. Use it in an installation request.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_fedcba9876543210fedcba9876543210"},"name":{"type":"string","description":"Display name of this version.","maxLength":255,"example":"Example server"},"published_at":{"type":"string","description":"UTC time when this version was published.","format":"date-time","example":"2030-06-15T10:00:00Z"}},"additionalProperties":false,"description":"Installable version of a Minecraft Bedrock add-on.","required":["id","name","game_versions","published_at"],"example":{"game_versions":["1.21.4"],"id":"btp_fedcba9876543210fedcba9876543210","name":"Example server","published_at":"2030-06-15T10:00:00Z"}},"MinecraftBedrockAddonVersionList":{"type":"object","properties":{"items":{"description":"Available versions on this page, newest first.","type":"array","items":{"$ref":"#/components/schemas/MinecraftBedrockAddonVersion"},"example":[{"game_versions":["1.21.4"],"id":"btp_fedcba9876543210fedcba9876543210","name":"Example server","published_at":"2030-06-15T10:00:00Z"}]},"next_cursor":{"type":["string","null"],"description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"additionalProperties":false,"description":"Page of versions for a Minecraft Bedrock add-on.","required":["items","next_cursor"],"example":{"items":[{"game_versions":["1.21.4"],"id":"btp_fedcba9876543210fedcba9876543210","name":"Example server","published_at":"2030-06-15T10:00:00Z"}],"next_cursor":"pg_example123"}},"MinecraftBedrockAddonInstalled":{"type":"object","properties":{"active":{"type":"boolean","description":"Whether this add-on is currently enabled.","example":true},"description":{"type":"string","description":"Short description of the installed add-on.","maxLength":8000,"example":"Example description"},"id":{"type":"string","description":"Installed add-on identifier. Use it to enable, disable or delete this add-on.","maxLength":8192,"example":"INSTALLED_BEDROCK_ADDON_ID"},"name":{"type":"string","description":"Display name of the installed add-on.","maxLength":255,"example":"Example server"},"pack_types":{"description":"Pack types included in this add-on: behavior, resource, or both.","type":"array","items":{"type":"string","enum":["behavior","resource"]},"maxItems":2,"example":["behavior"]},"version":{"description":"Installed version numbers.","type":"array","items":{"type":"integer"},"maxItems":3,"example":[42]}},"additionalProperties":false,"description":"Add-on currently installed on an official Minecraft Bedrock server.","required":["id","name","version","pack_types","active"],"example":{"active":true,"description":"Example description","id":"INSTALLED_BEDROCK_ADDON_ID","name":"Example server","pack_types":["behavior"],"version":[42]}},"MinecraftBedrockAddonInstalledList":{"type":"object","properties":{"items":{"description":"Installed add-ons on this page.","type":"array","items":{"$ref":"#/components/schemas/MinecraftBedrockAddonInstalled"},"example":[{"active":true,"description":"Example description","id":"INSTALLED_BEDROCK_ADDON_ID","name":"Example server","pack_types":["behavior"],"version":[42]}]},"next_cursor":{"type":["string","null"],"description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"additionalProperties":false,"description":"Page of add-ons installed on a Minecraft Bedrock server.","required":["items","next_cursor"],"example":{"items":[{"active":true,"description":"Example description","id":"INSTALLED_BEDROCK_ADDON_ID","name":"Example server","pack_types":["behavior"],"version":[42]}],"next_cursor":"pg_example123"}},"MinecraftBedrockAddonInstallRequest":{"type":"object","description":"Version to install on an official Minecraft Bedrock server.","additionalProperties":false,"required":["version_id"],"properties":{"version_id":{"type":"string","pattern":"^btp_[A-Za-z0-9_-]{32}$","description":"Version id returned by the Minecraft Bedrock add-on version list.","example":"btp_0123456789abcdefghijklmnopqrstuv"}},"example":{"version_id":"btp_fedcba9876543210fedcba9876543210"}},"BungeeCordVelocityMetrics":{"type":"object","properties":{"checked_at":{"type":"string","description":"UTC time when metric collection completed.","format":"date-time","example":"2026-07-14T12:00:00Z"},"cpu_usage_percent":{"type":"integer","description":"CPU usage where 100 represents one logical CPU core. Values can exceed 100 on multi-core systems.","example":65},"disk_used_bytes":{"type":"integer","description":"Disk space currently used by the service files, in bytes.","minimum":0,"example":5368709120},"display_cpu_usage_percent":{"type":"integer","description":"CPU usage presented by BoxToPlay interfaces, bounded from 0 to 100 percent.","minimum":0,"maximum":100,"example":42},"display_memory_limit_mb":{"type":"integer","description":"Memory capacity used by BoxToPlay interfaces to present this BungeeCord / Velocity server usage, in megabytes.","minimum":1,"example":10000},"memory_usage_mb":{"type":"integer","description":"Current BungeeCord / Velocity memory usage in megabytes.","example":2048},"players_max":{"type":"integer","description":"Configured maximum number of players.","example":3},"players_online":{"type":"integer","description":"Players currently connected through this BungeeCord / Velocity server. Omitted when the player count is unavailable. Zero is reported when the server is confirmed stopped.","example":3}},"required":["checked_at","disk_used_bytes"],"description":"Details of the bungee cord velocity metrics.","example":{"checked_at":"2026-07-14T12:00:00Z","cpu_usage_percent":65,"disk_used_bytes":5368709120,"display_cpu_usage_percent":42,"display_memory_limit_mb":10000,"memory_usage_mb":2048,"players_max":3,"players_online":3}},"BungeeCordVelocityMetricsHistory":{"type":"object","properties":{"collected_at":{"type":"string","description":"UTC time when this BungeeCord / Velocity history snapshot was produced.","example":"2030-06-15T10:00:00Z","format":"date-time"},"history":{"description":"Chronological BungeeCord / Velocity metric samples for the selected period, limited to 500 points. Each point contains only the measurements available for its interval; an empty list means no samples are available.","type":"array","items":{"$ref":"#/components/schemas/PlayerMetricsHistoryPoint"},"maxItems":500,"example":[{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000}]},"timeframe":{"type":"string","description":"History timeframe: hour, day, week, month or year.","enum":["hour","day","week","month","year"],"example":"hour"}},"required":["timeframe","collected_at","history"],"example":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000}]},"description":"Details of the bungee cord velocity metrics history."},"BungeeCordVelocitySettings":{"type":"object","properties":{"dns":{"type":"string","description":"Custom connection name, when configured.","example":"play.example.com"},"name":{"type":"string","description":"Server display name.","example":"Example server"},"slots":{"type":"integer","description":"Maximum number of simultaneous players.","example":20}},"required":["name","dns","slots"],"description":"Details of the bungee cord velocity settings.","example":{"dns":"play.example.com","name":"Example server","slots":20}},"BungeeCordVelocityConsoleCommandRequest":{"type":"object","properties":{"command":{"type":"string","description":"BungeeCord or Velocity console command to execute.","minLength":1,"maxLength":8192,"pattern":"^[^\\u0000\\r\\n]*\\S[^\\u0000\\r\\n]*$","example":"glist"}},"additionalProperties":false,"required":["command"],"example":{"command":"glist"},"description":"Fields accepted for this bungee cord velocity console command request."},"BungeeCordVelocityConsoleCommandResult":{"type":"object","properties":{"output":{"type":"string","description":"Response returned by the BungeeCord or Velocity console command. This value is empty when the command succeeds without producing a direct response.","maxLength":65536,"example":""},"output_truncated":{"type":"boolean","description":"Whether the returned response was shortened.","example":false},"status":{"type":"string","description":"Execution status of the console command.","enum":["completed"],"example":"completed"}},"required":["status","output","output_truncated"],"example":{"status":"completed","output":"","output_truncated":false},"description":"Details of the bungee cord velocity console command result."},"BungeeCordVelocityPlayer":{"type":"object","properties":{"name":{"type":"string","description":"Player name.","example":"Example server"},"online":{"type":"boolean","description":"Whether the player is currently connected.","example":true},"operator":{"type":"boolean","description":"Whether the player has operator access.","example":true}},"required":["name","online","operator"],"description":"Details of the bungee cord velocity player.","example":{"name":"Example server","online":true,"operator":true}},"BungeeCordVelocityPlayerList":{"type":"object","properties":{"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"},"players":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Player name.","example":"Example server"},"online":{"type":"boolean","description":"Whether the player is currently connected.","example":true},"operator":{"type":"boolean","description":"Whether the player has operator access.","example":true}}},"description":"Players included in this resource.","example":[{"name":"Example server","online":true,"operator":true}]}},"required":["players","next_cursor"],"description":"Page of bungee cord velocity player entries.","example":{"next_cursor":"pg_example123","players":[{"name":"Example server","online":true,"operator":true}]}},"TeamSpeakMetrics":{"type":"object","properties":{"checked_at":{"type":"string","description":"UTC time when metric collection completed.","format":"date-time","example":"2026-07-14T12:00:00Z"},"clients_max":{"type":"integer","description":"Configured maximum number of TeamSpeak clients.","example":42},"clients_online":{"type":"integer","description":"Clients currently connected to the TeamSpeak virtual server.","example":42},"network_in_bytes_last_minute":{"type":"integer","description":"Bytes received by the TeamSpeak virtual server during the last minute.","example":42},"network_out_bytes_last_minute":{"type":"integer","description":"Bytes sent by the TeamSpeak virtual server during the last minute.","example":42}},"required":["checked_at"],"description":"Details of the team speak metrics.","example":{"checked_at":"2026-07-14T12:00:00Z","clients_max":42,"clients_online":42,"network_in_bytes_last_minute":42,"network_out_bytes_last_minute":42}},"TeamSpeakMetricsHistoryPoint":{"type":"object","properties":{"clients_average":{"type":"number","description":"Average number of connected TeamSpeak clients during this sample.","minimum":0,"example":8.25},"clients_capacity":{"type":"integer","description":"Client slot capacity at this sample.","minimum":0,"example":32},"clients_peak":{"type":"integer","description":"Peak number of connected TeamSpeak clients during this sample.","minimum":0,"example":12},"network_in_bytes_per_second":{"type":"number","description":"Inbound network rate in bytes per second during this sample.","minimum":0,"example":45000.0},"network_out_bytes_per_second":{"type":"number","description":"Outbound network rate in bytes per second during this sample.","minimum":0,"example":38000.0},"sampled_at":{"type":"string","description":"UTC timestamp of this sample.","example":"2030-06-15T09:55:00Z","format":"date-time"}},"required":["sampled_at"],"example":{"sampled_at":"2030-06-15T09:55:00Z","clients_average":8.25,"clients_peak":12,"clients_capacity":32,"network_in_bytes_per_second":45000.0,"network_out_bytes_per_second":38000.0},"description":"Details of the team speak metrics history point."},"TeamSpeakMetricsHistory":{"type":"object","properties":{"collected_at":{"type":"string","description":"UTC time when this TeamSpeak history snapshot was produced.","example":"2030-06-15T10:00:00Z","format":"date-time"},"history":{"description":"Chronological TeamSpeak metric samples for the selected period, limited to 500 points. Each point contains only the measurements available for its interval; an empty list means no samples are available.","type":"array","items":{"$ref":"#/components/schemas/TeamSpeakMetricsHistoryPoint"},"maxItems":500,"example":[{"sampled_at":"2030-06-15T09:55:00Z","clients_average":8.25,"clients_peak":12,"clients_capacity":32,"network_in_bytes_per_second":45000.0,"network_out_bytes_per_second":38000.0}]},"timeframe":{"type":"string","description":"History timeframe: hour, day, week, month or year.","enum":["hour","day","week","month","year"],"example":"hour"}},"required":["timeframe","collected_at","history"],"example":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","clients_average":8.25,"clients_peak":12,"clients_capacity":32,"network_in_bytes_per_second":45000.0,"network_out_bytes_per_second":38000.0}]},"description":"Details of the team speak metrics history."},"TeamSpeakChannel":{"type":"object","properties":{"default":{"type":"boolean","description":"Whether this entry is the default choice.","example":true},"id":{"type":"integer","description":"Channel identifier to use in TeamSpeak API operations.","example":42},"name":{"type":"string","description":"Display name of this resource.","example":"Example server"},"parent_id":{"type":"integer","description":"Parent id of this resource.","example":42},"password_protected":{"type":"boolean","description":"Whether this resource is password protected.","example":true},"spacer":{"type":"boolean","description":"Whether this resource is spacer.","example":true}},"required":["id","parent_id","name","default","spacer","password_protected"],"description":"Details of the team speak channel.","example":{"default":true,"id":42,"name":"Example server","parent_id":42,"password_protected":true,"spacer":true}},"TeamSpeakClient":{"type":"object","properties":{"channel_id":{"type":"integer","description":"Channel id of this resource.","example":42},"id":{"type":"integer","description":"Current client identifier to use in TeamSpeak API operations.","example":42},"nickname":{"type":"string","description":"Nickname of this resource.","example":"Alex"}},"required":["id","channel_id","nickname"],"description":"Details of the team speak client.","example":{"channel_id":42,"id":42,"nickname":"Alex"}},"TeamSpeakLiveView":{"type":"object","properties":{"channels":{"type":"array","items":{"$ref":"#/components/schemas/TeamSpeakChannel"},"description":"Channels included in this resource.","example":[{"default":true,"id":42,"name":"Example server","parent_id":42,"password_protected":true,"spacer":true}]},"clients":{"type":"array","items":{"$ref":"#/components/schemas/TeamSpeakClient"},"description":"Clients included in this resource.","example":[{"channel_id":42,"id":42,"nickname":"Alex"}]},"server_name":{"type":"string","description":"Server name of this resource.","example":"Example server"}},"required":["server_name","channels","clients"],"description":"Details of the team speak live view.","example":{"channels":[{"default":true,"id":42,"name":"Example server","parent_id":42,"password_protected":true,"spacer":true}],"clients":[{"channel_id":42,"id":42,"nickname":"Alex"}],"server_name":"Example server"}},"TeamSpeakChannelInfo":{"type":"object","properties":{"channel_type":{"type":"integer","description":"Channel type of this resource.","example":42},"codec":{"type":"integer","description":"Codec of this resource.","example":42},"codec_quality":{"type":"integer","description":"Codec quality of this resource.","example":42},"default":{"type":"boolean","description":"Whether this entry is the default choice.","example":true},"description":{"type":"string","description":"Description of this resource.","example":"Example description"},"id":{"type":"integer","description":"Identifier of this resource.","example":42},"name":{"type":"string","description":"Display name of this resource.","example":"Example server"},"parent_id":{"type":"integer","description":"Parent id of this resource.","example":42},"password_protected":{"type":"boolean","description":"Whether this resource is password protected.","example":true},"topic":{"type":"string","example":"Support and community chat","description":"Topic of this resource."}},"required":["id","parent_id","name","password_protected","channel_type","default","codec","codec_quality"],"description":"Details of the team speak channel info.","example":{"channel_type":42,"codec":42,"codec_quality":42,"default":true,"description":"Example description","id":42,"name":"Example server","parent_id":42,"password_protected":true,"topic":"Support and community chat"}},"TeamSpeakSettings":{"type":"object","properties":{"host_banner_image_url":{"type":"string","format":"uri-reference","description":"Host banner image URL of this resource.","example":"https://example.com/resource"},"host_banner_interval_minutes":{"type":"integer","description":"Host banner interval minutes of this resource.","example":42},"host_banner_link_url":{"type":"string","format":"uri-reference","description":"Host banner link URL of this resource.","example":"https://example.com/resource"},"host_banner_mode":{"type":"integer","description":"Host banner mode of this resource.","example":42},"host_button_image_url":{"type":"string","format":"uri-reference","description":"Host button image URL of this resource.","example":"https://example.com/resource"},"host_button_tooltip":{"type":"string","description":"Host button tooltip of this resource.","example":"play.example.com"},"host_button_url":{"type":"string","format":"uri-reference","description":"Host button URL of this resource.","example":"https://example.com/resource"},"host_message":{"type":"string","description":"Host message of this resource.","example":"play.example.com"},"host_message_mode":{"type":"integer","description":"Host message mode of this resource.","example":42},"max_clients":{"type":"integer","description":"Max clients of this resource.","example":42},"name":{"type":"string","description":"Display name of this resource.","example":"Example server"},"password_protected":{"type":"boolean","description":"Whether this resource is password protected.","example":true},"reserved_slots":{"type":"integer","description":"Reserved slots of this resource.","example":20},"welcome_message":{"type":"string","description":"Welcome message of this resource.","example":"Operation completed."}},"description":"Details of the team speak settings.","example":{"host_banner_image_url":"https://example.com/resource","host_banner_interval_minutes":42,"host_banner_link_url":"https://example.com/resource","host_banner_mode":42,"host_button_image_url":"https://example.com/resource","host_button_tooltip":"play.example.com","host_button_url":"https://example.com/resource","host_message":"play.example.com","host_message_mode":42,"max_clients":42,"name":"Example server","password_protected":true,"reserved_slots":20,"welcome_message":"Operation completed."}},"TeamSpeakBackup":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time","description":"Date and time when the resource was created.","example":"2026-07-14T12:00:00Z"},"files_included":{"type":"boolean","description":"Whether this resource is files included.","example":true},"id":{"type":"string","description":"Identifier of this resource.","example":"resource_example123"},"name":{"type":"string","description":"Display name of this resource.","example":"Example server"},"size_bytes":{"type":"integer","description":"Size bytes of this resource.","example":42},"type":{"type":"string","enum":["manual_snapshot","automatic_full"],"example":"manual_snapshot","description":"Backup type: manual_snapshot or automatic_full."}},"required":["id","name","type","created_at","size_bytes","files_included"],"description":"Details of the team speak backup.","example":{"created_at":"2026-07-14T12:00:00Z","files_included":true,"id":"resource_example123","name":"Example server","size_bytes":42,"type":"manual_snapshot"}},"TeamSpeakBackupList":{"type":"object","properties":{"backups":{"type":"array","items":{"$ref":"#/components/schemas/TeamSpeakBackup"},"description":"Backups included in this resource.","example":[{"created_at":"2026-07-14T12:00:00Z","files_included":true,"id":"resource_example123","name":"Example server","size_bytes":42,"type":"manual_snapshot"}]},"next_cursor":{"type":["string","null"],"description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["backups","next_cursor"],"description":"Page of team speak backup entries.","example":{"backups":[{"created_at":"2026-07-14T12:00:00Z","files_included":true,"id":"resource_example123","name":"Example server","size_bytes":42,"type":"manual_snapshot"}],"next_cursor":"pg_example123"}},"TeamSpeakServerQueryAccount":{"type":"object","properties":{"created_at":{"type":"string","description":"UTC creation timestamp.","example":"2030-06-15T10:00:00Z","format":"date-time"},"id":{"type":"string","description":"ServerQuery account identifier.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_2fa3119e169653545530267a34d5adf0"},"login_name":{"type":"string","description":"Login name of the ServerQuery account.","example":"automation_bot"}},"required":["id","login_name","created_at"],"description":"Details of the team speak server query account.","example":{"created_at":"2030-06-15T10:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","login_name":"automation_bot"}},"TeamSpeakServerQueryAccountList":{"type":"object","properties":{"accounts":{"description":"ServerQuery accounts managed for the TeamSpeak server.","type":"array","items":{"type":"object","properties":{"created_at":{"type":"string","description":"UTC creation timestamp.","format":"date-time","example":"2026-07-14T12:00:00Z"},"id":{"type":"string","description":"ServerQuery account identifier.","example":"resource_example123"},"login_name":{"type":"string","description":"Login name of the ServerQuery account.","example":"Example server"}}},"example":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","login_name":"Example server"}]},"next_cursor":{"type":["string","null"],"description":"Cursor for the next page, or null when the list is complete.","example":"pg_example123"}},"required":["accounts","next_cursor"],"description":"Page of team speak server query account entries.","example":{"accounts":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","login_name":"Example server"}],"next_cursor":"pg_example123"}},"TeamSpeakServerQueryAccountCreateRequest":{"type":"object","properties":{"login_name":{"type":"string","description":"Login name to create for the ServerQuery account.","pattern":"^[A-Za-z0-9._-]{3,32}$","example":"automation_bot"}},"additionalProperties":false,"required":["login_name"],"example":{"login_name":"automation_bot"},"description":"Fields accepted for this team speak server query account create request."},"TeamSpeakServerQueryCommandRequest":{"type":"object","properties":{"command":{"type":"string","description":"Single-line ServerQuery command to execute.","minLength":1,"maxLength":8192,"pattern":"^[^|\\u0000-\\u001F\\u007F]*\\S[^|\\u0000-\\u001F\\u007F]*$","example":"serverinfo"}},"additionalProperties":false,"required":["command"],"example":{"command":"serverinfo"},"description":"Fields accepted for this team speak server query command request."},"TeamSpeakServerQueryCommandResult":{"type":"object","properties":{"output":{"type":"string","description":"Output returned by the ServerQuery command.","maxLength":65536,"example":"virtualserver_name=My TeamSpeak Server"},"output_truncated":{"type":"boolean","description":"Whether the returned output was shortened.","example":false}},"required":["output","output_truncated"],"example":{"output":"virtualserver_name=My TeamSpeak Server","output_truncated":false},"description":"Details of the team speak server query command result."},"VPSMetricsLimits":{"type":"object","properties":{"cpu_cores":{"type":"integer","description":"Configured virtual CPU core limit.","example":13},"disk_capacity_bytes":{"type":"integer","description":"Provisioned disk capacity in bytes. This is a capacity limit, not current disk usage.","example":42},"memory_bytes":{"type":"integer","description":"Configured memory limit in bytes.","example":2048},"network_bytes_per_second":{"type":"integer","description":"Configured network throughput limit in bytes per second.","example":42}},"description":"Details of the VPS metrics limits.","example":{"cpu_cores":13,"disk_capacity_bytes":42,"memory_bytes":2048,"network_bytes_per_second":42}},"VPSLiveMetrics":{"type":"object","properties":{"cpu_usage_percent":{"type":"number","description":"Current CPU usage as a percentage of the VPS CPU allocation.","example":65.0},"disk_read_bytes_per_second":{"type":"number","description":"Most recent disk read rate in bytes per second, when available from time-series data.","example":42.0},"disk_read_total_bytes":{"type":"integer","description":"Cumulative disk bytes read by the VPS runtime. This is I/O activity, not disk space usage.","example":3},"disk_write_bytes_per_second":{"type":"number","description":"Most recent disk write rate in bytes per second, when available from time-series data.","example":42.0},"disk_write_total_bytes":{"type":"integer","description":"Cumulative disk bytes written by the VPS runtime. This is I/O activity, not disk space usage.","example":3},"memory_usage_percent":{"type":"number","description":"Current memory usage as a percentage of the VPS memory allocation.","example":65.0},"memory_used_bytes":{"type":"integer","description":"Current memory usage in bytes.","example":2048},"network_in_bytes_per_second":{"type":"number","description":"Most recent inbound network rate in bytes per second, when available from time-series data.","example":42.0},"network_in_total_bytes":{"type":"integer","description":"Cumulative bytes received by the VPS runtime. The counter can reset after a restart.","example":3},"network_out_bytes_per_second":{"type":"number","description":"Most recent outbound network rate in bytes per second, when available from time-series data.","example":42.0},"network_out_total_bytes":{"type":"integer","description":"Cumulative bytes sent by the VPS runtime. The counter can reset after a restart.","example":3},"rate_sampled_at":{"type":"string","description":"UTC timestamp of the time-series sample used for the live rate fields.","format":"date-time","example":"2026-07-14T12:00:00Z"},"uptime_seconds":{"type":"integer","description":"Current VPS uptime in seconds.","example":42}},"description":"Details of the VPS live metrics.","example":{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_read_total_bytes":3,"disk_write_bytes_per_second":42.0,"disk_write_total_bytes":3,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_in_total_bytes":3,"network_out_bytes_per_second":42.0,"network_out_total_bytes":3,"rate_sampled_at":"2026-07-14T12:00:00Z","uptime_seconds":42}},"VPSMetricPoint":{"type":"object","properties":{"cpu_usage_percent":{"type":"number","description":"CPU usage as a percentage of the VPS CPU allocation at this sample.","example":65.0},"disk_read_bytes_per_second":{"type":"number","description":"Disk read rate in bytes per second at this sample. This is I/O activity, not disk space usage.","example":42.0},"disk_write_bytes_per_second":{"type":"number","description":"Disk write rate in bytes per second at this sample. This is I/O activity, not disk space usage.","example":42.0},"memory_usage_percent":{"type":"number","description":"Memory usage as a percentage of the VPS memory allocation at this sample.","example":65.0},"memory_used_bytes":{"type":"integer","description":"Memory usage in bytes at this sample.","example":2048},"network_in_bytes_per_second":{"type":"number","description":"Inbound network rate in bytes per second at this sample.","example":42.0},"network_out_bytes_per_second":{"type":"number","description":"Outbound network rate in bytes per second at this sample.","example":42.0},"sampled_at":{"type":"string","description":"UTC timestamp of this time-series sample.","format":"date-time","example":"2026-07-14T12:00:00Z"}},"description":"Details of the VPS metric point.","example":{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_write_bytes_per_second":42.0,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_out_bytes_per_second":42.0,"sampled_at":"2026-07-14T12:00:00Z"}},"VPSMetrics":{"type":"object","properties":{"collected_at":{"type":"string","description":"UTC time when metric collection completed.","format":"date-time","example":"2026-07-14T12:00:00Z"},"history":{"description":"Chronological time-series samples, deduplicated by timestamp and limited to the 500 most recent points.","type":"array","items":{"$ref":"#/components/schemas/VPSMetricPoint"},"maxItems":500,"example":[{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_write_bytes_per_second":42.0,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_out_bytes_per_second":42.0,"sampled_at":"2026-07-14T12:00:00Z"}]},"limits":{"$ref":"#/components/schemas/VPSMetricsLimits","description":"Limits of this resource.","example":{"cpu_cores":13,"disk_capacity_bytes":42,"memory_bytes":2048,"network_bytes_per_second":42}},"live":{"$ref":"#/components/schemas/VPSLiveMetrics","description":"Live of this resource.","example":{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_read_total_bytes":3,"disk_write_bytes_per_second":42.0,"disk_write_total_bytes":3,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_in_total_bytes":3,"network_out_bytes_per_second":42.0,"network_out_total_bytes":3,"rate_sampled_at":"2026-07-14T12:00:00Z","uptime_seconds":42}},"timeframe":{"type":"string","description":"History timeframe: hour, day, week, month or year.","enum":["hour","day","week","month","year"],"example":"hour"}},"required":["timeframe","collected_at","limits","live","history"],"description":"Details of the VPS metrics.","example":{"collected_at":"2026-07-14T12:00:00Z","history":[{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_write_bytes_per_second":42.0,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_out_bytes_per_second":42.0,"sampled_at":"2026-07-14T12:00:00Z"}],"limits":{"cpu_cores":13,"disk_capacity_bytes":42,"memory_bytes":2048,"network_bytes_per_second":42},"live":{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_read_total_bytes":3,"disk_write_bytes_per_second":42.0,"disk_write_total_bytes":3,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_in_total_bytes":3,"network_out_bytes_per_second":42.0,"network_out_total_bytes":3,"rate_sampled_at":"2026-07-14T12:00:00Z","uptime_seconds":42},"timeframe":"hour"}},"VPSFirewallRule":{"type":"object","properties":{"action":{"type":"string","enum":["allow","block"],"example":"allow","description":"Action of this resource."},"comment":{"type":"string","example":"Allow game traffic","description":"Comment of this resource."},"destination_port":{"type":"integer","description":"Destination port of this resource.","example":25565},"enabled":{"type":"boolean","description":"Whether this resource is enabled.","example":true},"priority":{"type":"integer","description":"Priority of this resource.","example":42},"protocol":{"type":"string","enum":["tcp","udp","icmp"],"example":"tcp","description":"Network protocol used by the port or rule."},"source":{"type":"string","example":"203.0.113.0/24","description":"Source of this resource."}},"required":["priority","enabled","action","protocol"],"description":"Details of the VPS firewall rule.","example":{"action":"allow","comment":"Allow game traffic","destination_port":25565,"enabled":true,"priority":42,"protocol":"tcp","source":"203.0.113.0/24"}},"VPSFirewallRuleList":{"type":"object","properties":{"next_cursor":{"type":["string","null"],"description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/VPSFirewallRule"},"description":"Rules included in this resource.","example":[{"action":"allow","comment":"Allow game traffic","destination_port":25565,"enabled":true,"priority":42,"protocol":"tcp","source":"203.0.113.0/24"}]}},"required":["rules","next_cursor"],"description":"Page of VPS firewall rule entries.","example":{"next_cursor":"pg_example123","rules":[{"action":"allow","comment":"Allow game traffic","destination_port":25565,"enabled":true,"priority":42,"protocol":"tcp","source":"203.0.113.0/24"}]}},"VPSOperatingSystem":{"type":"object","properties":{"family":{"type":"string","enum":["linux","windows"],"example":"linux","description":"Operating system family: linux or windows."},"id":{"type":"string","description":"Identifier of this resource.","example":"resource_example123"},"name":{"type":"string","description":"Display name of this resource.","example":"Example server"}},"required":["id","name","family"],"description":"Details of the VPS operating system.","example":{"family":"linux","id":"resource_example123","name":"Example server"}},"VPSOperatingSystemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/VPSOperatingSystem"},"description":"Entries returned on this page.","example":[{"family":"linux","id":"resource_example123","name":"Example server"}]},"next_cursor":{"type":["string","null"],"description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["items","next_cursor"],"description":"Page of VPS operating system entries.","example":{"items":[{"family":"linux","id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"}},"VPSBackup":{"type":"object","properties":{"created_at":{"type":"string","format":"date-time","description":"Date and time when the resource was created.","example":"2026-07-14T12:00:00Z"},"id":{"type":"string","description":"Identifier of this resource.","example":"resource_example123"},"size_bytes":{"type":"integer","description":"Size bytes of this resource.","example":42}},"description":"Details of the VPS backup.","example":{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","size_bytes":42}},"VPSBackupList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/VPSBackup"},"description":"Entries returned on this page.","example":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","size_bytes":42}]},"next_cursor":{"type":["string","null"],"description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["items","next_cursor"],"description":"Page of VPS backup entries.","example":{"items":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","size_bytes":42}],"next_cursor":"pg_example123"}},"VPSCommandRequest":{"type":"object","properties":{"command":{"type":"string","description":"Linux shell or Windows PowerShell script interpreted by the VPS operating system. Line feeds and CRLF line endings are accepted. Maximum length: 16384 characters.","minLength":1,"maxLength":16384,"pattern":"^(?=[\\s\\S]*\\S)(?:\\r\\n|[\\u0009\\u000A\\u0020-\\u007E\\u00A0-\\u2027\\u202A-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])+$","example":"ls -la"},"timeout_seconds":{"type":"integer","description":"Optional maximum command duration in seconds. If omitted, 10 seconds is used.","minimum":1,"maximum":105,"default":10,"example":10}},"additionalProperties":false,"required":["command"],"example":{"command":"ls -la","timeout_seconds":10},"description":"Fields accepted for this VPS command request."},"VPSAsyncCommandRequest":{"type":"object","properties":{"command":{"type":"string","description":"Linux shell or Windows PowerShell script interpreted by the VPS operating system. Line feeds and CRLF line endings are accepted. Maximum length: 16384 characters.","minLength":1,"maxLength":16384,"pattern":"^(?=[\\s\\S]*\\S)(?:\\r\\n|[\\u0009\\u000A\\u0020-\\u007E\\u00A0-\\u2027\\u202A-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])+$","example":"apt-get update && apt-get install -y wordpress"},"timeout_seconds":{"type":"integer","description":"Optional maximum command duration in seconds. If omitted, 600 seconds is used.","minimum":1,"maximum":3600,"default":600,"example":600}},"additionalProperties":false,"required":["command"],"example":{"command":"apt-get update && apt-get install -y wordpress","timeout_seconds":600},"description":"Fields accepted for this VPS async command request."},"VPSCommandResult":{"type":"object","properties":{"executed_at":{"type":"string","description":"UTC time when the command finished.","format":"date-time","example":"2030-06-15T10:00:00Z"},"exit_code":{"type":"integer","description":"Exit code returned by the command. A command is successful when this value is zero, timed_out is false and output_truncated is false.","example":0},"output_truncated":{"type":"boolean","description":"Whether stdout or stderr is incomplete.","example":false},"stderr":{"type":"string","description":"Standard error output returned by the command, limited to 2,097,152 characters.","maxLength":2097152,"example":""},"stdout":{"type":"string","description":"Standard output returned by the command, limited to 2,097,152 characters.","maxLength":2097152,"example":"total 8"},"timed_out":{"type":"boolean","description":"Whether the command exceeded its requested duration limit.","example":false}},"additionalProperties":false,"required":["exit_code","stdout","stderr","timed_out","output_truncated","executed_at"],"example":{"exit_code":0,"stdout":"total 8","stderr":"","timed_out":false,"output_truncated":false,"executed_at":"2030-06-15T10:00:00Z"},"description":"Details of the VPS command result."},"ScheduledTask":{"type":"object","properties":{"action":{"type":"string","description":"Action executed by the task: command, start, stop or restart.","enum":["command","start","stop","restart"],"example":"command"},"active_hours_end":{"type":"string","description":"Daily execution window end in schedule_timezone. Null for one-time calendar tasks and for condition tasks.","pattern":"^(?:[01]\\d|2[0-3]):59:59$","example":"18:59:59"},"active_hours_start":{"type":"string","description":"Daily execution window start in schedule_timezone. Null for one-time calendar tasks and for condition tasks.","pattern":"^(?:[01]\\d|2[0-3]):00:00$","example":"08:00:00"},"command":{"type":["string","null"],"description":"Console command sent as a single line when action is command. Null for other actions.","minLength":1,"maxLength":2000,"pattern":"^[^\\u0000-\\u001F\\u007F\\u0080-\\u009F\\u2028\\u2029]+$","example":"say Server maintenance starts soon"},"condition_metric":{"type":["string","null"],"description":"Metric compared when condition_type is metric_threshold. Null otherwise.","enum":["players","cpu_percent","ram_percent","storage_percent","network_in_mibps","network_out_mibps","disk_read_mibps","disk_write_mibps","uptime_minutes"],"example":"players"},"condition_operator":{"type":["string","null"],"description":"Comparison operator used with condition_metric. Null when no metric is configured.","enum":["gt","gte","lt","lte","eq","neq"],"example":"gt"},"condition_threshold":{"type":["number","null"],"description":"Numeric threshold compared with condition_metric. Null when no metric is configured.","minimum":0,"maximum":1000000,"example":0.0},"condition_type":{"type":["string","null"],"description":"Condition trigger: service_stopped, service_started or metric_threshold. Null for calendar tasks.","enum":["service_stopped","service_started","metric_threshold"],"example":"service_stopped"},"cooldown_seconds":{"type":["integer","null"],"description":"Minimum delay between condition triggers. Null for calendar tasks.","enum":[300,600,1800,3600],"example":300},"cooldown_until":{"type":["string","null"],"description":"Instant until which the condition task stays in cooldown. Null when no cooldown is active.","format":"date-time","example":"2026-07-14T12:00:00Z"},"ends_at":{"type":"string","description":"Configured recurrence end time, including its UTC offset, when one exists.","format":"date-time","example":"2026-07-14T12:00:00Z"},"excluded_weekdays":{"description":"Weekdays on which a recurring calendar task cannot run, ordered from Monday to Sunday. Empty for condition tasks.","type":"array","items":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"maxItems":7,"uniqueItems":true,"example":["monday"]},"id":{"type":"string","description":"Scheduled task identifier.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_0123456789abcdefghijklmnopqrstuv"},"interval_unit":{"type":"string","description":"Recurrence interval unit. Null for one-time calendar tasks and for condition tasks.","enum":["seconds","minutes","hours","days","months"],"example":"seconds"},"interval_value":{"type":"integer","description":"Recurrence interval value. Null for one-time calendar tasks and for condition tasks.","minimum":1,"example":1},"last_execution_at":{"type":"string","description":"Most recent calendar execution, or the last condition trigger, including its UTC offset, when available.","format":"date-time","example":"2026-07-14T12:00:00Z"},"mode":{"type":"string","description":"Automation mode: schedule for calendar execution, or condition for a runtime trigger.","enum":["schedule","condition"],"example":"schedule"},"next_execution_at":{"type":"string","description":"Next calendar execution time, including its UTC offset, when scheduled. Null for condition tasks.","format":"date-time","example":"2026-07-14T12:00:00Z"},"recurring":{"type":"boolean","description":"Whether the calendar task can execute more than once. Always false for condition tasks.","example":true},"schedule_timezone":{"type":"string","description":"IANA time zone used by the scheduler.","enum":["Europe/Paris"],"example":"Europe/Paris"},"starts_at":{"type":"string","description":"First calendar execution time, or the activation time of a condition task, including its UTC offset.","format":"date-time","example":"2026-07-14T12:00:00Z"},"status":{"type":"string","description":"Current scheduler status: active, paused or completed.","enum":["active","paused","completed"],"example":"active"}},"description":"Automation task. Calendar tasks use mode schedule with interval fields when recurring. Condition tasks use mode condition: recurring is false, starts_at is the activation time, interval fields are null, excluded_weekdays is empty, next_execution_at is null, and last_execution_at is the last trigger.","required":["id","mode","status","action","recurring","starts_at","excluded_weekdays","schedule_timezone"],"example":{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"}},"ScheduledTaskList":{"type":"object","properties":{"next_cursor":{"type":["string","null"],"description":"Cursor to pass to the next request, or null when the page is complete.","pattern":"^pg_[A-Za-z0-9_-]+$","example":"pg_example123"},"tasks":{"description":"Scheduled tasks in deterministic configured start-time order.","type":"array","items":{"$ref":"#/components/schemas/ScheduledTask"},"maxItems":50,"example":[{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"}]}},"required":["tasks","next_cursor"],"description":"Page of scheduled task entries.","example":{"next_cursor":"pg_example123","tasks":[{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"}]}},"ScheduledTaskPreview":{"type":"object","properties":{"executions":{"type":"array","items":{"type":"string"},"example":["2030-06-15T12:00:00+02:00","2030-06-16T12:00:00+02:00"],"description":"Executions included in this resource."},"schedule_timezone":{"type":"string","description":"Schedule timezone of this resource.","example":"Europe/Paris"}},"required":["schedule_timezone","executions"],"description":"Details of the scheduled task preview.","example":{"executions":["2030-06-15T12:00:00+02:00","2030-06-16T12:00:00+02:00"],"schedule_timezone":"Europe/Paris"}},"LogFile":{"type":"object","properties":{"id":{"type":"string","description":"Identifier used to read this log file.","pattern":"^[A-Za-z0-9_-]+$","maxLength":8192,"example":"resource_example123"},"name":{"type":"string","description":"Display name of the log file.","maxLength":255,"example":"Example server"}},"required":["id","name"],"description":"Details of the log file.","example":{"id":"resource_example123","name":"Example server"}},"LogFileList":{"type":"object","properties":{"files":{"description":"Available log files ordered deterministically by display name.","type":"array","items":{"$ref":"#/components/schemas/LogFile"},"maxItems":100,"example":[{"id":"resource_example123","name":"Example server"}]},"next_cursor":{"type":["string","null"],"description":"Cursor to pass to the next file-list request, or null on the final page.","maxLength":8192,"example":"pg_example123"}},"required":["files","next_cursor"],"description":"Page of log file entries.","example":{"files":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"}},"LogContent":{"type":"object","properties":{"lines":{"description":"Chronological log lines from the end of the selected file.","type":"array","items":{"type":"string","maxLength":8195},"maxItems":2000,"example":["[12:00:00 INFO]: Server started"]},"truncated":{"type":"boolean","description":"True when an older part of the file or oversized content was omitted.","example":true}},"required":["lines","truncated"],"description":"Details of the log content.","example":{"lines":["[12:00:00 INFO]: Server started"],"truncated":true}},"LogRange":{"type":"object","properties":{"end_line":{"type":["integer","null"],"description":"Actual last returned line number, or null when the window is empty.","example":42},"has_more":{"type":"boolean","description":"True when the file currently contains at least one later line.","example":true},"lines":{"description":"Chronological log lines in the requested inclusive window.","type":"array","items":{"type":"string","maxLength":8195},"maxItems":400,"example":["[12:00:00 INFO]: Server started"]},"next_start_line":{"type":["integer","null"],"description":"Next 1-based line number to request, or null when no later line is currently available.","example":42},"start_line":{"type":"integer","description":"Requested first line number. Line numbering starts at 1.","example":42},"truncated":{"type":"boolean","description":"True when oversized line content was shortened to the response bounds.","example":true}},"required":["lines","start_line","has_more","truncated","end_line","next_start_line"],"description":"Details of the log range.","example":{"end_line":42,"has_more":true,"lines":["[12:00:00 INFO]: Server started"],"next_start_line":42,"start_line":42,"truncated":true}},"LiveLog":{"type":"object","properties":{"has_more":{"type":"boolean","description":"True when another immediate request can return additional buffered lines.","example":true},"lines":{"description":"Chronological lines appended to the live log stream.","type":"array","items":{"type":"string","maxLength":8195},"maxItems":400,"example":["[12:00:00 INFO]: Server started"]},"next_cursor":{"type":["string","null"],"description":"Cursor to pass to the next live log request.","maxLength":8192,"example":"pg_example123"},"reset":{"type":"boolean","description":"True when a new cursor is needed before reading more lines.","example":true},"truncated":{"type":"boolean","description":"True when older or oversized live content was omitted from this response.","example":true}},"required":["lines","next_cursor","reset","has_more","truncated"],"description":"Details of the live log.","example":{"has_more":true,"lines":["[12:00:00 INFO]: Server started"],"next_cursor":"pg_example123","reset":true,"truncated":true}},"FtpAccount":{"type":"object","properties":{"access":{"type":"string","description":"Customer-visible server folder available to this FTP account.","example":"/"},"id":{"type":"string","description":"FTP account identifier.","example":"resource_example123"},"username":{"type":"string","description":"FTP username selected when the account was created.","example":"Example server"}},"required":["id","username","access"],"description":"Details of the FTP account.","example":{"access":"/","id":"resource_example123","username":"Example server"}},"FtpAccountList":{"type":"object","properties":{"accounts":{"description":"FTP accounts for this server.","type":"array","items":{"$ref":"#/components/schemas/FtpAccount"},"example":[{"access":"/","id":"resource_example123","username":"Example server"}]},"available_access":{"description":"Available access values for create and update operations.","type":"array","items":{"type":"string"},"example":["/","plugins"]},"next_cursor":{"type":["string","null"],"description":"Cursor to pass to the next list request, or null when there are no more accounts.","example":"pg_example123"}},"required":["accounts","available_access","next_cursor"],"description":"Page of FTP account entries.","example":{"accounts":[{"access":"/","id":"resource_example123","username":"Example server"}],"available_access":["/","plugins"],"next_cursor":"pg_example123"}},"Job":{"type":"object","properties":{"action":{"type":"string","description":"Action of this resource.","example":"start"},"command_result":{"$ref":"#/components/schemas/VPSCommandResult","description":"Result of a completed VPS command. Check exit_code, timed_out and output_truncated to determine whether the command completed successfully.","example":{"exit_code":0,"stdout":"WordPress installation completed.","stderr":"","timed_out":false,"output_truncated":false,"executed_at":"2030-06-15T10:04:25Z"}},"completed_at":{"type":"string","format":"date-time","description":"Date and time when the operation completed.","example":"2026-07-14T12:00:00Z"},"created_at":{"type":"string","format":"date-time","description":"Date and time when the resource was created.","example":"2026-07-14T12:00:00Z"},"download_url":{"type":"string","description":"Download URL returned by a completed download job.","format":"uri-reference","example":"https://example.com/resource"},"error_code":{"type":"string","example":"operation_failed","description":"Stable error code present when the job has failed."},"id":{"type":"string","description":"Identifier of this resource.","example":"resource_example123"},"progress":{"type":"integer","description":"Completion percentage from 0 to 100.","example":65},"result_code":{"type":"string","example":"backup_download_ready","description":"Stable result code present when the job has succeeded."},"service_id":{"type":"string","description":"Service identifier used in API paths.","example":"srv_example123"},"service_type":{"type":"string","example":"minecraft","description":"Product family of the service."},"started_at":{"type":"string","format":"date-time","description":"Date and time when the operation started.","example":"2026-07-14T12:00:00Z"},"status":{"type":"string","enum":["queued","running","succeeded","failed"],"description":"Current status of the operation or resource.","example":"queued"},"status_url":{"type":"string","format":"uri-reference","description":"API path used to retrieve the latest status.","example":"/v1/jobs/job_example123"}},"required":["id","status","status_url","service_type","service_id","action","progress","created_at"],"example":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"running","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"restart","progress":40,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z"},"description":"Details of the job."},"JobList":{"type":"object","properties":{"jobs":{"description":"Service jobs ordered from newest to oldest.","type":"array","items":{"$ref":"#/components/schemas/Job"},"example":[{"id":"btp_530267a34d5adf02fa3119e169653545","status":"running","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"restart","progress":40,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z"}]},"next_cursor":{"type":["string","null"],"description":"Cursor to pass to the next request, or null when the page is complete.","maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","example":"pg_example123"}},"required":["jobs","next_cursor"],"example":{"jobs":[{"id":"btp_530267a34d5adf02fa3119e169653545","status":"running","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"restart","progress":40,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z"}],"next_cursor":null},"description":"Page of job entries."},"ActionResult":{"type":"object","properties":{"status":{"type":"string","enum":["accepted","completed"],"example":"completed","description":"Current status of the operation or resource."},"status_url":{"type":"string","example":"/v1/services/vps/btp_2fa3119e169653545530267a34d5adf0/status","format":"uri-reference","description":"API path used to retrieve the latest status."}},"required":["status"],"example":{"status":"completed"},"description":"Details of the action result."},"MinecraftModpackItem":{"type":"object","properties":{"id":{"type":"string","description":"Catalog identifier. Use it in an installation request.","example":"resource_example123"},"name":{"type":"string","description":"Display name of this catalog item.","example":"Example server"},"provider":{"type":"string","description":"Catalog source of this item.","example":"Modrinth"}},"required":["id","name","provider"],"description":"Details of the Minecraft modpack item.","example":{"id":"resource_example123","name":"Example server","provider":"Modrinth"}},"MinecraftModpackCatalog":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MinecraftModpackItem"},"description":"Entries returned on this page.","example":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["items","next_cursor"],"description":"Catalog of Minecraft modpack entries.","example":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"}},"MinecraftModpackInstall":{"type":"object","properties":{"modpack":{"$ref":"#/components/schemas/MinecraftModpackItem","description":"Modpack of this resource.","example":{"id":"resource_example123","name":"Example server","provider":"Modrinth"}},"status":{"type":"string","description":"Current status of the operation or resource.","example":"completed"}},"required":["status","modpack"],"description":"Details of the Minecraft modpack install.","example":{"modpack":{"id":"resource_example123","name":"Example server","provider":"Modrinth"},"status":"completed"}},"MinecraftInstalledModpack":{"type":"object","properties":{"id":{"type":"string","description":"Modpack id when the installed version is available in the catalog.","example":"btp_530267a34d5adf02fa3119e169653545"},"name":{"type":"string","description":"Installed modpack name.","example":"Paper 1.21.11"},"provider":{"type":"string","description":"Modpack provider.","enum":["standard","ftb","curseforge","modrinth"],"example":"standard"}},"required":["id","name","provider"],"description":"Details of the Minecraft installed modpack.","example":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"}},"MinecraftModpackState":{"type":"object","properties":{"compatible":{"description":"Installable modpacks compatible with this server.","type":"array","items":{"$ref":"#/components/schemas/MinecraftModpackItem"},"example":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}]},"installed":{"$ref":"#/components/schemas/MinecraftInstalledModpack","description":"Installed of this resource.","example":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"}},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["compatible","next_cursor"],"description":"Details of the Minecraft modpack state.","example":{"compatible":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"installed":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"},"next_cursor":"pg_example123"}},"MinecraftModItem":{"type":"object","properties":{"id":{"type":"string","description":"Catalog identifier. Use it in an installation request.","example":"resource_example123"},"name":{"type":"string","description":"Display name of this catalog item.","example":"Example server"},"provider":{"type":"string","description":"Catalog source of this item.","enum":["curseforge","modrinth"],"example":"curseforge"}},"required":["id","name","provider"],"description":"Details of the Minecraft mod item.","example":{"id":"resource_example123","name":"Example server","provider":"curseforge"}},"MinecraftModCatalog":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MinecraftModItem"},"description":"Entries returned on this page.","example":[{"id":"resource_example123","name":"Example server","provider":"curseforge"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["items","next_cursor"],"description":"Catalog of Minecraft mod entries.","example":{"items":[{"id":"resource_example123","name":"Example server","provider":"curseforge"}],"next_cursor":"pg_example123"}},"MinecraftModInstall":{"type":"object","properties":{"mod":{"$ref":"#/components/schemas/MinecraftModItem","description":"Mod of this resource.","example":{"id":"resource_example123","name":"Example server","provider":"curseforge"}},"status":{"type":"string","description":"Current status of the operation or resource.","example":"completed"}},"required":["status","mod"],"description":"Details of the Minecraft mod install.","example":{"mod":{"id":"resource_example123","name":"Example server","provider":"curseforge"},"status":"completed"}},"MinecraftPluginItem":{"type":"object","properties":{"id":{"type":"string","description":"Catalog identifier. Use it in an installation request.","example":"resource_example123"},"name":{"type":"string","description":"Display name of this catalog item.","example":"Example server"},"provider":{"type":"string","description":"Catalog source of this item.","enum":["spigot","curseforge","modrinth","cloudburst"],"example":"spigot"}},"required":["id","name","provider"],"description":"Details of the Minecraft plugin item.","example":{"id":"resource_example123","name":"Example server","provider":"spigot"}},"MinecraftPluginCatalog":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MinecraftPluginItem"},"description":"Entries returned on this page.","example":[{"id":"resource_example123","name":"Example server","provider":"spigot"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["items","next_cursor"],"description":"Catalog of Minecraft plugin entries.","example":{"items":[{"id":"resource_example123","name":"Example server","provider":"spigot"}],"next_cursor":"pg_example123"}},"MinecraftPluginInstall":{"type":"object","properties":{"plugin":{"$ref":"#/components/schemas/MinecraftPluginItem","description":"Plugin of this resource.","example":{"id":"resource_example123","name":"Example server","provider":"spigot"}},"status":{"type":"string","description":"Current status of the operation or resource.","example":"completed"}},"required":["status","plugin"],"description":"Details of the Minecraft plugin install.","example":{"plugin":{"id":"resource_example123","name":"Example server","provider":"spigot"},"status":"completed"}},"MinecraftDatapackItem":{"type":"object","properties":{"id":{"type":"string","description":"Catalog identifier. Use it in an installation request.","example":"resource_example123"},"name":{"type":"string","description":"Display name of this catalog item.","example":"Example server"},"provider":{"type":"string","description":"Catalog source of this item.","example":"Modrinth"}},"required":["id","name","provider"],"description":"Details of the Minecraft datapack item.","example":{"id":"resource_example123","name":"Example server","provider":"Modrinth"}},"MinecraftDatapackCatalog":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MinecraftDatapackItem"},"description":"Entries returned on this page.","example":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["items","next_cursor"],"description":"Catalog of Minecraft datapack entries.","example":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"}},"MinecraftDatapackInstall":{"type":"object","properties":{"datapack":{"$ref":"#/components/schemas/MinecraftDatapackItem","description":"Datapack of this resource.","example":{"id":"resource_example123","name":"Example server","provider":"Modrinth"}},"status":{"type":"string","description":"Current status of the operation or resource.","example":"completed"}},"required":["status","datapack"],"description":"Details of the Minecraft datapack install.","example":{"datapack":{"id":"resource_example123","name":"Example server","provider":"Modrinth"},"status":"completed"}},"MinecraftNamedDiskResource":{"type":"object","properties":{"id":{"type":"string","description":"Resource identifier.","example":"resource_example123"},"name":{"type":"string","description":"Resource display name.","example":"Example server"}},"required":["id","name"],"description":"Details of the Minecraft named disk resource.","example":{"id":"resource_example123","name":"Example server"}},"MinecraftDatapackWorldList":{"type":"object","properties":{"items":{"description":"Worlds available for datapack management.","type":"array","items":{"$ref":"#/components/schemas/MinecraftNamedDiskResource"},"example":[{"id":"resource_example123","name":"Example server"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["items","next_cursor"],"description":"Page of Minecraft datapack world entries.","example":{"items":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"}},"MinecraftBackup":{"type":"object","properties":{"created_at":{"type":"string","description":"Creation time in ISO 8601 format.","format":"date-time","example":"2026-07-14T12:00:00Z"},"id":{"type":"string","description":"Backup identifier.","example":"resource_example123"},"kind":{"type":"string","description":"Backup type: automatic, manual, or legacy.","enum":["automatic","manual","legacy"],"example":"automatic"},"name":{"type":"string","description":"Backup name.","example":"Example server"},"size_bytes":{"type":"integer","description":"Backup size in bytes when available.","example":42}},"required":["id","name","created_at","kind"],"description":"Details of the Minecraft backup.","example":{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","kind":"automatic","name":"Example server","size_bytes":42}},"MinecraftBackupList":{"type":"object","properties":{"backups":{"description":"Backups ordered from newest to oldest.","type":"array","items":{"$ref":"#/components/schemas/MinecraftBackup"},"example":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","kind":"automatic","name":"Example server","size_bytes":42}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["backups","next_cursor"],"description":"Page of Minecraft backup entries.","example":{"backups":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","kind":"automatic","name":"Example server","size_bytes":42}],"next_cursor":"pg_example123"}},"MinecraftArchive":{"type":"object","properties":{"id":{"type":"string","description":"Archive identifier.","example":"resource_example123"},"name":{"type":"string","description":"Archive display name.","example":"Example server"}},"required":["id","name"],"description":"Details of the Minecraft archive.","example":{"id":"resource_example123","name":"Example server"}},"MinecraftArchiveList":{"type":"object","properties":{"archives":{"type":"array","items":{"$ref":"#/components/schemas/MinecraftArchive"},"description":"Archives included in this resource.","example":[{"id":"resource_example123","name":"Example server"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["archives","next_cursor"],"description":"Page of Minecraft archive entries.","example":{"archives":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"}},"FileEntry":{"type":"object","properties":{"id":{"type":"string","description":"Identifier to use for this file or folder.","maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$","example":"resource_example123"},"name":{"type":"string","description":"File or folder name.","maxLength":255,"example":"Example server"},"size":{"type":"integer","description":"File size in bytes when the entry is a file.","minimum":0,"example":0},"type":{"type":"string","description":"Entry type: file or directory.","enum":["file","directory"],"example":"file"}},"required":["id","name","type"],"description":"Details of the file entry.","example":{"id":"resource_example123","name":"Example server","size":0,"type":"file"}},"FileEntryList":{"type":"object","properties":{"directory_id":{"type":["string","null"],"description":"Identifier of the listed folder. Null indicates the service root.","example":"resource_example123"},"entries":{"description":"Files and child folders in the listed folder.","type":"array","items":{"$ref":"#/components/schemas/FileEntry"},"example":[{"id":"resource_example123","name":"Example server","size":0,"type":"file"}]},"next_cursor":{"type":["string","null"],"description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["entries","next_cursor","directory_id"],"description":"Page of file entry entries.","example":{"directory_id":"resource_example123","entries":[{"id":"resource_example123","name":"Example server","size":0,"type":"file"}],"next_cursor":"pg_example123"}},"FileEntryMutationResult":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the resulting file or folder, when it still exists.","maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$","example":"resource_example123"},"name":{"type":"string","description":"Resulting entry name.","maxLength":255,"example":"Example server"},"size":{"type":"integer","description":"Resulting file size in bytes when applicable.","minimum":0,"example":0},"status":{"type":"string","description":"Result of the requested change.","example":"completed"},"type":{"type":"string","description":"Resulting entry type: file or directory.","enum":["file","directory"],"example":"file"}},"required":["status"],"description":"Details of the file entry mutation result.","example":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"}},"TextFileEntry":{"type":"object","properties":{"id":{"type":"string","description":"Identifier used to open this file or directory.","example":"resource_example123"},"name":{"type":"string","description":"File or directory name.","example":"Example server"},"size":{"type":"integer","description":"File size in bytes.","example":42},"type":{"type":"string","description":"Entry type: file or directory.","enum":["file","directory"],"example":"file"}},"description":"Details of the text file entry.","example":{"id":"resource_example123","name":"Example server","size":42,"type":"file"}},"TextFileList":{"type":"object","properties":{"directory_id":{"type":["string","null"],"description":"Identifier of the listed directory. Null indicates the service root.","example":"resource_example123"},"entries":{"description":"Editable files and child directories.","type":"array","items":{"$ref":"#/components/schemas/TextFileEntry"},"example":[{"id":"resource_example123","name":"Example server","size":42,"type":"file"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["next_cursor","directory_id","entries"],"description":"Page of text file entries.","example":{"directory_id":"resource_example123","entries":[{"id":"resource_example123","name":"Example server","size":42,"type":"file"}],"next_cursor":"pg_example123"}},"TextFileContent":{"type":"object","properties":{"content":{"type":"string","description":"Requested text content.","example":"motd=Welcome to the server"},"end_line":{"type":"integer","description":"Last returned line, using one-based numbering.","example":42},"id":{"type":"string","description":"Identifier to use for the next operation on this file.","example":"resource_example123"},"size":{"type":"integer","description":"File size in bytes.","example":42},"start_line":{"type":"integer","description":"First returned line, using one-based numbering.","example":42},"total_lines":{"type":"integer","description":"Total number of lines in the file.","example":3}},"required":["id","content","total_lines","size"],"description":"Details of the text file content.","example":{"content":"motd=Welcome to the server","end_line":42,"id":"resource_example123","size":42,"start_line":42,"total_lines":3}},"TextFileWriteResult":{"type":"object","properties":{"id":{"type":"string","description":"Identifier to use for the next operation on this file.","example":"resource_example123"},"size":{"type":"integer","description":"File size in bytes after the write.","example":42},"status":{"type":"string","description":"Write result.","example":"completed"},"total_lines":{"type":"integer","description":"Total number of lines after the write.","example":3}},"required":["status","id","total_lines","size"],"description":"Details of the text file write result.","example":{"id":"resource_example123","size":42,"status":"completed","total_lines":3}},"TextFileMutationResult":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the resulting file or folder, when it still exists.","maxLength":8192,"pattern":"^[A-Za-z0-9_-]+$","example":"resource_example123"},"name":{"type":"string","description":"Resulting entry name.","maxLength":255,"example":"Example server"},"size":{"type":"integer","description":"Resulting file size in bytes when applicable.","minimum":0,"example":0},"status":{"type":"string","description":"Result of the requested change.","example":"completed"},"type":{"type":"string","description":"Resulting entry type: file or directory.","enum":["file","directory"],"example":"file"}},"required":["status"],"description":"Details of the text file mutation result.","example":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"}},"MinecraftCoAdmin":{"type":"object","properties":{"access":{"type":"array","items":{"type":"string"},"example":["overview","files.read"],"description":"Access included in this resource."},"email":{"type":"string","format":"email","description":"Email address associated with the account.","example":"developer@example.com"},"id":{"type":"string","description":"Identifier of this resource.","example":"resource_example123"}},"required":["id","email","access"],"description":"Details of the Minecraft co admin.","example":{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"}},"MinecraftCoAdminList":{"type":"object","properties":{"co_admins":{"type":"array","items":{"$ref":"#/components/schemas/MinecraftCoAdmin"},"description":"Co admins included in this resource.","example":[{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["co_admins","next_cursor"],"description":"Page of Minecraft co admin entries.","example":{"co_admins":[{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"}],"next_cursor":"pg_example123"}},"MinecraftCoAdminAccess":{"type":"object","properties":{"access":{"type":"array","items":{"type":"string"},"example":["overview","files.read"],"description":"Access included in this resource."}},"required":["access"],"description":"Details of the Minecraft co admin access.","example":{"access":["overview","files.read"]}},"MinecraftPort":{"type":"object","properties":{"description":{"type":"string","description":"Optional customer-provided label.","example":"Example description"},"id":{"type":"string","description":"Port reservation identifier.","example":"resource_example123"},"port":{"type":"integer","description":"Reserved network port number.","example":25565}},"required":["id","port","description"],"description":"Details of the Minecraft port.","example":{"description":"Example description","id":"resource_example123","port":25565}},"MinecraftPortList":{"type":"object","properties":{"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"},"ports":{"description":"Reserved ports ordered by number.","type":"array","items":{"type":"object","properties":{"description":{"type":"string","description":"Optional customer-provided label.","example":"Example description"},"id":{"type":"string","description":"Port reservation identifier.","example":"resource_example123"},"port":{"type":"integer","description":"Reserved network port number.","example":25565}}},"example":[{"description":"Example description","id":"resource_example123","port":25565}]}},"required":["ports","next_cursor"],"description":"Page of Minecraft port entries.","example":{"next_cursor":"pg_example123","ports":[{"description":"Example description","id":"resource_example123","port":25565}]}},"MinecraftInstalledContent":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the content is enabled.","example":true},"id":{"type":"string","description":"Installed content identifier.","example":"resource_example123"},"name":{"type":"string","description":"Installed content name.","example":"Example server"}},"required":["id","name","enabled"],"description":"Details of the Minecraft installed content.","example":{"enabled":true,"id":"resource_example123","name":"Example server"}},"MinecraftInstalledContentList":{"type":"object","properties":{"items":{"description":"Installed content ordered by name.","type":"array","items":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the content is enabled.","example":true},"id":{"type":"string","description":"Installed content identifier.","example":"resource_example123"},"name":{"type":"string","description":"Installed content name.","example":"Example server"}}},"example":[{"enabled":true,"id":"resource_example123","name":"Example server"}]},"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"}},"required":["items","next_cursor"],"description":"Page of Minecraft installed content entries.","example":{"items":[{"enabled":true,"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"}},"MinecraftViewerHd":{"type":"object","properties":{"available":{"type":"boolean","description":"Whether a generated viewer is available.","example":true},"generating":{"type":"boolean","description":"Whether a generation or reset is currently in progress.","example":true},"maps":{"description":"Available maps ordered alphabetically.","type":"array","items":{"$ref":"#/components/schemas/MinecraftNamedDiskResource"},"example":[{"id":"resource_example123","name":"Example server"}]},"selected_map_id":{"type":"string","description":"Selected map identifier.","example":"resource_example123"},"selected_map_name":{"type":"string","description":"Selected map display name.","example":"Example server"}},"required":["available","generating","maps"],"description":"Details of the Minecraft viewer HD.","example":{"available":true,"generating":true,"maps":[{"id":"resource_example123","name":"Example server"}],"selected_map_id":"resource_example123","selected_map_name":"Example server"}},"LiteService":{"type":"object","properties":{"available":{"type":"boolean","description":"Whether this Lite service can be used with the parent service plan.","example":true},"display_id":{"type":"integer","description":"Numeric server number shown in BoxToPlay for recognition. API request paths require id.","minimum":1,"example":648},"domain":{"type":"string","description":"Configured domain when Web Hosting Lite is enabled.","minLength":4,"maxLength":253,"pattern":"^((?!-)[A-Za-z0-9-]{1,63}(?<!-)\\.)+[A-Za-z]{2,63}$","example":"play.example.com"},"enabled":{"type":"boolean","description":"Whether this Lite service has been activated.","example":true},"id":{"type":"string","description":"Public service identifier accepted by API request paths.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_530267a34d5adf02fa3119e169653545"},"included":{"type":"boolean","description":"Whether this Lite service is included with the parent service plan.","example":true},"name":{"type":"string","description":"Service display name followed by its BoxToPlay server number.","example":"MySQL Lite #648"},"parent_display_id":{"type":"integer","description":"Numeric parent service identifier shown in BoxToPlay.","minimum":1,"example":648},"parent_service_id":{"type":"string","description":"Parent service identifier to use in API request paths.","pattern":"^btp_[A-Za-z0-9_-]{32}$","example":"btp_2fa3119e169653545530267a34d5adf0"},"parent_service_type":{"type":"string","description":"Type of the service that includes this Lite service.","enum":["minecraft","bungee"],"example":"minecraft"},"php_version":{"type":"integer","description":"Configured PHP version when available.","enum":[5,7,8],"example":8},"port":{"type":"integer","description":"Connection port when Mumble Lite is enabled.","minimum":1,"maximum":65535,"example":64738},"service_type":{"type":"string","description":"Lite service type.","enum":["mysql_lite","web_hosting_lite","mumble_lite"],"example":"mysql_lite"}},"required":["id","display_id","name","service_type","available","included","enabled","parent_service_type","parent_service_id","parent_display_id"],"example":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648},"description":"Details of the lite service."},"LiteServiceList":{"type":"object","properties":{"next_cursor":{"type":["string","null"],"maxLength":256,"pattern":"^pg_[A-Za-z0-9_-]+$","description":"Cursor to send with the next request, or null when the collection is complete.","example":"pg_example123"},"services":{"type":"array","items":{"$ref":"#/components/schemas/LiteService"},"description":"Services included in this resource.","example":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}]}},"required":["services","next_cursor"],"example":{"services":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}],"next_cursor":null},"description":"Page of lite service entries."},"MinecraftConsoleCommandRequest":{"type":"object","properties":{"command":{"type":"string","description":"Minecraft console command to execute.","minLength":1,"maxLength":8192,"pattern":"^[^\\u0000\\r\\n]*\\S[^\\u0000\\r\\n]*$","example":"say Server maintenance starts soon"}},"additionalProperties":false,"required":["command"],"example":{"command":"say Server maintenance starts soon"},"description":"Fields accepted for this Minecraft console command request."},"MinecraftCoAdminCreateRequest":{"type":"object","properties":{"email":{"type":"string","description":"Account email address to add as a co-administrator.","format":"email","maxLength":254,"example":"co-admin@example.com"}},"additionalProperties":false,"required":["email"],"example":{"email":"co-admin@example.com"},"description":"Fields accepted for this Minecraft co admin create request."},"MinecraftCoAdminAccessUpdateRequest":{"type":"object","properties":{"access":{"type":"array","maxItems":200,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":128},"example":["overview","files.read"],"description":"Access included in this resource."}},"additionalProperties":false,"required":["access"],"example":{"access":["overview","files.read"]},"description":"Fields accepted for this Minecraft co admin access update request."},"MinecraftWorldCreateRequest":{"type":"object","properties":{"generate_structures":{"type":"boolean","description":"Whether to generate structures.","example":true},"hardcore":{"type":"boolean","description":"Whether the generated world uses hardcore mode.","example":true},"level_type":{"type":"string","description":"World generation type.","enum":["default","flat","largebiomes","amplified"],"example":"default"},"max_world_size":{"type":"integer","description":"Maximum world size.","minimum":1,"maximum":29999984,"example":1},"name":{"type":"string","description":"New world name.","maxLength":60,"pattern":"^[A-Za-z0-9](?:[A-Za-z0-9 _-]{0,58}[A-Za-z0-9_-])?$","example":"Example server"},"seed":{"type":"string","description":"Optional world seed.","maxLength":64,"pattern":"^[A-Za-z0-9_-]*$","example":"8675309"}},"additionalProperties":false,"required":["name"],"example":{"name":"adventure"},"description":"Fields accepted for this Minecraft world create request."},"MinecraftWorldKeepCurrentRequest":{"type":"object","properties":{"generate_structures":{"type":"boolean","description":"Whether to generate structures.","example":true},"hardcore":{"type":"boolean","description":"Whether the generated world uses hardcore mode.","example":true},"level_type":{"type":"string","description":"World generation type.","enum":["default","flat","largebiomes","amplified"],"example":"default"},"max_world_size":{"type":"integer","description":"Maximum world size.","minimum":1,"maximum":29999984,"example":1},"name":{"type":"string","description":"New world name.","maxLength":60,"pattern":"^[A-Za-z0-9](?:[A-Za-z0-9 _-]{0,58}[A-Za-z0-9_-])?$","example":"Example server"},"seed":{"type":"string","description":"Optional world seed.","maxLength":64,"pattern":"^[A-Za-z0-9_-]*$","example":"8675309"}},"additionalProperties":false,"required":["name"],"example":{"name":"adventure"},"description":"Fields accepted for this Minecraft world keep current request."},"ScheduledTaskCreateRequest":{"type":"object","properties":{"action":{"type":"string","description":"Action executed by the task: command, start, stop or restart. save_world and announce are deprecated and valid only in schedule mode.","enum":["command","start","stop","restart","save_world","announce"],"example":"start"},"active_hours_end":{"type":"string","description":"Optional daily execution window end as HH:mm or HH:mm:ss. Omit both active hour fields to allow the full day.","pattern":"^(?:[01]\\d|2[0-3]):(?:00|[0-5]\\d)(?::[0-5]\\d)?$","example":"23:59"},"active_hours_start":{"type":"string","description":"Optional daily execution window start as HH:mm or HH:mm:ss. Omit both active hour fields to allow the full day.","pattern":"^(?:[01]\\d|2[0-3]):(?:00|[0-5]\\d)(?::[0-5]\\d)?$","example":"00:00"},"command":{"type":"string","description":"Single-line console command sent as-is to the server console. Required when action is command, and one of the accepted command sources in schedule mode.","minLength":1,"maxLength":2000,"pattern":"^[^\\u0000-\\u001F\\u007F\\u0080-\\u009F\\u2028\\u2029]+$","example":"save-all"},"condition_metric":{"type":"string","description":"Metric compared when condition_type is metric_threshold. Required only then.","enum":["players","cpu_percent","ram_percent","storage_percent","network_in_mibps","network_out_mibps","disk_read_mibps","disk_write_mibps","uptime_minutes"],"example":"players"},"condition_operator":{"type":"string","description":"Comparison operator used with condition_metric. Required only for metric_threshold.","enum":["gt","gte","lt","lte","eq","neq"],"example":"gte"},"condition_threshold":{"type":"number","description":"Numeric threshold compared with condition_metric, from 0 to 1000000. Required only for metric_threshold.","minimum":0,"maximum":1000000,"example":10},"condition_type":{"type":"string","description":"Condition trigger required in condition mode: service_stopped, service_started or metric_threshold.","enum":["service_stopped","service_started","metric_threshold"],"example":"service_stopped"},"cooldown_seconds":{"type":"integer","description":"Minimum delay between condition triggers. Defaults to 600. Used only in condition mode.","enum":[300,600,1800,3600],"default":600,"example":600},"ends_at":{"description":"Schedule mode only. Optional recurrence end time. Same formats as starts_at. Offset timestamps keep their exact instant. Condition mode rejects this field.","oneOf":[{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2}(?::\\d{2})?)$","description":"RFC 3339 date-time with a UTC offset such as Z or +02:00. The offset instant is kept exactly."},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?$","description":"Local date-time without offset. Accepted only with input_timezone when that zone has exactly one valid offset at this local time."},{"type":"null","description":"Omit or null when the calendar task has no end time."}],"format":"date-time","example":"2026-07-14T12:00:00Z"},"excluded_weekdays":{"description":"Weekdays to skip, from monday to sunday.","type":"array","items":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"maxItems":7,"uniqueItems":true,"example":["monday"]},"input_timezone":{"type":"string","description":"Schedule mode only. Optional IANA time zone used to interpret starts_at and ends_at values that have no UTC offset. It does not set the recurrence time zone. Recurrence, active hours and excluded weekdays stay Europe/Paris wall-clock rules. A supplied zone is validated even with offset timestamps. Accepted timestamps keep their exact instant. Times that become ambiguous in Europe/Paris are rejected. Condition mode rejects this field.","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_+\\-/]+$","example":"America/New_York"},"interval_unit":{"type":"string","description":"Repeat interval unit: seconds, minutes, hours, days or months.","enum":["seconds","minutes","hours","days","months"],"example":"days"},"interval_value":{"type":"integer","description":"Repeat interval. Required for recurring tasks.","minimum":1,"maximum":100000,"example":1},"message":{"type":"string","description":"Deprecated legacy announce payload. Use command instead.","deprecated":true,"maxLength":200,"example":"Operation completed."},"mode":{"type":"string","description":"Automation mode: schedule for calendar execution, or condition for a runtime trigger. Defaults to schedule. Immutable after creation.","default":"schedule","enum":["schedule","condition"],"example":"schedule"},"recurring":{"type":"boolean","description":"Whether a calendar task repeats. Required for schedule mode. Must be omitted or unused for condition mode.","example":true},"starts_at":{"description":"Schedule mode only. First calendar execution time, required on create. Use RFC 3339 with a UTC offset, or a local date-time with input_timezone when that zone has exactly one valid offset at that local time. Times that become ambiguous in Europe/Paris are rejected. Condition mode rejects this field. The API assigns its activation time.","oneOf":[{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2}(?::\\d{2})?)$","description":"RFC 3339 date-time with a UTC offset such as Z or +02:00. The offset instant is kept exactly."},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?$","description":"Local date-time without offset. Accepted only with input_timezone when that zone has exactly one valid offset at this local time."}],"example":"2030-06-15T12:00:00+02:00","format":"date-time"},"status":{"type":"string","description":"Initial or updated status: active or paused.","enum":["active","paused"],"example":"active"}},"additionalProperties":false,"description":"Creates a calendar or condition-based automation task. mode defaults to schedule. Calendar fields apply only to schedule mode; condition fields apply only to condition mode. Fields from the other mode are rejected with 422 not_allowed. schedule requires recurring, starts_at and exactly one command source (command, or a legacy action plus message). condition requires condition_type and action; condition_metric, condition_operator and condition_threshold are required only for metric_threshold; command is required only when action is command. Example condition body: {\"mode\":\"condition\",\"condition_type\":\"service_stopped\",\"action\":\"start\",\"cooldown_seconds\":600}.","allOf":[{"if":{"properties":{"recurring":{"const":true}},"required":["recurring"]},"then":{"required":["interval_value","interval_unit"]}},{"if":{"properties":{"recurring":{"const":false}},"required":["recurring"]},"then":{"not":{"anyOf":[{"required":["interval_value"]},{"required":["interval_unit"]},{"required":["active_hours_start"]},{"required":["active_hours_end"]},{"required":["excluded_weekdays"]}]},"properties":{"ends_at":{"type":"null"}}}}],"example":{"mode":"schedule","command":"save-all","recurring":true,"starts_at":"2030-06-15T12:00:00+02:00","interval_value":1,"interval_unit":"days","active_hours_start":"00:00","active_hours_end":"23:59","excluded_weekdays":[]},"examples":[{"mode":"schedule","command":"save-all","recurring":true,"starts_at":"2030-06-15T12:00:00+02:00","interval_value":1,"interval_unit":"days","active_hours_start":"00:00","active_hours_end":"23:59","excluded_weekdays":[]},{"mode":"condition","condition_type":"service_stopped","action":"start","cooldown_seconds":600}]},"ScheduledTaskUpdateRequest":{"type":"object","properties":{"action":{"type":"string","description":"Action executed by the task: command, start, stop or restart. save_world and announce are deprecated and valid only in schedule mode.","enum":["command","start","stop","restart","save_world","announce"],"example":"command"},"active_hours_end":{"type":"string","description":"Optional daily execution window end as HH:mm or HH:mm:ss. Omit both active hour fields to allow the full day.","pattern":"^(?:[01]\\d|2[0-3]):(?:00|[0-5]\\d)(?::[0-5]\\d)?$","example":"18:59:59"},"active_hours_start":{"type":"string","description":"Optional daily execution window start as HH:mm or HH:mm:ss. Omit both active hour fields to allow the full day.","pattern":"^(?:[01]\\d|2[0-3]):(?:00|[0-5]\\d)(?::[0-5]\\d)?$","example":"08:00:00"},"command":{"type":"string","description":"Single-line console command sent as-is to the server console. Required when action is command, and one of the accepted command sources in schedule mode.","minLength":1,"maxLength":2000,"pattern":"^[^\\u0000-\\u001F\\u007F\\u0080-\\u009F\\u2028\\u2029]+$","example":"say Server maintenance starts soon"},"condition_metric":{"type":"string","description":"Metric compared when condition_type is metric_threshold. Required only then.","enum":["players","cpu_percent","ram_percent","storage_percent","network_in_mibps","network_out_mibps","disk_read_mibps","disk_write_mibps","uptime_minutes"],"example":"players"},"condition_operator":{"type":"string","description":"Comparison operator used with condition_metric. Required only for metric_threshold.","enum":["gt","gte","lt","lte","eq","neq"],"example":"gt"},"condition_threshold":{"type":"number","description":"Numeric threshold compared with condition_metric, from 0 to 1000000. Required only for metric_threshold.","minimum":0,"maximum":1000000,"example":0.0},"condition_type":{"type":"string","description":"Condition trigger required in condition mode: service_stopped, service_started or metric_threshold.","enum":["service_stopped","service_started","metric_threshold"],"example":"service_stopped"},"cooldown_seconds":{"type":"integer","description":"Minimum delay between condition triggers. Defaults to 600. Used only in condition mode.","enum":[300,600,1800,3600],"default":600,"example":300},"ends_at":{"description":"Schedule mode only. Optional recurrence end time. Same formats as starts_at. Offset timestamps keep their exact instant. Condition mode rejects this field.","oneOf":[{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2}(?::\\d{2})?)$","description":"RFC 3339 date-time with a UTC offset such as Z or +02:00. The offset instant is kept exactly."},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?$","description":"Local date-time without offset. Accepted only with input_timezone when that zone has exactly one valid offset at this local time."},{"type":"null","description":"Omit or null when the calendar task has no end time."}],"format":"date-time","example":"2026-07-14T12:00:00Z"},"excluded_weekdays":{"description":"Weekdays to skip, from monday to sunday.","type":"array","items":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"maxItems":7,"uniqueItems":true,"example":["monday"]},"input_timezone":{"type":"string","description":"Schedule mode only. Optional IANA time zone used to interpret starts_at and ends_at values that have no UTC offset. It does not set the recurrence time zone. Recurrence, active hours and excluded weekdays stay Europe/Paris wall-clock rules. A supplied zone is validated even with offset timestamps. Accepted timestamps keep their exact instant. Times that become ambiguous in Europe/Paris are rejected. Condition mode rejects this field.","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_+\\-/]+$","example":"America/New_York"},"interval_unit":{"type":"string","description":"Repeat interval unit: seconds, minutes, hours, days or months.","enum":["seconds","minutes","hours","days","months"],"example":"seconds"},"interval_value":{"type":"integer","description":"Repeat interval. Required for recurring tasks.","minimum":1,"maximum":100000,"example":1},"message":{"type":"string","description":"Deprecated legacy announce payload. Use command instead.","deprecated":true,"maxLength":200,"example":"Operation completed."},"mode":{"type":"string","description":"Automation mode: schedule for calendar execution, or condition for a runtime trigger. Defaults to schedule. Immutable after creation.","default":"schedule","enum":["schedule","condition"],"example":"schedule"},"recurring":{"type":"boolean","description":"Whether a calendar task repeats. Omit it to keep the stored value. Must be omitted or unused for condition mode.","example":true},"starts_at":{"description":"Schedule mode only. First calendar execution time, required on create. Use RFC 3339 with a UTC offset, or a local date-time with input_timezone when that zone has exactly one valid offset at that local time. Times that become ambiguous in Europe/Paris are rejected. Condition mode rejects this field. The API assigns its activation time.","oneOf":[{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2}(?::\\d{2})?)$","description":"RFC 3339 date-time with a UTC offset such as Z or +02:00. The offset instant is kept exactly."},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?$","description":"Local date-time without offset. Accepted only with input_timezone when that zone has exactly one valid offset at this local time."}],"format":"date-time","example":"2026-07-14T12:00:00Z"},"status":{"type":"string","description":"Initial or updated status: active or paused.","enum":["active","paused"],"example":"paused"}},"additionalProperties":false,"minProperties":1,"description":"Partial automation-task update. Provide at least one property. mode cannot be changed after creation. Calendar fields apply only to schedule mode; condition fields apply only to condition mode. Fields from the other mode are rejected with 422 not_allowed. In schedule mode, omitted fields keep their stored values. Setting recurring to false without ends_at removes the stored recurrence end. On a recurring task, send ends_at as an empty string to remove its end. A supplied starts_at must be in the future. condition requires condition_type and action; condition_metric, condition_operator and condition_threshold are required only for metric_threshold; command is required only when action is command.","allOf":[{"if":{"properties":{"recurring":{"const":true}},"required":["recurring"]},"then":{"required":["interval_value","interval_unit"]}},{"if":{"properties":{"recurring":{"const":false}},"required":["recurring"]},"then":{"not":{"anyOf":[{"required":["interval_value"]},{"required":["interval_unit"]},{"required":["active_hours_start"]},{"required":["active_hours_end"]},{"required":["excluded_weekdays"]}]},"properties":{"ends_at":{"type":"null"}}}}],"example":{"status":"paused"}},"BungeeScheduledTaskCreateRequest":{"type":"object","properties":{"action":{"type":"string","description":"Action executed by the task: command, start, stop or restart. save_world and announce are deprecated and valid only in schedule mode.","enum":["command","start","stop","restart","announce"],"example":"start"},"active_hours_end":{"type":"string","description":"Optional daily execution window end as HH:mm or HH:mm:ss. Omit both active hour fields to allow the full day.","pattern":"^(?:[01]\\d|2[0-3]):(?:00|[0-5]\\d)(?::[0-5]\\d)?$","example":"23:59"},"active_hours_start":{"type":"string","description":"Optional daily execution window start as HH:mm or HH:mm:ss. Omit both active hour fields to allow the full day.","pattern":"^(?:[01]\\d|2[0-3]):(?:00|[0-5]\\d)(?::[0-5]\\d)?$","example":"00:00"},"command":{"type":"string","description":"Single-line console command sent as-is to the server console. Required when action is command, and one of the accepted command sources in schedule mode.","minLength":1,"maxLength":2000,"pattern":"^[^\\u0000-\\u001F\\u007F\\u0080-\\u009F\\u2028\\u2029]+$","example":"alert Server maintenance starts soon"},"condition_metric":{"type":"string","description":"Metric compared when condition_type is metric_threshold. Required only then.","enum":["players","cpu_percent","ram_percent","storage_percent","network_in_mibps","network_out_mibps","disk_read_mibps","disk_write_mibps","uptime_minutes"],"example":"players"},"condition_operator":{"type":"string","description":"Comparison operator used with condition_metric. Required only for metric_threshold.","enum":["gt","gte","lt","lte","eq","neq"],"example":"gte"},"condition_threshold":{"type":"number","description":"Numeric threshold compared with condition_metric, from 0 to 1000000. Required only for metric_threshold.","minimum":0,"maximum":1000000,"example":10},"condition_type":{"type":"string","description":"Condition trigger required in condition mode: service_stopped, service_started or metric_threshold.","enum":["service_stopped","service_started","metric_threshold"],"example":"service_stopped"},"cooldown_seconds":{"type":"integer","description":"Minimum delay between condition triggers. Defaults to 600. Used only in condition mode.","enum":[300,600,1800,3600],"default":600,"example":600},"ends_at":{"description":"Schedule mode only. Optional recurrence end time. Same formats as starts_at. Offset timestamps keep their exact instant. Condition mode rejects this field.","oneOf":[{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2}(?::\\d{2})?)$","description":"RFC 3339 date-time with a UTC offset such as Z or +02:00. The offset instant is kept exactly."},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?$","description":"Local date-time without offset. Accepted only with input_timezone when that zone has exactly one valid offset at this local time."},{"type":"null","description":"Omit or null when the calendar task has no end time."}],"format":"date-time","example":"2026-07-14T12:00:00Z"},"excluded_weekdays":{"description":"Weekdays to skip, from monday to sunday.","type":"array","items":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"maxItems":7,"uniqueItems":true,"example":["monday"]},"input_timezone":{"type":"string","description":"Schedule mode only. Optional IANA time zone used to interpret starts_at and ends_at values that have no UTC offset. It does not set the recurrence time zone. Recurrence, active hours and excluded weekdays stay Europe/Paris wall-clock rules. A supplied zone is validated even with offset timestamps. Accepted timestamps keep their exact instant. Times that become ambiguous in Europe/Paris are rejected. Condition mode rejects this field.","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_+\\-/]+$","example":"America/New_York"},"interval_unit":{"type":"string","description":"Repeat interval unit: seconds, minutes, hours, days or months.","enum":["seconds","minutes","hours","days","months"],"example":"days"},"interval_value":{"type":"integer","description":"Repeat interval. Required for recurring tasks.","minimum":1,"maximum":100000,"example":1},"message":{"type":"string","description":"Deprecated legacy announce payload. Use command instead.","deprecated":true,"maxLength":200,"example":"Operation completed."},"mode":{"type":"string","description":"Automation mode: schedule for calendar execution, or condition for a runtime trigger. Defaults to schedule. Immutable after creation.","default":"schedule","enum":["schedule","condition"],"example":"schedule"},"recurring":{"type":"boolean","description":"Whether a calendar task repeats. Required for schedule mode. Must be omitted or unused for condition mode.","example":true},"starts_at":{"description":"Schedule mode only. First calendar execution time, required on create. Use RFC 3339 with a UTC offset, or a local date-time with input_timezone when that zone has exactly one valid offset at that local time. Times that become ambiguous in Europe/Paris are rejected. Condition mode rejects this field. The API assigns its activation time.","oneOf":[{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2}(?::\\d{2})?)$","description":"RFC 3339 date-time with a UTC offset such as Z or +02:00. The offset instant is kept exactly."},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?$","description":"Local date-time without offset. Accepted only with input_timezone when that zone has exactly one valid offset at this local time."}],"example":"2030-06-15T12:00:00+02:00","format":"date-time"},"status":{"type":"string","description":"Initial or updated status: active or paused.","enum":["active","paused"],"example":"active"}},"additionalProperties":false,"description":"Creates a calendar or condition-based automation task. mode defaults to schedule. Calendar fields apply only to schedule mode; condition fields apply only to condition mode. Fields from the other mode are rejected with 422 not_allowed. schedule requires recurring, starts_at and exactly one command source (command, or a legacy action plus message). condition requires condition_type and action; condition_metric, condition_operator and condition_threshold are required only for metric_threshold; command is required only when action is command. Example condition body: {\"mode\":\"condition\",\"condition_type\":\"service_stopped\",\"action\":\"start\",\"cooldown_seconds\":600}.","allOf":[{"if":{"properties":{"recurring":{"const":true}},"required":["recurring"]},"then":{"required":["interval_value","interval_unit"]}},{"if":{"properties":{"recurring":{"const":false}},"required":["recurring"]},"then":{"not":{"anyOf":[{"required":["interval_value"]},{"required":["interval_unit"]},{"required":["active_hours_start"]},{"required":["active_hours_end"]},{"required":["excluded_weekdays"]}]},"properties":{"ends_at":{"type":"null"}}}}],"example":{"mode":"schedule","command":"alert Server maintenance starts soon","recurring":true,"starts_at":"2030-06-15T12:00:00+02:00","interval_value":1,"interval_unit":"days","active_hours_start":"00:00","active_hours_end":"23:59","excluded_weekdays":[]}},"BungeeScheduledTaskUpdateRequest":{"type":"object","properties":{"action":{"type":"string","description":"Action executed by the task: command, start, stop or restart. save_world and announce are deprecated and valid only in schedule mode.","enum":["command","start","stop","restart","announce"],"example":"command"},"active_hours_end":{"type":"string","description":"Optional daily execution window end as HH:mm or HH:mm:ss. Omit both active hour fields to allow the full day.","pattern":"^(?:[01]\\d|2[0-3]):(?:00|[0-5]\\d)(?::[0-5]\\d)?$","example":"18:59:59"},"active_hours_start":{"type":"string","description":"Optional daily execution window start as HH:mm or HH:mm:ss. Omit both active hour fields to allow the full day.","pattern":"^(?:[01]\\d|2[0-3]):(?:00|[0-5]\\d)(?::[0-5]\\d)?$","example":"08:00:00"},"command":{"type":"string","description":"Single-line console command sent as-is to the server console. Required when action is command, and one of the accepted command sources in schedule mode.","minLength":1,"maxLength":2000,"pattern":"^[^\\u0000-\\u001F\\u007F\\u0080-\\u009F\\u2028\\u2029]+$","example":"say Server maintenance starts soon"},"condition_metric":{"type":"string","description":"Metric compared when condition_type is metric_threshold. Required only then.","enum":["players","cpu_percent","ram_percent","storage_percent","network_in_mibps","network_out_mibps","disk_read_mibps","disk_write_mibps","uptime_minutes"],"example":"players"},"condition_operator":{"type":"string","description":"Comparison operator used with condition_metric. Required only for metric_threshold.","enum":["gt","gte","lt","lte","eq","neq"],"example":"gt"},"condition_threshold":{"type":"number","description":"Numeric threshold compared with condition_metric, from 0 to 1000000. Required only for metric_threshold.","minimum":0,"maximum":1000000,"example":0.0},"condition_type":{"type":"string","description":"Condition trigger required in condition mode: service_stopped, service_started or metric_threshold.","enum":["service_stopped","service_started","metric_threshold"],"example":"service_stopped"},"cooldown_seconds":{"type":"integer","description":"Minimum delay between condition triggers. Defaults to 600. Used only in condition mode.","enum":[300,600,1800,3600],"default":600,"example":300},"ends_at":{"description":"Schedule mode only. Optional recurrence end time. Same formats as starts_at. Offset timestamps keep their exact instant. Condition mode rejects this field.","oneOf":[{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2}(?::\\d{2})?)$","description":"RFC 3339 date-time with a UTC offset such as Z or +02:00. The offset instant is kept exactly."},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?$","description":"Local date-time without offset. Accepted only with input_timezone when that zone has exactly one valid offset at this local time."},{"type":"null","description":"Omit or null when the calendar task has no end time."}],"format":"date-time","example":"2026-07-14T12:00:00Z"},"excluded_weekdays":{"description":"Weekdays to skip, from monday to sunday.","type":"array","items":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"maxItems":7,"uniqueItems":true,"example":["monday"]},"input_timezone":{"type":"string","description":"Schedule mode only. Optional IANA time zone used to interpret starts_at and ends_at values that have no UTC offset. It does not set the recurrence time zone. Recurrence, active hours and excluded weekdays stay Europe/Paris wall-clock rules. A supplied zone is validated even with offset timestamps. Accepted timestamps keep their exact instant. Times that become ambiguous in Europe/Paris are rejected. Condition mode rejects this field.","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_+\\-/]+$","example":"America/New_York"},"interval_unit":{"type":"string","description":"Repeat interval unit: seconds, minutes, hours, days or months.","enum":["seconds","minutes","hours","days","months"],"example":"seconds"},"interval_value":{"type":"integer","description":"Repeat interval. Required for recurring tasks.","minimum":1,"maximum":100000,"example":1},"message":{"type":"string","description":"Deprecated legacy announce payload. Use command instead.","deprecated":true,"maxLength":200,"example":"Operation completed."},"mode":{"type":"string","description":"Automation mode: schedule for calendar execution, or condition for a runtime trigger. Defaults to schedule. Immutable after creation.","default":"schedule","enum":["schedule","condition"],"example":"schedule"},"recurring":{"type":"boolean","description":"Whether a calendar task repeats. Omit it to keep the stored value. Must be omitted or unused for condition mode.","example":true},"starts_at":{"description":"Schedule mode only. First calendar execution time, required on create. Use RFC 3339 with a UTC offset, or a local date-time with input_timezone when that zone has exactly one valid offset at that local time. Times that become ambiguous in Europe/Paris are rejected. Condition mode rejects this field. The API assigns its activation time.","oneOf":[{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2}(?::\\d{2})?)$","description":"RFC 3339 date-time with a UTC offset such as Z or +02:00. The offset instant is kept exactly."},{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?$","description":"Local date-time without offset. Accepted only with input_timezone when that zone has exactly one valid offset at this local time."}],"format":"date-time","example":"2026-07-14T12:00:00Z"},"status":{"type":"string","description":"Initial or updated status: active or paused.","enum":["active","paused"],"example":"paused"}},"additionalProperties":false,"minProperties":1,"description":"Partial automation-task update. Provide at least one property. mode cannot be changed after creation. Calendar fields apply only to schedule mode; condition fields apply only to condition mode. Fields from the other mode are rejected with 422 not_allowed. In schedule mode, omitted fields keep their stored values. Setting recurring to false without ends_at removes the stored recurrence end. On a recurring task, send ends_at as an empty string to remove its end. A supplied starts_at must be in the future. condition requires condition_type and action; condition_metric, condition_operator and condition_threshold are required only for metric_threshold; command is required only when action is command.","allOf":[{"if":{"properties":{"recurring":{"const":true}},"required":["recurring"]},"then":{"required":["interval_value","interval_unit"]}},{"if":{"properties":{"recurring":{"const":false}},"required":["recurring"]},"then":{"not":{"anyOf":[{"required":["interval_value"]},{"required":["interval_unit"]},{"required":["active_hours_start"]},{"required":["active_hours_end"]},{"required":["excluded_weekdays"]}]},"properties":{"ends_at":{"type":"null"}}}}],"example":{"status":"paused"}},"IndexEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Index","description":"Response data returned by the operation.","example":{"name":"BoxToPlay Public API","openapi_url":"/v1/openapi.json","status_url":"/v1/status","version":"v1"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the index.","example":{"data":{"name":"BoxToPlay Public API","openapi_url":"/v1/openapi.json","status_url":"/v1/status","version":"v1"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"StatusEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Status","description":"Response data returned by the operation.","example":{"status":"ok","version":"v1"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the status.","example":{"data":{"status":"ok","version":"v1"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"ProfileEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Profile","description":"Response data returned by the operation.","example":{"email":"developer@example.com","first_name":"Ada","last_name":"Lovelace"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the profile.","example":{"data":{"email":"developer@example.com","first_name":"Ada","last_name":"Lovelace"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"AiCreditEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AiCredit","description":"Response data returned by the operation.","example":{"available":true,"credit_remaining":15.0,"credit_total":20.0,"credit_used":5.0,"currency":"EUR","usage_percentage":25}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the AI credit.","example":{"data":{"available":true,"credit_remaining":15.0,"credit_total":20.0,"credit_used":5.0,"currency":"EUR","usage_percentage":25},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftServiceEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftService","description":"Response data returned by the operation.","example":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft service.","example":{"data":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftServiceDetailEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftServiceDetail","description":"Response data returned by the operation.","example":{"connection_address":"play.example.com:25565","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","installed_modpack":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"},"name":"Minecraft #648","plan":{"name":"Titan","currency":"EUR","monthly_price":14.99,"memory_bytes":16106127360,"cpu_threads":16},"runtime_type":"bedrock"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft service detail.","example":{"data":{"connection_address":"play.example.com:25565","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","installed_modpack":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"},"name":"Minecraft #648","plan":{"name":"Titan","currency":"EUR","monthly_price":14.99,"memory_bytes":16106127360,"cpu_threads":16},"runtime_type":"bedrock"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"BungeeCordVelocityServiceEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BungeeCordVelocityService","description":"Response data returned by the operation.","example":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the bungee cord velocity service.","example":{"data":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"BungeeCordVelocityServiceDetailEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BungeeCordVelocityServiceDetail","description":"Response data returned by the operation.","example":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","plan":{"name":"BungeeCord / Velocity","currency":"EUR","monthly_price":2.99},"proxy_type":"velocity"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the bungee cord velocity service detail.","example":{"data":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","plan":{"name":"BungeeCord / Velocity","currency":"EUR","monthly_price":2.99},"proxy_type":"velocity"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakServiceEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakService","description":"Response data returned by the operation.","example":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak service.","example":{"data":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakServiceDetailEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakServiceDetail","description":"Response data returned by the operation.","example":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648","plan":{"name":"TEAMSPEAK-32","currency":"EUR","monthly_price":9.28,"slots":32}}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak service detail.","example":{"data":{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648","plan":{"name":"TEAMSPEAK-32","currency":"EUR","monthly_price":9.28,"slots":32}},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"VPSServiceDetailEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/VPSServiceDetail","description":"Response data returned by the operation.","example":{"connection_address":"my-server.vps.boxtoplay.com","cpu_cores":4,"disk_capacity_bytes":53687091200,"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","memory_bytes":8589934592,"name":"VPS #648","operating_system":"Windows Server 2025","plan":{"name":"VPS2-WIN","currency":"EUR","monthly_price":13.99,"windows_available":true,"bandwidth_mbps":250}}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the VPS service detail.","example":{"data":{"connection_address":"my-server.vps.boxtoplay.com","cpu_cores":4,"disk_capacity_bytes":53687091200,"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","memory_bytes":8589934592,"name":"VPS #648","operating_system":"Windows Server 2025","plan":{"name":"VPS2-WIN","currency":"EUR","monthly_price":13.99,"windows_available":true,"bandwidth_mbps":250}},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"ServiceInventoryEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ServiceInventory","description":"Response data returned by the operation.","example":{"bungee":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}],"minecraft":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}],"mumble_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Mumble Lite #648","service_type":"mumble_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"port":64738}],"mysql_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}],"next_cursor":"pg_example123","teamspeak":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}],"vps":[{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}],"web_hosting_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the service inventory.","example":{"data":{"bungee":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}],"minecraft":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}],"mumble_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Mumble Lite #648","service_type":"mumble_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"port":64738}],"mysql_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}],"next_cursor":"pg_example123","teamspeak":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}],"vps":[{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}],"web_hosting_lite":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"Web Hosting Lite #648","service_type":"web_hosting_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648,"domain":"play.example.com","php_version":8}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftServiceListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftServiceList","description":"Response data returned by the operation.","example":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft service list.","example":{"data":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"Minecraft #648","runtime_type":"bedrock"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"BungeeCordVelocityServiceListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BungeeCordVelocityServiceList","description":"Response data returned by the operation.","example":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the bungee cord velocity service list.","example":{"data":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"BungeeCord / Velocity #648","proxy_type":"velocity"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakServiceListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakServiceList","description":"Response data returned by the operation.","example":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak service list.","example":{"data":{"next_cursor":"pg_example123","services":[{"display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","name":"TeamSpeak #648"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"VPSServiceListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/VPSServiceList","description":"Response data returned by the operation.","example":{"next_cursor":"pg_example123","services":[{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the VPS service list.","example":{"data":{"next_cursor":"pg_example123","services":[{"connection_address":"my-server.vps.boxtoplay.com","display_id":648,"expires_at":"2030-06-30T22:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","ip_address":"203.0.113.10","name":"VPS #648"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"RuntimeStatusEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RuntimeStatus","description":"Response data returned by the operation.","example":{"runtime_status":"started","checked_at":"2026-07-15T12:00:00Z","allowed_actions":["stop","restart"]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the runtime status.","example":{"data":{"runtime_status":"started","checked_at":"2026-07-15T12:00:00Z","allowed_actions":["stop","restart"]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftMetricsEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftMetrics","description":"Response data returned by the operation.","example":{"checked_at":"2026-07-14T12:00:00Z","cpu_usage_percent":65,"disk_used_bytes":5368709120,"display_cpu_usage_percent":42,"display_memory_limit_mb":6144,"memory_usage_mb":2048,"players_max":3,"players_online":3}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft metrics.","example":{"data":{"checked_at":"2026-07-14T12:00:00Z","cpu_usage_percent":65,"disk_used_bytes":5368709120,"display_cpu_usage_percent":42,"display_memory_limit_mb":6144,"memory_usage_mb":2048,"players_max":3,"players_online":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftMetricsHistoryEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftMetricsHistory","description":"Response data returned by the operation.","example":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft metrics history.","example":{"data":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftHealthEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftHealth","description":"Response data returned by the operation.","example":{"checked_at":"2026-07-14T12:00:00Z","default_map":"world","healthy":true,"server_log_issue_count":3,"viewer_map_issue_count":3}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft health.","example":{"data":{"checked_at":"2026-07-14T12:00:00Z","default_map":"world","healthy":true,"server_log_issue_count":3,"viewer_map_issue_count":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftRuntimeEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftRuntime","description":"Response data returned by the operation.","example":{"checked_at":"2026-07-14T12:00:00Z","issue":"none","launch_candidate_count":3,"launch_mode":"jar","launch_ready":true,"openmod_artifact_relative_path":"server.properties","openmod_configured":true,"openmod_selection_valid":true,"selected_artifact_location":"root","selected_artifact_name":"Example server","selected_artifact_relative_path":"server.properties"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft runtime.","example":{"data":{"checked_at":"2026-07-14T12:00:00Z","issue":"none","launch_candidate_count":3,"launch_mode":"jar","launch_ready":true,"openmod_artifact_relative_path":"server.properties","openmod_configured":true,"openmod_selection_valid":true,"selected_artifact_location":"root","selected_artifact_name":"Example server","selected_artifact_relative_path":"server.properties"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftActivityListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftActivityList","description":"Response data returned by the operation.","example":{"activities":[{"action":"start","occurred_at":"2026-07-14T12:00:00Z"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft activity list.","example":{"data":{"activities":[{"action":"start","occurred_at":"2026-07-14T12:00:00Z"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftRconPasswordRotationEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftRconPasswordRotation","description":"Response data returned by the operation.","example":{"status":"rotated"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft RCON password rotation.","example":{"data":{"status":"rotated"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftRconPasswordEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftRconPassword","description":"Response data returned by the operation.","example":{"password":"K7m#pQ2vL9x$Wn4t"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft RCON password.","example":{"data":{"password":"K7m#pQ2vL9x$Wn4t"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftConsoleCommandResultEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftConsoleCommandResult","description":"Response data returned by the operation.","example":{"status":"completed","output":"There are 0 of a max of 20 players online:","output_truncated":false}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft console command result.","example":{"data":{"status":"completed","output":"There are 0 of a max of 20 players online:","output_truncated":false},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftJavaAgentListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftJavaAgentList","description":"Response data returned by the operation.","example":{"directory_id":"resource_example123","entries":[{"id":"JAVA_AGENT_ID","name":"agent.jar","type":"file"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft java agent list.","example":{"data":{"directory_id":"resource_example123","entries":[{"id":"JAVA_AGENT_ID","name":"agent.jar","type":"file"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftConfigurationSummaryEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftConfigurationSummary","description":"Response data returned by the operation.","example":{"dns":"play","name":"Example server","runtime_type":"java","slots":20}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft configuration summary.","example":{"data":{"dns":"play","name":"Example server","runtime_type":"java","slots":20},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftServerSettingsEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftServerSettings","description":"Response data returned by the operation.","example":{"additional_startup_parameters":"--safeMode","allow_cheats":false,"allow_flight":true,"allow_nether":true,"announce_player_achievements":true,"command_blocks_enabled":true,"daily_reboot_hour":0,"difficulty":"peaceful","dns":"play","enable_status":true,"enforce_whitelist":true,"force_gamemode":true,"gamemode":"survival","generate_structures":true,"grow_trees":true,"hide_online_players":true,"java_agent_id":"JAVA_AGENT_ID","java_agent_name":"agent.jar","java_version":0,"max_build_height":5,"motd":"Welcome to the server","name":"Example server","online_mode":true,"player_idle_timeout_minutes":3,"pvp_enabled":true,"require_resource_pack":true,"resource_pack_sha1":"203.0.113.10","runtime_type":"java","server_name":"Example server","simulation_distance":3,"slots":20,"spawn_animals":true,"spawn_monsters":true,"spawn_npcs":true,"spawn_protection":0,"view_distance":1,"whitelist_enabled":true}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft server settings.","example":{"data":{"additional_startup_parameters":"--safeMode","allow_cheats":false,"allow_flight":true,"allow_nether":true,"announce_player_achievements":true,"command_blocks_enabled":true,"daily_reboot_hour":0,"difficulty":"peaceful","dns":"play","enable_status":true,"enforce_whitelist":true,"force_gamemode":true,"gamemode":"survival","generate_structures":true,"grow_trees":true,"hide_online_players":true,"java_agent_id":"JAVA_AGENT_ID","java_agent_name":"agent.jar","java_version":0,"max_build_height":5,"motd":"Welcome to the server","name":"Example server","online_mode":true,"player_idle_timeout_minutes":3,"pvp_enabled":true,"require_resource_pack":true,"resource_pack_sha1":"203.0.113.10","runtime_type":"java","server_name":"Example server","simulation_distance":3,"slots":20,"spawn_animals":true,"spawn_monsters":true,"spawn_npcs":true,"spawn_protection":0,"view_distance":1,"whitelist_enabled":true},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftPlayerListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftPlayerList","description":"Response data returned by the operation.","example":{"next_cursor":"pg_example123","players":[{"banned":false,"ip_banned":false,"name":"Alex","operator":true,"whitelisted":true}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft player list.","example":{"data":{"next_cursor":"pg_example123","players":[{"banned":false,"ip_banned":false,"name":"Alex","operator":true,"whitelisted":true}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftPlayerActionEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftPlayerAction","description":"Response data returned by the operation.","example":{"action":"player_killed","player_name":"Alex","status":"accepted"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft player action.","example":{"data":{"action":"player_killed","player_name":"Alex","status":"accepted"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftWorldListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftWorldList","description":"Response data returned by the operation.","example":{"items":[{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft world list.","example":{"data":{"items":[{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftWorldCatalogEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftWorldCatalog","description":"Response data returned by the operation.","example":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft world catalog.","example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftWorldInstallEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftWorldInstall","description":"Response data returned by the operation.","example":{"status":"completed","world":{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft world install.","example":{"data":{"status":"completed","world":{"active":true,"id":"resource_example123","name":"Example server","size":"1.4G"}},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftBedrockAddonProjectListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftBedrockAddonProjectList","description":"Response data returned by the operation.","example":{"items":[{"categories":["example_categories"],"description":"Example description","icon_url":"https://example.com/resource","id":"btp_0123456789abcdef0123456789abcdef","name":"Furniture Add-On","provider":"curseforge"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft bedrock addon project list.","example":{"data":{"items":[{"categories":["example_categories"],"description":"Example description","icon_url":"https://example.com/resource","id":"btp_0123456789abcdef0123456789abcdef","name":"Furniture Add-On","provider":"curseforge"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftBedrockAddonVersionListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftBedrockAddonVersionList","description":"Response data returned by the operation.","example":{"items":[{"game_versions":["1.21.4"],"id":"btp_fedcba9876543210fedcba9876543210","name":"Example server","published_at":"2030-06-15T10:00:00Z"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft bedrock addon version list.","example":{"data":{"items":[{"game_versions":["1.21.4"],"id":"btp_fedcba9876543210fedcba9876543210","name":"Example server","published_at":"2030-06-15T10:00:00Z"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftBedrockAddonInstalledListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftBedrockAddonInstalledList","description":"Response data returned by the operation.","example":{"items":[{"active":true,"description":"Example description","id":"INSTALLED_BEDROCK_ADDON_ID","name":"Example server","pack_types":["behavior"],"version":[42]}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft bedrock addon installed list.","example":{"data":{"items":[{"active":true,"description":"Example description","id":"INSTALLED_BEDROCK_ADDON_ID","name":"Example server","pack_types":["behavior"],"version":[42]}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"BungeeCordVelocityMetricsEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BungeeCordVelocityMetrics","description":"Response data returned by the operation.","example":{"checked_at":"2026-07-14T12:00:00Z","cpu_usage_percent":65,"disk_used_bytes":5368709120,"display_cpu_usage_percent":42,"display_memory_limit_mb":10000,"memory_usage_mb":2048,"players_max":3,"players_online":3}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the bungee cord velocity metrics.","example":{"data":{"checked_at":"2026-07-14T12:00:00Z","cpu_usage_percent":65,"disk_used_bytes":5368709120,"display_cpu_usage_percent":42,"display_memory_limit_mb":10000,"memory_usage_mb":2048,"players_max":3,"players_online":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"BungeeCordVelocityMetricsHistoryEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BungeeCordVelocityMetricsHistory","description":"Response data returned by the operation.","example":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the bungee cord velocity metrics history.","example":{"data":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","players_average":12.5,"players_peak":18,"players_capacity":40,"cpu_usage_percent_average":34.2,"cpu_usage_percent_peak":61.8,"memory_used_bytes_average":2.147483648E9,"memory_used_bytes_peak":2684354560,"memory_limit_bytes":6442450944,"network_in_bytes_per_second":125000.0,"network_out_bytes_per_second":98000.0,"disk_read_bytes_per_second":4096.0,"disk_write_bytes_per_second":8192.0,"storage_used_bytes_average":5.36870912E9,"storage_used_bytes_peak":5905580032,"storage_capacity_bytes":536870912000}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"BungeeCordVelocitySettingsEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BungeeCordVelocitySettings","description":"Response data returned by the operation.","example":{"dns":"play.example.com","name":"Example server","slots":20}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the bungee cord velocity settings.","example":{"data":{"dns":"play.example.com","name":"Example server","slots":20},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"BungeeCordVelocityConsoleCommandResultEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BungeeCordVelocityConsoleCommandResult","description":"Response data returned by the operation.","example":{"status":"completed","output":"","output_truncated":false}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the bungee cord velocity console command result.","example":{"data":{"status":"completed","output":"","output_truncated":false},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"BungeeCordVelocityPlayerListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BungeeCordVelocityPlayerList","description":"Response data returned by the operation.","example":{"next_cursor":"pg_example123","players":[{"name":"Example server","online":true,"operator":true}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the bungee cord velocity player list.","example":{"data":{"next_cursor":"pg_example123","players":[{"name":"Example server","online":true,"operator":true}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakMetricsEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakMetrics","description":"Response data returned by the operation.","example":{"checked_at":"2026-07-14T12:00:00Z","clients_max":42,"clients_online":42,"network_in_bytes_last_minute":42,"network_out_bytes_last_minute":42}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak metrics.","example":{"data":{"checked_at":"2026-07-14T12:00:00Z","clients_max":42,"clients_online":42,"network_in_bytes_last_minute":42,"network_out_bytes_last_minute":42},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakMetricsHistoryEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakMetricsHistory","description":"Response data returned by the operation.","example":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","clients_average":8.25,"clients_peak":12,"clients_capacity":32,"network_in_bytes_per_second":45000.0,"network_out_bytes_per_second":38000.0}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak metrics history.","example":{"data":{"timeframe":"hour","collected_at":"2030-06-15T10:00:00Z","history":[{"sampled_at":"2030-06-15T09:55:00Z","clients_average":8.25,"clients_peak":12,"clients_capacity":32,"network_in_bytes_per_second":45000.0,"network_out_bytes_per_second":38000.0}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakLiveViewEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakLiveView","description":"Response data returned by the operation.","example":{"channels":[{"default":true,"id":42,"name":"Example server","parent_id":42,"password_protected":true,"spacer":true}],"clients":[{"channel_id":42,"id":42,"nickname":"Alex"}],"server_name":"Example server"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak live view.","example":{"data":{"channels":[{"default":true,"id":42,"name":"Example server","parent_id":42,"password_protected":true,"spacer":true}],"clients":[{"channel_id":42,"id":42,"nickname":"Alex"}],"server_name":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakChannelInfoEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakChannelInfo","description":"Response data returned by the operation.","example":{"channel_type":42,"codec":42,"codec_quality":42,"default":true,"description":"Example description","id":42,"name":"Example server","parent_id":42,"password_protected":true,"topic":"Support and community chat"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak channel info.","example":{"data":{"channel_type":42,"codec":42,"codec_quality":42,"default":true,"description":"Example description","id":42,"name":"Example server","parent_id":42,"password_protected":true,"topic":"Support and community chat"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakSettingsEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakSettings","description":"Response data returned by the operation.","example":{"host_banner_image_url":"https://example.com/resource","host_banner_interval_minutes":42,"host_banner_link_url":"https://example.com/resource","host_banner_mode":42,"host_button_image_url":"https://example.com/resource","host_button_tooltip":"play.example.com","host_button_url":"https://example.com/resource","host_message":"play.example.com","host_message_mode":42,"max_clients":42,"name":"Example server","password_protected":true,"reserved_slots":20,"welcome_message":"Operation completed."}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak settings.","example":{"data":{"host_banner_image_url":"https://example.com/resource","host_banner_interval_minutes":42,"host_banner_link_url":"https://example.com/resource","host_banner_mode":42,"host_button_image_url":"https://example.com/resource","host_button_tooltip":"play.example.com","host_button_url":"https://example.com/resource","host_message":"play.example.com","host_message_mode":42,"max_clients":42,"name":"Example server","password_protected":true,"reserved_slots":20,"welcome_message":"Operation completed."},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakBackupEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakBackup","description":"Response data returned by the operation.","example":{"created_at":"2026-07-14T12:00:00Z","files_included":true,"id":"resource_example123","name":"Example server","size_bytes":42,"type":"manual_snapshot"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak backup.","example":{"data":{"created_at":"2026-07-14T12:00:00Z","files_included":true,"id":"resource_example123","name":"Example server","size_bytes":42,"type":"manual_snapshot"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakBackupListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakBackupList","description":"Response data returned by the operation.","example":{"backups":[{"created_at":"2026-07-14T12:00:00Z","files_included":true,"id":"resource_example123","name":"Example server","size_bytes":42,"type":"manual_snapshot"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak backup list.","example":{"data":{"backups":[{"created_at":"2026-07-14T12:00:00Z","files_included":true,"id":"resource_example123","name":"Example server","size_bytes":42,"type":"manual_snapshot"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakServerQueryAccountEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakServerQueryAccount","description":"Response data returned by the operation.","example":{"created_at":"2030-06-15T10:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","login_name":"automation_bot"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak server query account.","example":{"data":{"created_at":"2030-06-15T10:00:00Z","id":"btp_2fa3119e169653545530267a34d5adf0","login_name":"automation_bot"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakServerQueryAccountListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakServerQueryAccountList","description":"Response data returned by the operation.","example":{"accounts":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","login_name":"Example server"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak server query account list.","example":{"data":{"accounts":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","login_name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TeamSpeakServerQueryCommandResultEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TeamSpeakServerQueryCommandResult","description":"Response data returned by the operation.","example":{"output":"virtualserver_name=My TeamSpeak Server","output_truncated":false}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the team speak server query command result.","example":{"data":{"output":"virtualserver_name=My TeamSpeak Server","output_truncated":false},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"VPSMetricsEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/VPSMetrics","description":"Response data returned by the operation.","example":{"collected_at":"2026-07-14T12:00:00Z","history":[{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_write_bytes_per_second":42.0,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_out_bytes_per_second":42.0,"sampled_at":"2026-07-14T12:00:00Z"}],"limits":{"cpu_cores":13,"disk_capacity_bytes":42,"memory_bytes":2048,"network_bytes_per_second":42},"live":{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_read_total_bytes":3,"disk_write_bytes_per_second":42.0,"disk_write_total_bytes":3,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_in_total_bytes":3,"network_out_bytes_per_second":42.0,"network_out_total_bytes":3,"rate_sampled_at":"2026-07-14T12:00:00Z","uptime_seconds":42},"timeframe":"hour"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the VPS metrics.","example":{"data":{"collected_at":"2026-07-14T12:00:00Z","history":[{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_write_bytes_per_second":42.0,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_out_bytes_per_second":42.0,"sampled_at":"2026-07-14T12:00:00Z"}],"limits":{"cpu_cores":13,"disk_capacity_bytes":42,"memory_bytes":2048,"network_bytes_per_second":42},"live":{"cpu_usage_percent":65.0,"disk_read_bytes_per_second":42.0,"disk_read_total_bytes":3,"disk_write_bytes_per_second":42.0,"disk_write_total_bytes":3,"memory_usage_percent":65.0,"memory_used_bytes":2048,"network_in_bytes_per_second":42.0,"network_in_total_bytes":3,"network_out_bytes_per_second":42.0,"network_out_total_bytes":3,"rate_sampled_at":"2026-07-14T12:00:00Z","uptime_seconds":42},"timeframe":"hour"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"VPSSettingsEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/VPSSettings","description":"Response data returned by the operation.","example":{"connection_address":"my-server.vps.boxtoplay.com","dns":"my-server","ip_address":"203.0.113.10"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the VPS settings.","example":{"data":{"connection_address":"my-server.vps.boxtoplay.com","dns":"my-server","ip_address":"203.0.113.10"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"VPSFirewallRuleListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/VPSFirewallRuleList","description":"Response data returned by the operation.","example":{"next_cursor":"pg_example123","rules":[{"action":"allow","comment":"Allow game traffic","destination_port":25565,"enabled":true,"priority":42,"protocol":"tcp","source":"203.0.113.0/24"}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the VPS firewall rule list.","example":{"data":{"next_cursor":"pg_example123","rules":[{"action":"allow","comment":"Allow game traffic","destination_port":25565,"enabled":true,"priority":42,"protocol":"tcp","source":"203.0.113.0/24"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"VPSOperatingSystemListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/VPSOperatingSystemList","description":"Response data returned by the operation.","example":{"items":[{"family":"linux","id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the VPS operating system list.","example":{"data":{"items":[{"family":"linux","id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"VPSBackupListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/VPSBackupList","description":"Response data returned by the operation.","example":{"items":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","size_bytes":42}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the VPS backup list.","example":{"data":{"items":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","size_bytes":42}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"VPSCommandResultEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/VPSCommandResult","description":"Response data returned by the operation.","example":{"exit_code":0,"stdout":"total 8","stderr":"","timed_out":false,"output_truncated":false,"executed_at":"2030-06-15T10:00:00Z"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the VPS command result.","example":{"data":{"exit_code":0,"stdout":"total 8","stderr":"","timed_out":false,"output_truncated":false,"executed_at":"2030-06-15T10:00:00Z"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"ScheduledTaskEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ScheduledTask","description":"Response data returned by the operation.","example":{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the scheduled task.","example":{"data":{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"ScheduledTaskListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ScheduledTaskList","description":"Response data returned by the operation.","example":{"next_cursor":"pg_example123","tasks":[{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the scheduled task list.","example":{"data":{"next_cursor":"pg_example123","tasks":[{"action":"command","active_hours_end":"18:59:59","active_hours_start":"08:00:00","command":"say Server maintenance starts soon","condition_metric":"players","condition_operator":"gt","condition_threshold":0.0,"condition_type":"service_stopped","cooldown_seconds":300,"cooldown_until":"2026-07-14T12:00:00Z","ends_at":"2026-07-14T12:00:00Z","excluded_weekdays":["monday"],"id":"btp_0123456789abcdefghijklmnopqrstuv","interval_unit":"seconds","interval_value":1,"last_execution_at":"2026-07-14T12:00:00Z","mode":"schedule","next_execution_at":"2026-07-14T12:00:00Z","recurring":true,"schedule_timezone":"Europe/Paris","starts_at":"2026-07-14T12:00:00Z","status":"active"}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"ScheduledTaskPreviewEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ScheduledTaskPreview","description":"Response data returned by the operation.","example":{"executions":["2030-06-15T12:00:00+02:00","2030-06-16T12:00:00+02:00"],"schedule_timezone":"Europe/Paris"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the scheduled task preview.","example":{"data":{"executions":["2030-06-15T12:00:00+02:00","2030-06-16T12:00:00+02:00"],"schedule_timezone":"Europe/Paris"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"LogFileListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LogFileList","description":"Response data returned by the operation.","example":{"files":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the log file list.","example":{"data":{"files":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"LogContentEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LogContent","description":"Response data returned by the operation.","example":{"lines":["[12:00:00 INFO]: Server started"],"truncated":true}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the log content.","example":{"data":{"lines":["[12:00:00 INFO]: Server started"],"truncated":true},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"LogRangeEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LogRange","description":"Response data returned by the operation.","example":{"end_line":42,"has_more":true,"lines":["[12:00:00 INFO]: Server started"],"next_start_line":42,"start_line":42,"truncated":true}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the log range.","example":{"data":{"end_line":42,"has_more":true,"lines":["[12:00:00 INFO]: Server started"],"next_start_line":42,"start_line":42,"truncated":true},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"LiveLogEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LiveLog","description":"Response data returned by the operation.","example":{"has_more":true,"lines":["[12:00:00 INFO]: Server started"],"next_cursor":"pg_example123","reset":true,"truncated":true}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the live log.","example":{"data":{"has_more":true,"lines":["[12:00:00 INFO]: Server started"],"next_cursor":"pg_example123","reset":true,"truncated":true},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"FtpAccountEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FtpAccount","description":"Response data returned by the operation.","example":{"access":"/","id":"resource_example123","username":"Example server"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the FTP account.","example":{"data":{"access":"/","id":"resource_example123","username":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"FtpAccountListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FtpAccountList","description":"Response data returned by the operation.","example":{"accounts":[{"access":"/","id":"resource_example123","username":"Example server"}],"available_access":["/","plugins"],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the FTP account list.","example":{"data":{"accounts":[{"access":"/","id":"resource_example123","username":"Example server"}],"available_access":["/","plugins"],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"JobEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Job","description":"Response data returned by the operation.","example":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"running","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"restart","progress":40,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the job.","example":{"data":{"id":"btp_530267a34d5adf02fa3119e169653545","status":"running","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"restart","progress":40,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"JobListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/JobList","description":"Response data returned by the operation.","example":{"jobs":[{"id":"btp_530267a34d5adf02fa3119e169653545","status":"running","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"restart","progress":40,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z"}],"next_cursor":null}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the job list.","example":{"data":{"jobs":[{"id":"btp_530267a34d5adf02fa3119e169653545","status":"running","status_url":"/v1/jobs/btp_530267a34d5adf02fa3119e169653545","service_type":"minecraft","service_id":"btp_2fa3119e169653545530267a34d5adf0","action":"restart","progress":40,"created_at":"2030-06-15T10:00:00Z","started_at":"2030-06-15T10:00:02Z"}],"next_cursor":null},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"ActionResultEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ActionResult","description":"Response data returned by the operation.","example":{"status":"completed"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the action result.","example":{"data":{"status":"completed"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftModpackCatalogEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftModpackCatalog","description":"Response data returned by the operation.","example":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft modpack catalog.","example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftModpackInstallEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftModpackInstall","description":"Response data returned by the operation.","example":{"modpack":{"id":"resource_example123","name":"Example server","provider":"Modrinth"},"status":"completed"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft modpack install.","example":{"data":{"modpack":{"id":"resource_example123","name":"Example server","provider":"Modrinth"},"status":"completed"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftModpackStateEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftModpackState","description":"Response data returned by the operation.","example":{"compatible":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"installed":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"},"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft modpack state.","example":{"data":{"compatible":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"installed":{"id":"btp_530267a34d5adf02fa3119e169653545","name":"Paper 1.21.11","provider":"standard"},"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftModCatalogEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftModCatalog","description":"Response data returned by the operation.","example":{"items":[{"id":"resource_example123","name":"Example server","provider":"curseforge"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft mod catalog.","example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"curseforge"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftModInstallEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftModInstall","description":"Response data returned by the operation.","example":{"mod":{"id":"resource_example123","name":"Example server","provider":"curseforge"},"status":"completed"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft mod install.","example":{"data":{"mod":{"id":"resource_example123","name":"Example server","provider":"curseforge"},"status":"completed"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftPluginCatalogEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftPluginCatalog","description":"Response data returned by the operation.","example":{"items":[{"id":"resource_example123","name":"Example server","provider":"spigot"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft plugin catalog.","example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"spigot"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftPluginInstallEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftPluginInstall","description":"Response data returned by the operation.","example":{"plugin":{"id":"resource_example123","name":"Example server","provider":"spigot"},"status":"completed"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft plugin install.","example":{"data":{"plugin":{"id":"resource_example123","name":"Example server","provider":"spigot"},"status":"completed"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftDatapackCatalogEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftDatapackCatalog","description":"Response data returned by the operation.","example":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft datapack catalog.","example":{"data":{"items":[{"id":"resource_example123","name":"Example server","provider":"Modrinth"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftDatapackInstallEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftDatapackInstall","description":"Response data returned by the operation.","example":{"datapack":{"id":"resource_example123","name":"Example server","provider":"Modrinth"},"status":"completed"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft datapack install.","example":{"data":{"datapack":{"id":"resource_example123","name":"Example server","provider":"Modrinth"},"status":"completed"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftDatapackWorldListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftDatapackWorldList","description":"Response data returned by the operation.","example":{"items":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft datapack world list.","example":{"data":{"items":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftBackupEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftBackup","description":"Response data returned by the operation.","example":{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","kind":"automatic","name":"Example server","size_bytes":42}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft backup.","example":{"data":{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","kind":"automatic","name":"Example server","size_bytes":42},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftBackupListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftBackupList","description":"Response data returned by the operation.","example":{"backups":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","kind":"automatic","name":"Example server","size_bytes":42}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft backup list.","example":{"data":{"backups":[{"created_at":"2026-07-14T12:00:00Z","id":"resource_example123","kind":"automatic","name":"Example server","size_bytes":42}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftArchiveListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftArchiveList","description":"Response data returned by the operation.","example":{"archives":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft archive list.","example":{"data":{"archives":[{"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"FileEntryListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FileEntryList","description":"Response data returned by the operation.","example":{"directory_id":"resource_example123","entries":[{"id":"resource_example123","name":"Example server","size":0,"type":"file"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the file entry list.","example":{"data":{"directory_id":"resource_example123","entries":[{"id":"resource_example123","name":"Example server","size":0,"type":"file"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"FileEntryMutationResultEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FileEntryMutationResult","description":"Response data returned by the operation.","example":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the file entry mutation result.","example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TextFileListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TextFileList","description":"Response data returned by the operation.","example":{"directory_id":"resource_example123","entries":[{"id":"resource_example123","name":"Example server","size":42,"type":"file"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the text file list.","example":{"data":{"directory_id":"resource_example123","entries":[{"id":"resource_example123","name":"Example server","size":42,"type":"file"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TextFileContentEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TextFileContent","description":"Response data returned by the operation.","example":{"content":"motd=Welcome to the server","end_line":42,"id":"resource_example123","size":42,"start_line":42,"total_lines":3}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the text file content.","example":{"data":{"content":"motd=Welcome to the server","end_line":42,"id":"resource_example123","size":42,"start_line":42,"total_lines":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TextFileWriteResultEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TextFileWriteResult","description":"Response data returned by the operation.","example":{"id":"resource_example123","size":42,"status":"completed","total_lines":3}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the text file write result.","example":{"data":{"id":"resource_example123","size":42,"status":"completed","total_lines":3},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"TextFileMutationResultEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TextFileMutationResult","description":"Response data returned by the operation.","example":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the text file mutation result.","example":{"data":{"id":"resource_example123","name":"Example server","size":0,"status":"completed","type":"file"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftCoAdminEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftCoAdmin","description":"Response data returned by the operation.","example":{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft co admin.","example":{"data":{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftCoAdminListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftCoAdminList","description":"Response data returned by the operation.","example":{"co_admins":[{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft co admin list.","example":{"data":{"co_admins":[{"access":["overview","files.read"],"email":"developer@example.com","id":"resource_example123"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftCoAdminAccessEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftCoAdminAccess","description":"Response data returned by the operation.","example":{"access":["overview","files.read"]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft co admin access.","example":{"data":{"access":["overview","files.read"]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftPortEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftPort","description":"Response data returned by the operation.","example":{"description":"Example description","id":"resource_example123","port":25565}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft port.","example":{"data":{"description":"Example description","id":"resource_example123","port":25565},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftPortListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftPortList","description":"Response data returned by the operation.","example":{"next_cursor":"pg_example123","ports":[{"description":"Example description","id":"resource_example123","port":25565}]}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft port list.","example":{"data":{"next_cursor":"pg_example123","ports":[{"description":"Example description","id":"resource_example123","port":25565}]},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftInstalledContentListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftInstalledContentList","description":"Response data returned by the operation.","example":{"items":[{"enabled":true,"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft installed content list.","example":{"data":{"items":[{"enabled":true,"id":"resource_example123","name":"Example server"}],"next_cursor":"pg_example123"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"MinecraftViewerHdEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MinecraftViewerHd","description":"Response data returned by the operation.","example":{"available":true,"generating":true,"maps":[{"id":"resource_example123","name":"Example server"}],"selected_map_id":"resource_example123","selected_map_name":"Example server"}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the Minecraft viewer HD.","example":{"data":{"available":true,"generating":true,"maps":[{"id":"resource_example123","name":"Example server"}],"selected_map_id":"resource_example123","selected_map_name":"Example server"},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"LiteServiceEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LiteService","description":"Response data returned by the operation.","example":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the lite service.","example":{"data":{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}},"LiteServiceListEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LiteServiceList","description":"Response data returned by the operation.","example":{"services":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}],"next_cursor":null}},"request_id":{"type":"string","description":"Request identifier to include when contacting support.","example":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b"},"success":{"type":"boolean","const":true,"example":true,"description":"Whether the request completed successfully."}},"required":["success","request_id","data"],"description":"Successful response containing the lite service list.","example":{"data":{"services":[{"id":"btp_530267a34d5adf02fa3119e169653545","display_id":648,"name":"MySQL Lite #648","service_type":"mysql_lite","available":true,"included":true,"enabled":true,"parent_service_type":"minecraft","parent_service_id":"btp_2fa3119e169653545530267a34d5adf0","parent_display_id":648}],"next_cursor":null},"request_id":"2f4b8c6e-1a3d-4e5f-9a7b-8c0d2e4f6a8b","success":true}}}}}