{"openapi":"3.0.3","tags":[{"name":"Profile & Session","description":"Account profile, session, password, and transfer flows"},{"name":"Incoming Transfers","description":"Incoming service transfer inbox actions and recipient acceptance flows"},{"name":"Recovery","description":"Account recovery flows"},{"name":"SSH Keys","description":"SSH key management"},{"name":"Notifications","description":"Notification method defaults, account settings, and Telegram linking"},{"name":"API Keys","description":"API key management"},{"name":"OTP","description":"Two-factor authentication setup and settings"},{"name":"Transactions","description":"Transaction history and invoice lookups"},{"name":"Stripe","description":"Stripe setup and portal sessions"},{"name":"Deposits","description":"Deposit creation and status tracking"},{"name":"Orders","description":"Draft and confirm billed service orders"},{"name":"Support Chats","description":"Support chats and staff presence"},{"name":"Polls","description":"Public polls and authenticated poll voting"},{"name":"Datacenters","description":"Datacenter metadata, prices, and capacity"},{"name":"Public Utilities","description":"Public meta, domains, proof-of-work helpers, and no-login notification utilities"},{"name":"Service Core","description":"Shared service identity, naming, deletion, and generic service operations"},{"name":"Service Ownership","description":"Shared owner-initiated service ownership transfer creation, inspection, and cancellation"},{"name":"Service Billing","description":"Shared billing and suspension operations for all services"},{"name":"Service Limits","description":"Shared performance and capacity limit operations"},{"name":"Service Network","description":"Shared VM network operations"},{"name":"Service Power","description":"Shared VM power status and power actions"},{"name":"Service Storage","description":"Shared Brick attachment operations for Danbo and Mesa services"},{"name":"Service Tasks","description":"Shared task listing, inspection, live updates, and cancellation for Danbo and Mesa services"},{"name":"Brick Capacity","description":"Brick size, usage, and grow limits"},{"name":"Danbo Core","description":"Danbo listing, identity, stored operating system labels, and attached Brick discovery"},{"name":"Danbo Access","description":"Danbo guest access, SSH, cloud-init, and console session setup"},{"name":"Danbo Media","description":"Danbo CD drive, ISO upload and download, and reinstall operations"},{"name":"Danbo Power","description":"Danbo live runtime reachability, uptime, and power state"},{"name":"Mesa Core","description":"Mesa stack identity, lifecycle, and declared configuration"},{"name":"Mesa Base Image","description":"Mesa base image information and upgrades"},{"name":"Mesa Storage","description":"Mesa disk usage and storage planning"},{"name":"Mesa Containers","description":"Mesa container details, runtime status, and usage history"},{"name":"Mesa Container Runtime","description":"Mesa container logs, log search, and lifecycle actions"},{"name":"Mesa Container Files","description":"Mesa container file and directory operations"},{"name":"Mesa Updates","description":"Mesa update checks, history, per-container auto-update controls, and unified update panel data"},{"name":"Mesa Snapshots","description":"Mesa snapshot creation, inspection, and restoration"},{"name":"Mesa Macros","description":"Mesa macro management and execution"},{"name":"Mesa Catalog","description":"Mesa public image metadata and registry endpoints"}],"x-tagGroups":[{"name":"Account","tags":["Profile & Session","Incoming Transfers","Recovery","SSH Keys","Notifications","API Keys","OTP","Transactions","Stripe"]},{"name":"Deposits","tags":["Deposits"]},{"name":"Orders","tags":["Orders"]},{"name":"Chats","tags":["Support Chats"]},{"name":"Datacenters","tags":["Datacenters"]},{"name":"Misc","tags":["Public Utilities","Polls"]},{"name":"Services","tags":["Service Core","Service Ownership","Service Billing","Service Limits","Service Network","Service Power","Service Storage","Service Tasks","Brick Capacity","Danbo Core","Danbo Access","Danbo Media","Danbo Power","Mesa Core","Mesa Base Image","Mesa Storage","Mesa Containers","Mesa Container Runtime","Mesa Container Files","Mesa Updates","Mesa Snapshots","Mesa Macros","Mesa Catalog"]}],"info":{"title":"Kyun API v2","description":"Warning: v2 is currently unstable. Expect breaking changes before it is declared stable.","version":"2.0"},"servers":[{"url":"https://api.kyun.sh/v2"}],"components":{"securitySchemes":{"Header Token":{"type":"apiKey","in":"header","name":"x-auth-token"}},"schemas":{}},"paths":{"/account":{"put":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","required":["id","balance","lastNews","accountHash","beforeYouBuyRead"],"properties":{"id":{"type":"string"},"balance":{"type":"number"},"lastNews":{"format":"date-time","type":"string"},"accountHash":{"type":"string"},"beforeYouBuyRead":{"type":"boolean"}},"additionalProperties":false},"session":{"type":"object","required":["token","expiresAt"],"properties":{"token":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}}}},"required":["account","session"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"account":{"type":"object","required":["id","balance","lastNews","accountHash","beforeYouBuyRead"],"properties":{"id":{"type":"string"},"balance":{"type":"number"},"lastNews":{"format":"date-time","type":"string"},"accountHash":{"type":"string"},"beforeYouBuyRead":{"type":"boolean"}},"additionalProperties":false},"session":{"type":"object","required":["token","expiresAt"],"properties":{"token":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}}}},"required":["account","session"]}},"text/plain":{"schema":{"type":"object","properties":{"account":{"type":"object","required":["id","balance","lastNews","accountHash","beforeYouBuyRead"],"properties":{"id":{"type":"string"},"balance":{"type":"number"},"lastNews":{"format":"date-time","type":"string"},"accountHash":{"type":"string"},"beforeYouBuyRead":{"type":"boolean"}},"additionalProperties":false},"session":{"type":"object","required":["token","expiresAt"],"properties":{"token":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}}}},"required":["account","session"]}}}}},"operationId":"putV2Account","summary":"Create Account","description":"Creates a new account and immediately returns the authenticated session resource. This endpoint requires a proof-of-work challenge. First call `/etc/pow`, then solve it by finding a proof string whose SHA-256 hash over `challenge + proof` starts with the required number of zeroes. Submit the returned challenge and signature together with your proof inside `pow`. When registration mode is invite-only, include a valid `inviteCode` as well.","tags":["Profile & Session"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["password","pow"],"properties":{"password":{"type":"string"},"pow":{"type":"object","required":["challenge","signature","proof"],"properties":{"challenge":{"type":"string"},"signature":{"type":"string"},"proof":{"type":"string"}}},"inviteCode":{"type":"string"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["password","pow"],"properties":{"password":{"type":"string"},"pow":{"type":"object","required":["challenge","signature","proof"],"properties":{"challenge":{"type":"string"},"signature":{"type":"string"},"proof":{"type":"string"}}},"inviteCode":{"type":"string"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["password","pow"],"properties":{"password":{"type":"string"},"pow":{"type":"object","required":["challenge","signature","proof"],"properties":{"challenge":{"type":"string"},"signature":{"type":"string"},"proof":{"type":"string"}}},"inviteCode":{"type":"string"}},"additionalProperties":false}}}}},"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"balance":{"type":"number"},"lastNews":{"format":"date-time","type":"string"},"accountHash":{"type":"string"},"beforeYouBuyRead":{"type":"boolean"}},"required":["id","balance","lastNews","accountHash","beforeYouBuyRead"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"balance":{"type":"number"},"lastNews":{"format":"date-time","type":"string"},"accountHash":{"type":"string"},"beforeYouBuyRead":{"type":"boolean"}},"required":["id","balance","lastNews","accountHash","beforeYouBuyRead"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"balance":{"type":"number"},"lastNews":{"format":"date-time","type":"string"},"accountHash":{"type":"string"},"beforeYouBuyRead":{"type":"boolean"}},"required":["id","balance","lastNews","accountHash","beforeYouBuyRead"]}}}}},"operationId":"getV2Account","summary":"Get Account Details","description":"Returns the current account balance, account hash, the last news item you marked as read, and whether you have already acknowledged the Before You Buy notice.","tags":["Profile & Session"],"security":[{"Header Token":[]}]},"delete":{"parameters":[],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2Account","summary":"Delete Account","description":"Deletes the current account. Use with extreme caution. This cannot be undone.","tags":["Profile & Session"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["confirm"],"properties":{"confirm":{"const":"DELETE ACCOUNT, BALANCE AND ALL SERVICES NOW, NO UNDO","type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["confirm"],"properties":{"confirm":{"const":"DELETE ACCOUNT, BALANCE AND ALL SERVICES NOW, NO UNDO","type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["confirm"],"properties":{"confirm":{"const":"DELETE ACCOUNT, BALANCE AND ALL SERVICES NOW, NO UNDO","type":"string"}}}}}}}},"/account/session":{"put":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","required":["id","balance","lastNews","accountHash","beforeYouBuyRead"],"properties":{"id":{"type":"string"},"balance":{"type":"number"},"lastNews":{"format":"date-time","type":"string"},"accountHash":{"type":"string"},"beforeYouBuyRead":{"type":"boolean"}},"additionalProperties":false},"session":{"type":"object","required":["token","expiresAt"],"properties":{"token":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}}}},"required":["account","session"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"account":{"type":"object","required":["id","balance","lastNews","accountHash","beforeYouBuyRead"],"properties":{"id":{"type":"string"},"balance":{"type":"number"},"lastNews":{"format":"date-time","type":"string"},"accountHash":{"type":"string"},"beforeYouBuyRead":{"type":"boolean"}},"additionalProperties":false},"session":{"type":"object","required":["token","expiresAt"],"properties":{"token":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}}}},"required":["account","session"]}},"text/plain":{"schema":{"type":"object","properties":{"account":{"type":"object","required":["id","balance","lastNews","accountHash","beforeYouBuyRead"],"properties":{"id":{"type":"string"},"balance":{"type":"number"},"lastNews":{"format":"date-time","type":"string"},"accountHash":{"type":"string"},"beforeYouBuyRead":{"type":"boolean"}},"additionalProperties":false},"session":{"type":"object","required":["token","expiresAt"],"properties":{"token":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"}}}},"required":["account","session"]}}}}},"operationId":"putV2AccountSession","summary":"Log In","description":"Creates the current authenticated session resource and returns the account plus the new 7-day session token. For long-lived automation, create an API key instead. Kyun responds after a short fixed delay and never reveals whether an account exists by timing.","tags":["Profile & Session"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hash","password"],"properties":{"hash":{"type":"string"},"password":{"type":"string"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["hash","password"],"properties":{"hash":{"type":"string"},"password":{"type":"string"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["hash","password"],"properties":{"hash":{"type":"string"},"password":{"type":"string"}},"additionalProperties":false}}}}},"delete":{"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2AccountSession","summary":"Log Out","description":"Revoke the current session token without affecting your API keys or other sessions.","tags":["Profile & Session"],"security":[{"Header Token":[]}]}},"/account/startRecovery":{"post":{"parameters":[],"responses":{"202":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2AccountStartRecovery","summary":"Start Account Recovery","description":"Queues account recovery for the supplied contact method. Kyun responds with accepted status after a short fixed delay and never confirms whether the account exists.","tags":["Recovery"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["type","identifier"],"properties":{"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"identifier":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["type","identifier"],"properties":{"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"identifier":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["type","identifier"],"properties":{"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"identifier":{"type":"string"}}}}}}}},"/account/recovery/{token}":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"token","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"accountHash":{"type":"string"},"contactPreview":{"type":"string"}},"required":["accountHash","contactPreview"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"accountHash":{"type":"string"},"contactPreview":{"type":"string"}},"required":["accountHash","contactPreview"]}},"text/plain":{"schema":{"type":"object","properties":{"accountHash":{"type":"string"},"contactPreview":{"type":"string"}},"required":["accountHash","contactPreview"]}}}}},"operationId":"getV2AccountRecoveryByToken","summary":"Open Recovery Link","description":"Validates the recovery token and returns the information needed to render the password reset page.","tags":["Recovery"]}},"/account/recovery/{token}/completeRecovery":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"token","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2AccountRecoveryByTokenCompleteRecovery","summary":"Set a New Password","description":"Completes account recovery for the supplied token and replaces the account password.","tags":["Recovery"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}}}}}}}},"/account/password":{"patch":{"parameters":[],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2AccountPassword","summary":"Change Password","description":"Replace the current account password. Existing API keys continue to work.","tags":["Profile & Session"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}},"additionalProperties":false}}}}}},"/account/transferBalance":{"post":{"parameters":[],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2AccountTransferBalance","summary":"Transfer Balance","description":"Transfers balance to another account. Amount is an integer EUR cent value. Kyun responds after a short fixed delay and never confirms whether the destination account exists.","tags":["Profile & Session"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount","destinationAccountHash"],"properties":{"amount":{"minimum":1,"type":"integer"},"destinationAccountHash":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["amount","destinationAccountHash"],"properties":{"amount":{"minimum":1,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":1,"type":"integer"}]},"destinationAccountHash":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["amount","destinationAccountHash"],"properties":{"amount":{"minimum":1,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":1,"type":"integer"}]},"destinationAccountHash":{"type":"string"}}}}}}}},"/account/newsState":{"patch":{"parameters":[],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2AccountNewsState","summary":"Mark News as Read","description":"Updates the timestamp Kyun uses to decide whether to show you the latest news item again.","tags":["Profile & Session"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"lastReadAt":{"format":"date-time","type":"string"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","properties":{"lastReadAt":{"format":"date-time","type":"string"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","properties":{"lastReadAt":{"format":"date-time","type":"string"}},"additionalProperties":false}}}}}},"/account/beforeYouBuyRead":{"patch":{"parameters":[],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2AccountBeforeYouBuyRead","summary":"Mark Before You Buy as Read","description":"Persists that this account has acknowledged the Before You Buy notice. This is a one-way acknowledgement.","tags":["Profile & Session"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["read"],"properties":{"read":{"const":true,"type":"boolean"}}}},"multipart/form-data":{"schema":{"type":"object","required":["read"],"properties":{"read":{"const":true,"type":"boolean"}}}},"text/plain":{"schema":{"type":"object","required":["read"],"properties":{"read":{"const":true,"type":"boolean"}}}}}}}},"/account/sshKeys":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","key"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","key"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","key"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","key"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"}}}}}}}},"operationId":"getV2AccountSshKeys","summary":"Get SSH Keys","tags":["SSH Keys"],"security":[{"Header Token":[]}]},"put":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"sshKey":{"type":"object","required":["id","key"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"}}}},"required":["sshKey"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"sshKey":{"type":"object","required":["id","key"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"}}}},"required":["sshKey"]}},"text/plain":{"schema":{"type":"object","properties":{"sshKey":{"type":"object","required":["id","key"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"}}}},"required":["sshKey"]}}}}},"operationId":"putV2AccountSshKeys","summary":"Create SSH Key","description":"Creates a new public SSH key on your account so it can be reused across services, then returns the created SSH key resource.","tags":["SSH Keys"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey","key"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"name":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey","key"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"name":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey","key"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"name":{"type":"string"},"key":{"type":"string"}},"additionalProperties":false}}}}}},"/account/sshKeys/{sshKeyId}":{"patch":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"sshKeyId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2AccountSshKeysBySshKeyId","summary":"Rename SSH Key","description":"Updates the display name Kyun shows for this SSH key.","tags":["SSH Keys"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}}}}},"delete":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"sshKeyId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2AccountSshKeysBySshKeyId","summary":"Delete SSH Key","tags":["SSH Keys"],"security":[{"Header Token":[]}]}},"/account/notificationDefaults":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["subscriptions"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["subscriptions"]}},"text/plain":{"schema":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["subscriptions"]}}}}},"operationId":"getV2AccountNotificationDefaults","summary":"Get Notification Defaults","description":"Returns the default notification settings that Kyun applies when you add a new contact method.","tags":["Notifications"],"security":[{"Header Token":[]}]}},"/account/notificationTopics":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","label","description"],"properties":{"id":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]},"label":{"type":"string"},"description":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","label","description"],"properties":{"id":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]},"label":{"type":"string"},"description":{"type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","label","description"],"properties":{"id":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]},"label":{"type":"string"},"description":{"type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","label","description"],"properties":{"id":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]},"label":{"type":"string"},"description":{"type":"string"}}}}}}}},"operationId":"getV2AccountNotificationTopics","summary":"Get Notification Topics","description":"Returns the currently supported notification topics and their user-facing descriptions.","tags":["Notifications"],"security":[{"Header Token":[]}]}},"/account/notificationMethods":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","type","value","displayValue","subscriptions"],"properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"value":{"type":"string"},"displayValue":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"additionalProperties":false},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","type","value","displayValue","subscriptions"],"properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"value":{"type":"string"},"displayValue":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"additionalProperties":false}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","type","value","displayValue","subscriptions"],"properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"value":{"type":"string"},"displayValue":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"additionalProperties":false}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","type","value","displayValue","subscriptions"],"properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"value":{"type":"string"},"displayValue":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"additionalProperties":false}}}}}},"operationId":"getV2AccountNotificationMethods","summary":"Get Notification Methods","tags":["Notifications"],"security":[{"Header Token":[]}]},"put":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"value":{"type":"string"},"displayValue":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["id","type","value","displayValue","subscriptions"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"value":{"type":"string"},"displayValue":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["id","type","value","displayValue","subscriptions"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"value":{"type":"string"},"displayValue":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["id","type","value","displayValue","subscriptions"]}}}}},"operationId":"putV2AccountNotificationMethods","summary":"Add Notification Method","description":"Adds a new email or Matrix contact method with the notification settings you choose.","tags":["Notifications"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey","type","value"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"}]},"value":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}}}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey","type","value"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"}]},"value":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}}}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey","type","value"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"}]},"value":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}}}}}}}},"/account/notificationMethods/{notificationMethodId}":{"patch":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"notificationMethodId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2AccountNotificationMethodsByNotificationMethodId","summary":"Update Notification Settings","description":"Changes which notifications this contact method receives.","tags":["Notifications"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"additionalProperties":false}}}}},"delete":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"notificationMethodId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2AccountNotificationMethodsByNotificationMethodId","summary":"Delete Notification Method","tags":["Notifications"],"security":[{"Header Token":[]}]}},"/account/notificationMethods/linkTelegram":{"post":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"value":{"type":"string"},"displayValue":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["id","type","value","displayValue","subscriptions"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"value":{"type":"string"},"displayValue":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["id","type","value","displayValue","subscriptions"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"value":{"type":"string"},"displayValue":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["id","type","value","displayValue","subscriptions"]}}}}},"operationId":"postV2AccountNotificationMethodsLinkTelegram","summary":"Link Telegram","description":"Completes Telegram linking by exchanging a link code for a managed Telegram contact method.","tags":["Notifications"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["linkCode"],"properties":{"linkCode":{"type":"string"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["linkCode"],"properties":{"linkCode":{"type":"string"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["linkCode"],"properties":{"linkCode":{"type":"string"}},"additionalProperties":false}}}}}},"/account/mesa/savedRegistries":{"get":{"responses":{"200":{"items":{"type":"object","required":["kind","savedRegistryId","id","name","icon","selectionMode","browseUrlTemplate","authMode","username","hasSecret"],"properties":{"kind":{"const":"saved","type":"string"},"savedRegistryId":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"const":"manual","type":"string"},"browseUrlTemplate":{"type":"null"},"authMode":{"anyOf":[{"const":"none","type":"string"},{"const":"basic","type":"string"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["kind","savedRegistryId","id","name","icon","selectionMode","browseUrlTemplate","authMode","username","hasSecret"],"properties":{"kind":{"const":"saved","type":"string"},"savedRegistryId":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"const":"manual","type":"string"},"browseUrlTemplate":{"type":"null"},"authMode":{"anyOf":[{"const":"none","type":"string"},{"const":"basic","type":"string"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["kind","savedRegistryId","id","name","icon","selectionMode","browseUrlTemplate","authMode","username","hasSecret"],"properties":{"kind":{"const":"saved","type":"string"},"savedRegistryId":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"const":"manual","type":"string"},"browseUrlTemplate":{"type":"null"},"authMode":{"anyOf":[{"const":"none","type":"string"},{"const":"basic","type":"string"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["kind","savedRegistryId","id","name","icon","selectionMode","browseUrlTemplate","authMode","username","hasSecret"],"properties":{"kind":{"const":"saved","type":"string"},"savedRegistryId":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"const":"manual","type":"string"},"browseUrlTemplate":{"type":"null"},"authMode":{"anyOf":[{"const":"none","type":"string"},{"const":"basic","type":"string"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}}}}}}}},"operationId":"getV2AccountMesaSavedRegistries","summary":"List Saved Mesa Registries","description":"Returns your saved custom Mesa registries.","tags":["Mesa Catalog"],"security":[{"Header Token":[]}]},"put":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"saved","type":"string"},"savedRegistryId":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"const":"manual","type":"string"},"browseUrlTemplate":{"type":"null"},"authMode":{"anyOf":[{"const":"none","type":"string"},{"const":"basic","type":"string"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}},"required":["kind","savedRegistryId","id","name","icon","selectionMode","browseUrlTemplate","authMode","username","hasSecret"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"saved","type":"string"},"savedRegistryId":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"const":"manual","type":"string"},"browseUrlTemplate":{"type":"null"},"authMode":{"anyOf":[{"const":"none","type":"string"},{"const":"basic","type":"string"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}},"required":["kind","savedRegistryId","id","name","icon","selectionMode","browseUrlTemplate","authMode","username","hasSecret"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"saved","type":"string"},"savedRegistryId":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"const":"manual","type":"string"},"browseUrlTemplate":{"type":"null"},"authMode":{"anyOf":[{"const":"none","type":"string"},{"const":"basic","type":"string"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"hasSecret":{"type":"boolean"}},"required":["kind","savedRegistryId","id","name","icon","selectionMode","browseUrlTemplate","authMode","username","hasSecret"]}}}}},"operationId":"putV2AccountMesaSavedRegistries","summary":"Save Mesa Registry","description":"Saves a custom public HTTPS registry for reuse in Mesa.","tags":["Mesa Catalog"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey","registry"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"registry":{"type":"string"},"name":{"type":"string"},"username":{"type":"string"},"secret":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey","registry"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"registry":{"type":"string"},"name":{"type":"string"},"username":{"type":"string"},"secret":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey","registry"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"registry":{"type":"string"},"name":{"type":"string"},"username":{"type":"string"},"secret":{"type":"string"}}}}}}}},"/account/mesa/savedRegistries/{savedRegistryId}":{"patch":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"savedRegistryId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2AccountMesaSavedRegistriesBySavedRegistryId","summary":"Update Saved Mesa Registry","tags":["Mesa Catalog"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"registry":{"type":"string"},"name":{"type":"string"},"username":{"type":"string"},"secret":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","properties":{"registry":{"type":"string"},"name":{"type":"string"},"username":{"type":"string"},"secret":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","properties":{"registry":{"type":"string"},"name":{"type":"string"},"username":{"type":"string"},"secret":{"type":"string"}}}}}}},"delete":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"savedRegistryId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2AccountMesaSavedRegistriesBySavedRegistryId","summary":"Delete Saved Mesa Registry","tags":["Mesa Catalog"],"security":[{"Header Token":[]}]}},"/account/apiKeys":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","label","createdAt"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","label","createdAt"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","label","createdAt"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","label","createdAt"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}}}}}}},"operationId":"getV2AccountApiKeys","summary":"Get API Keys","tags":["API Keys"],"security":[{"Header Token":[]}]},"put":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"apiKey":{"type":"object","required":["id","label","createdAt"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}},"token":{"type":"string"}},"required":["apiKey","token"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"apiKey":{"type":"object","required":["id","label","createdAt"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}},"token":{"type":"string"}},"required":["apiKey","token"]}},"text/plain":{"schema":{"type":"object","properties":{"apiKey":{"type":"object","required":["id","label","createdAt"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}},"token":{"type":"string"}},"required":["apiKey","token"]}}}}},"operationId":"putV2AccountApiKeys","summary":"Create API Key","description":"Creates a new API key after confirming your two-factor challenge for a dangerous operation, then returns the created API key resource plus the plain-text token once.","tags":["API Keys"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"label":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"label":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"label":{"type":"string"}}}}}}}},"/account/apiKeys/{apiKeyId}":{"delete":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"apiKeyId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2AccountApiKeysByApiKeyId","summary":"Delete API Key","tags":["API Keys"],"security":[{"Header Token":[]}]}},"/account/otp":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"promptPolicy":{"anyOf":[{"const":"loginOnly","type":"string"},{"const":"accountSecurity","type":"string"},{"const":"dangerousOperations","type":"string"}]},"verificationWindowMinutes":{"minimum":0,"maximum":60,"type":"integer"}},"required":["enabled","promptPolicy","verificationWindowMinutes"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"promptPolicy":{"anyOf":[{"const":"loginOnly","type":"string"},{"const":"accountSecurity","type":"string"},{"const":"dangerousOperations","type":"string"}]},"verificationWindowMinutes":{"minimum":0,"maximum":60,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"maximum":60,"type":"integer"}]}},"required":["enabled","promptPolicy","verificationWindowMinutes"]}},"text/plain":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"promptPolicy":{"anyOf":[{"const":"loginOnly","type":"string"},{"const":"accountSecurity","type":"string"},{"const":"dangerousOperations","type":"string"}]},"verificationWindowMinutes":{"minimum":0,"maximum":60,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"maximum":60,"type":"integer"}]}},"required":["enabled","promptPolicy","verificationWindowMinutes"]}}}}},"operationId":"getV2AccountOtp","summary":"Get Two-Factor Settings","description":"Returns whether two-factor authentication is enabled and when Kyun will prompt for a code.","tags":["OTP"],"security":[{"Header Token":[]}]},"put":{"parameters":[],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"putV2AccountOtp","summary":"Enable Two-Factor Authentication","description":"Verifies the code from the pending setup request and turns on OTP for your account.","tags":["OTP"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["code"],"properties":{"code":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["code"],"properties":{"code":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["code"],"properties":{"code":{"type":"string"}}}}}}},"delete":{"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2AccountOtp","summary":"Disable Two-Factor Authentication","description":"Turns off OTP after confirming the current two-factor challenge.","tags":["OTP"],"security":[{"Header Token":[]}]}},"/account/otp/setupRequests":{"put":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"secret":{"type":"string"},"scratchToken":{"type":"string"}},"required":["secret","scratchToken"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"secret":{"type":"string"},"scratchToken":{"type":"string"}},"required":["secret","scratchToken"]}},"text/plain":{"schema":{"type":"object","properties":{"secret":{"type":"string"},"scratchToken":{"type":"string"}},"required":["secret","scratchToken"]}}}}},"operationId":"putV2AccountOtpSetupRequests","summary":"Start Two-Factor Setup","description":"Generates a temporary OTP secret and scratch token. Complete setup by confirming a code before the setup expires.","tags":["OTP"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}}}}}},"/account/otp/settings":{"patch":{"parameters":[],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2AccountOtpSettings","summary":"Update Two-Factor Settings","description":"Changes when Kyun prompts for OTP codes and how long recent verifications stay valid.","tags":["OTP"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["promptPolicy","verificationWindowMinutes"],"properties":{"promptPolicy":{"anyOf":[{"const":"loginOnly","type":"string"},{"const":"accountSecurity","type":"string"},{"const":"dangerousOperations","type":"string"}]},"verificationWindowMinutes":{"minimum":0,"maximum":60,"type":"integer"}}}},"multipart/form-data":{"schema":{"type":"object","required":["promptPolicy","verificationWindowMinutes"],"properties":{"promptPolicy":{"anyOf":[{"const":"loginOnly","type":"string"},{"const":"accountSecurity","type":"string"},{"const":"dangerousOperations","type":"string"}]},"verificationWindowMinutes":{"minimum":0,"maximum":60,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"maximum":60,"type":"integer"}]}}}},"text/plain":{"schema":{"type":"object","required":["promptPolicy","verificationWindowMinutes"],"properties":{"promptPolicy":{"anyOf":[{"const":"loginOnly","type":"string"},{"const":"accountSecurity","type":"string"},{"const":"dangerousOperations","type":"string"}]},"verificationWindowMinutes":{"minimum":0,"maximum":60,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"maximum":60,"type":"integer"}]}}}}}}}},"/account/stripe/status":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hasStripeCustomer":{"type":"boolean"},"hasBillingDetails":{"type":"boolean"},"hasPaymentMethod":{"type":"boolean"},"canCharge":{"type":"boolean"}},"required":["hasStripeCustomer","hasBillingDetails","hasPaymentMethod","canCharge"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"hasStripeCustomer":{"type":"boolean"},"hasBillingDetails":{"type":"boolean"},"hasPaymentMethod":{"type":"boolean"},"canCharge":{"type":"boolean"}},"required":["hasStripeCustomer","hasBillingDetails","hasPaymentMethod","canCharge"]}},"text/plain":{"schema":{"type":"object","properties":{"hasStripeCustomer":{"type":"boolean"},"hasBillingDetails":{"type":"boolean"},"hasPaymentMethod":{"type":"boolean"},"canCharge":{"type":"boolean"}},"required":["hasStripeCustomer","hasBillingDetails","hasPaymentMethod","canCharge"]}}}}},"operationId":"getV2AccountStripeStatus","summary":"Get Stripe Charge Status","description":"Returns whether the current account has a usable Stripe billing profile and saved payment method for card charging.","tags":["Stripe"],"security":[{"Header Token":[]}]}},"/account/transactions":{"get":{"parameters":[{"description":"Maximum number of items to return. If omitted, the endpoint default is used.","schema":{"minimum":1,"maximum":100,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":100,"description":"Maximum number of items to return. If omitted, the endpoint default is used.","type":"number"}]},"in":"query","name":"limit","required":false},{"description":"Opaque cursor from the previous page response. Do not parse or synthesize this value; pass it through exactly as returned.","examples":["eyJpZCI6ImRhbmJvLTEifQ"],"schema":{"type":"string"},"in":"query","name":"startingAfter","required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["hasInvoice","id","amount","createdAt"],"properties":{"hasInvoice":{"type":"boolean"},"id":{"type":"string"},"amount":{"type":"integer"},"serviceId":{"type":"string"},"serviceType":{"type":"string"},"comment":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"type":"integer"}}}},"required":["data","page"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["hasInvoice","id","amount","createdAt"],"properties":{"hasInvoice":{"type":"boolean"},"id":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"serviceId":{"type":"string"},"serviceType":{"type":"string"},"comment":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}},"required":["data","page"]}},"text/plain":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["hasInvoice","id","amount","createdAt"],"properties":{"hasInvoice":{"type":"boolean"},"id":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"serviceId":{"type":"string"},"serviceType":{"type":"string"},"comment":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}},"required":["data","page"]}}}}},"operationId":"getV2AccountTransactions","summary":"Get Transactions","description":"Returns your transaction history in cursor-paginated order, newest first.","tags":["Transactions"],"security":[{"Header Token":[]}]}},"/account/transactions/{transactionId}/invoice":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"transactionId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"multipart/form-data":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"operationId":"getV2AccountTransactionsByTransactionIdInvoice","summary":"Get Invoice URL","description":"Returns the hosted Stripe invoice URL for a transaction that has an invoice.","tags":["Transactions"],"security":[{"Header Token":[]}]}},"/account/stripe/createSetupSession":{"post":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"multipart/form-data":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"operationId":"postV2AccountStripeCreateSetupSession","summary":"Open Payment Method Setup URL","description":"Creates a Stripe Checkout session URL for adding or updating a saved payment method.","tags":["Stripe"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["returnUrl"],"properties":{"returnUrl":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["returnUrl"],"properties":{"returnUrl":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["returnUrl"],"properties":{"returnUrl":{"type":"string"}}}}}}}},"/account/stripe/createPortalSession":{"post":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"multipart/form-data":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"operationId":"postV2AccountStripeCreatePortalSession","summary":"Open Billing Portal URL","description":"Creates a Stripe Billing Portal session URL for managing saved payment methods and invoices.","tags":["Stripe"],"security":[{"Header Token":[]}]}},"/account/ownershipTransfers/incoming":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"],"properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"createdAt":{"format":"date-time","type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"],"properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"type":"integer"},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"type":"integer"},"createdAt":{"format":"date-time","type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"],"properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"createdAt":{"format":"date-time","type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"],"properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"createdAt":{"format":"date-time","type":"string"}}}}}}}},"operationId":"getV2AccountOwnershipTransfersIncoming","summary":"Get Incoming Service Transfers","description":"Returns the pending service transfers that this account can accept or decline.","tags":["Incoming Transfers"],"security":[{"Header Token":[]}]}},"/account/ownershipTransfers/{ownershipTransferId}/accept":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"ownershipTransferId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2AccountOwnershipTransfersByOwnershipTransferIdAccept","summary":"Accept Service Transfer","description":"Accepts a pending transfer and moves future billing responsibility to the current account.","tags":["Incoming Transfers"],"security":[{"Header Token":[]}]}},"/account/ownershipTransfers/{ownershipTransferId}/decline":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"ownershipTransferId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2AccountOwnershipTransfersByOwnershipTransferIdDecline","summary":"Decline Service Transfer","description":"Declines a pending transfer request without changing service ownership.","tags":["Incoming Transfers"],"security":[{"Header Token":[]}]}},"/deposits/rates":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"eur":{"type":"number"},"usd":{"type":"number"}},"required":["eur","usd"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"eur":{"type":"number"},"usd":{"type":"number"}},"required":["eur","usd"]}},"text/plain":{"schema":{"type":"object","properties":{"eur":{"type":"number"},"usd":{"type":"number"}},"required":["eur","usd"]}}}}},"operationId":"getV2DepositsRates","summary":"Get Deposit Rates","description":"Returns the current Monero exchange rates Kyun uses when creating deposits in EUR or USD terms.","tags":["Deposits"]}},"/deposits":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","xmr","eur","address","createdAt","status"],"properties":{"id":{"type":"string"},"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","xmr","eur","address","createdAt","status"],"properties":{"id":{"type":"string"},"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","xmr","eur","address","createdAt","status"],"properties":{"id":{"type":"string"},"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","xmr","eur","address","createdAt","status"],"properties":{"id":{"type":"string"},"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false}}}}}},"operationId":"getV2Deposits","summary":"Get Deposits","description":"Returns your deposit history with live payment status, newest first.","tags":["Deposits"],"security":[{"Header Token":[]}]},"post":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}},"required":["id","xmr","eur","address","createdAt","status"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}},"required":["id","xmr","eur","address","createdAt","status"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}},"required":["id","xmr","eur","address","createdAt","status"]}}}}},"operationId":"postV2Deposits","summary":"Create Deposit","description":"Creates a new deposit request and returns the created deposit resource with its current payment status.","tags":["Deposits"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","required":["amount","currency"],"properties":{"amount":{"minimum":0.000001,"maximum":1000,"type":"number"},"currency":{"const":"xmr","type":"string"}}},{"type":"object","required":["amount","currency"],"properties":{"amount":{"minimum":1,"maximum":1000,"type":"number"},"currency":{"const":"eur","type":"string"}}}]}},"multipart/form-data":{"schema":{"anyOf":[{"type":"object","required":["amount","currency"],"properties":{"amount":{"minimum":0.000001,"maximum":1000,"type":"number"},"currency":{"const":"xmr","type":"string"}}},{"type":"object","required":["amount","currency"],"properties":{"amount":{"minimum":1,"maximum":1000,"type":"number"},"currency":{"const":"eur","type":"string"}}}]}},"text/plain":{"schema":{"anyOf":[{"type":"object","required":["amount","currency"],"properties":{"amount":{"minimum":0.000001,"maximum":1000,"type":"number"},"currency":{"const":"xmr","type":"string"}}},{"type":"object","required":["amount","currency"],"properties":{"amount":{"minimum":1,"maximum":1000,"type":"number"},"currency":{"const":"eur","type":"string"}}}]}}}}}},"/deposits/pending":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","payment","status"],"properties":{"id":{"type":"string"},"payment":{"type":"object","required":["xmr","eur","address","createdAt"],"properties":{"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","payment","status"],"properties":{"id":{"type":"string"},"payment":{"type":"object","required":["xmr","eur","address","createdAt"],"properties":{"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","payment","status"],"properties":{"id":{"type":"string"},"payment":{"type":"object","required":["xmr","eur","address","createdAt"],"properties":{"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","payment","status"],"properties":{"id":{"type":"string"},"payment":{"type":"object","required":["xmr","eur","address","createdAt"],"properties":{"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"}}},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}}}}}}}},"operationId":"getV2DepositsPending","summary":"Get Pending Deposits","description":"Returns only deposits that are still awaiting payment or confirmations.","tags":["Deposits"],"security":[{"Header Token":[]}]}},"/deposits/{id}":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}},"required":["id","xmr","eur","address","createdAt","status"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}},"required":["id","xmr","eur","address","createdAt","status"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"xmr":{"type":"number"},"eur":{"type":"number"},"address":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"status":{"type":"object","required":["receivedAll","received","confirmations"],"properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"additionalProperties":false}},"required":["id","xmr","eur","address","createdAt","status"]}}}}},"operationId":"getV2DepositsById","summary":"Get Deposit Details","description":"Returns the live payment status for a single deposit, including received amount and confirmation count.","tags":["Deposits"],"security":[{"Header Token":[]}]}},"/deposits/{id}/status":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"required":["receivedAll","received","confirmations"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"required":["receivedAll","received","confirmations"]}},"text/plain":{"schema":{"type":"object","properties":{"receivedAll":{"type":"boolean"},"received":{"type":"number"},"confirmations":{"type":"number"}},"required":["receivedAll","received","confirmations"]}}}}},"operationId":"getV2DepositsByIdStatus","summary":"Get Deposit Status","description":"Returns just the live payment status block for one deposit.","tags":["Deposits"],"security":[{"Header Token":[]}]}},"/orders/{orderId}":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"orderId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"anyOf":[{"const":"draft","type":"string"},{"const":"processing","type":"string"},{"const":"completed","type":"string"},{"const":"failed","type":"string"}]},"chargeNowMinor":{"type":"integer"},"newRecurringPriceMinor":{"type":"integer"},"refundAmountMinor":{"type":"integer"},"resourceRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},{"type":"null"}]},"warnings":{"type":"array","items":{"type":"string"}},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","status","chargeNowMinor","newRecurringPriceMinor","refundAmountMinor","resourceRef","warnings","error","createdAt","updatedAt"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"anyOf":[{"const":"draft","type":"string"},{"const":"processing","type":"string"},{"const":"completed","type":"string"},{"const":"failed","type":"string"}]},"chargeNowMinor":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"newRecurringPriceMinor":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"refundAmountMinor":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"resourceRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},{"type":"null"}]},"warnings":{"type":"array","items":{"type":"string"}},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","status","chargeNowMinor","newRecurringPriceMinor","refundAmountMinor","resourceRef","warnings","error","createdAt","updatedAt"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"anyOf":[{"const":"draft","type":"string"},{"const":"processing","type":"string"},{"const":"completed","type":"string"},{"const":"failed","type":"string"}]},"chargeNowMinor":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"newRecurringPriceMinor":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"refundAmountMinor":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"resourceRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},{"type":"null"}]},"warnings":{"type":"array","items":{"type":"string"}},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","status","chargeNowMinor","newRecurringPriceMinor","refundAmountMinor","resourceRef","warnings","error","createdAt","updatedAt"]}}}}},"operationId":"getV2OrdersByOrderId","summary":"Get Order","tags":["Orders"],"security":[{"Header Token":[]}]}},"/orders/{orderId}/confirm":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"orderId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2OrdersByOrderIdConfirm","summary":"Confirm Order","description":"Confirms a draft order and executes the create, resize, grow, unsuspend, IPv4 allocation, or service deletion flow behind it.","tags":["Orders"],"security":[{"Header Token":[]}]}},"/chats":{"get":{"responses":{"200":{"items":{"type":"object","required":["createdAt","id","name","updatedAt","ultraPrivateMode","read","lastMessage"],"properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"type":"string"},"ultraPrivateMode":{"type":"boolean"},"read":{"type":"boolean"},"lastMessage":{"nullable":true,"anyOf":[{"type":"object","required":["content","author"],"properties":{"content":{"type":"string"},"author":{"type":"string"}}},{"type":"null"}]}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["createdAt","id","name","updatedAt","ultraPrivateMode","read","lastMessage"],"properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"type":"string"},"ultraPrivateMode":{"type":"boolean"},"read":{"type":"boolean"},"lastMessage":{"nullable":true,"anyOf":[{"type":"object","required":["content","author"],"properties":{"content":{"type":"string"},"author":{"type":"string"}}},{"type":"null"}]}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["createdAt","id","name","updatedAt","ultraPrivateMode","read","lastMessage"],"properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"type":"string"},"ultraPrivateMode":{"type":"boolean"},"read":{"type":"boolean"},"lastMessage":{"nullable":true,"anyOf":[{"type":"object","required":["content","author"],"properties":{"content":{"type":"string"},"author":{"type":"string"}}},{"type":"null"}]}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["createdAt","id","name","updatedAt","ultraPrivateMode","read","lastMessage"],"properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"type":"string"},"ultraPrivateMode":{"type":"boolean"},"read":{"type":"boolean"},"lastMessage":{"nullable":true,"anyOf":[{"type":"object","required":["content","author"],"properties":{"content":{"type":"string"},"author":{"type":"string"}}},{"type":"null"}]}}}}}}}},"operationId":"getV2Chats","summary":"Get Chats","description":"Returns your support chats with the latest message preview and read state.","tags":["Support Chats"],"security":[{"Header Token":[]}]},"post":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"chatId":{"type":"string"}},"required":["chatId"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"chatId":{"type":"string"}},"required":["chatId"]}},"text/plain":{"schema":{"type":"object","properties":{"chatId":{"type":"string"}},"required":["chatId"]}}}}},"operationId":"postV2Chats","summary":"Start Support Chat","description":"Creates a new support chat and returns the created chat resource identifier. Set ultra-private mode if the conversation should avoid automated handling where possible.","tags":["Support Chats"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ultraPrivateMode":{"type":"boolean"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","properties":{"ultraPrivateMode":{"type":"boolean"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","properties":{"ultraPrivateMode":{"type":"boolean"}},"additionalProperties":false}}}}}},"/chats/stream":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"multipart/form-data":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"operationId":"getV2ChatsStream","summary":"Stream Chat Notifications","description":"Streams new support chat notifications for the authenticated user using Server-Sent Events (SSE).","tags":["Support Chats"],"security":[{"Header Token":[]}]}},"/chats/staff/profiles":{"get":{"responses":{"200":{"items":{"type":"object","required":["userId","name","avatarUrl"],"properties":{"userId":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"format":"uri","type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["userId","name","avatarUrl"],"properties":{"userId":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"format":"uri","type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["userId","name","avatarUrl"],"properties":{"userId":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"format":"uri","type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["userId","name","avatarUrl"],"properties":{"userId":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"format":"uri","type":"string"}}}}}}}},"operationId":"getV2ChatsStaffProfiles","summary":"Get Staff Profiles","description":"Returns the support staff profiles that can appear in chat conversations.","tags":["Support Chats"],"security":[{"Header Token":[]}]}},"/chats/staff/presence":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"number"}},"multipart/form-data":{"schema":{"type":"number"}},"text/plain":{"schema":{"type":"number"}}}}},"operationId":"getV2ChatsStaffPresence","summary":"Get Online Staff Count","description":"Returns how many support staff members are currently online in chat.","tags":["Support Chats"],"security":[{"Header Token":[]}]}},"/chats/{chatId}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"type":"string"},"ultraPrivateMode":{"type":"boolean"},"read":{"type":"boolean"},"lastMessage":{"nullable":true,"anyOf":[{"type":"object","required":["content","author"],"properties":{"content":{"type":"string"},"author":{"type":"string"}}},{"type":"null"}]}},"required":["createdAt","id","name","updatedAt","ultraPrivateMode","read","lastMessage"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"type":"string"},"ultraPrivateMode":{"type":"boolean"},"read":{"type":"boolean"},"lastMessage":{"nullable":true,"anyOf":[{"type":"object","required":["content","author"],"properties":{"content":{"type":"string"},"author":{"type":"string"}}},{"type":"null"}]}},"required":["createdAt","id","name","updatedAt","ultraPrivateMode","read","lastMessage"]}},"text/plain":{"schema":{"type":"object","properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"name":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"type":"string"},"ultraPrivateMode":{"type":"boolean"},"read":{"type":"boolean"},"lastMessage":{"nullable":true,"anyOf":[{"type":"object","required":["content","author"],"properties":{"content":{"type":"string"},"author":{"type":"string"}}},{"type":"null"}]}},"required":["createdAt","id","name","updatedAt","ultraPrivateMode","read","lastMessage"]}}}}},"operationId":"getV2ChatsByChatId","summary":"Get Chat Details","tags":["Support Chats"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"chatId","required":true}]},"patch":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"chatId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ChatsByChatId","summary":"Update Chat Settings","description":"Updates per-chat settings such as ultra-private mode and read state.","tags":["Support Chats"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ultraPrivateMode":{"type":"boolean"},"readByUser":{"type":"boolean"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","properties":{"ultraPrivateMode":{"type":"boolean"},"readByUser":{"type":"boolean"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","properties":{"ultraPrivateMode":{"type":"boolean"},"readByUser":{"type":"boolean"}},"additionalProperties":false}}}}},"delete":{"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2ChatsByChatId","summary":"Delete Chat","tags":["Support Chats"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"chatId","required":true}]}},"/chats/{chatId}/messages":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","content","authorId","createdAt"],"properties":{"id":{"type":"string"},"content":{"type":"string"},"authorId":{"type":"string"},"createdAt":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","content","authorId","createdAt"],"properties":{"id":{"type":"string"},"content":{"type":"string"},"authorId":{"type":"string"},"createdAt":{"type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","content","authorId","createdAt"],"properties":{"id":{"type":"string"},"content":{"type":"string"},"authorId":{"type":"string"},"createdAt":{"type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","content","authorId","createdAt"],"properties":{"id":{"type":"string"},"content":{"type":"string"},"authorId":{"type":"string"},"createdAt":{"type":"string"}}}}}}}},"operationId":"getV2ChatsByChatIdMessages","summary":"Get Messages","tags":["Support Chats"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"chatId","required":true}]}},"/datacenters":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","displayName","location","latitude","longitude","flagUrl","mascotUrl","upstream","hasIpv6"],"properties":{"id":{"type":"string"},"displayName":{"type":"string"},"location":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"flagUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"mascotUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"upstream":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"hasIpv6":{"type":"boolean"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","displayName","location","latitude","longitude","flagUrl","mascotUrl","upstream","hasIpv6"],"properties":{"id":{"type":"string"},"displayName":{"type":"string"},"location":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"flagUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"mascotUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"upstream":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"hasIpv6":{"type":"boolean"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","displayName","location","latitude","longitude","flagUrl","mascotUrl","upstream","hasIpv6"],"properties":{"id":{"type":"string"},"displayName":{"type":"string"},"location":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"flagUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"mascotUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"upstream":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"hasIpv6":{"type":"boolean"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","displayName","location","latitude","longitude","flagUrl","mascotUrl","upstream","hasIpv6"],"properties":{"id":{"type":"string"},"displayName":{"type":"string"},"location":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"flagUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"mascotUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"upstream":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"hasIpv6":{"type":"boolean"}}}}}}}},"operationId":"getV2Datacenters","summary":"Get Datacenters","description":"Returns the public list of enabled Kyun datacenters with display metadata and IPv6 availability.","tags":["Datacenters"]}},"/datacenters/{datacenterId}":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"location":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"flagUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"mascotUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"enabled":{"type":"boolean"},"upstream":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","displayName","location","latitude","longitude","flagUrl","mascotUrl","enabled","upstream"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"location":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"flagUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"mascotUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"enabled":{"type":"boolean"},"upstream":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","displayName","location","latitude","longitude","flagUrl","mascotUrl","enabled","upstream"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"location":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"flagUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"mascotUrl":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"enabled":{"type":"boolean"},"upstream":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","displayName","location","latitude","longitude","flagUrl","mascotUrl","enabled","upstream"]}}}}},"operationId":"getV2DatacentersByDatacenterId","summary":"Get Datacenter Details","tags":["Datacenters"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"datacenterId","required":true}]}},"/datacenters/{datacenterId}/unitPrices":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"ipv4MonthlyPrice":{"type":"integer"},"computeDiskTbMonthlyPrice":{"type":"integer"},"ramGiBMonthlyPrice":{"type":"integer"},"coreMonthlyPrice":{"type":"integer"},"brickDiskTbMonthlyPrice":{"type":"integer"},"activeSale":{"anyOf":[{"type":"object","required":["id","name","discountPercent","scopeDatacenterIds","startsAt","endsAt","durationKind","bannerText"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"discountPercent":{"type":"integer"},"scopeDatacenterIds":{"type":"array","items":{"type":"string"}},"startsAt":{"format":"date-time","type":"string"},"endsAt":{"format":"date-time","type":"string"},"durationKind":{"anyOf":[{"const":"firstMonth","type":"string"},{"const":"lifetime","type":"string"}]},"bannerText":{"type":"string"}}},{"type":"null"}]}},"required":["ipv4MonthlyPrice","computeDiskTbMonthlyPrice","ramGiBMonthlyPrice","coreMonthlyPrice","brickDiskTbMonthlyPrice","activeSale"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"ipv4MonthlyPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"computeDiskTbMonthlyPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ramGiBMonthlyPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"coreMonthlyPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"brickDiskTbMonthlyPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"activeSale":{"anyOf":[{"type":"object","required":["id","name","discountPercent","scopeDatacenterIds","startsAt","endsAt","durationKind","bannerText"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"discountPercent":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"scopeDatacenterIds":{"type":"array","items":{"type":"string"}},"startsAt":{"format":"date-time","type":"string"},"endsAt":{"format":"date-time","type":"string"},"durationKind":{"anyOf":[{"const":"firstMonth","type":"string"},{"const":"lifetime","type":"string"}]},"bannerText":{"type":"string"}}},{"type":"null"}]}},"required":["ipv4MonthlyPrice","computeDiskTbMonthlyPrice","ramGiBMonthlyPrice","coreMonthlyPrice","brickDiskTbMonthlyPrice","activeSale"]}},"text/plain":{"schema":{"type":"object","properties":{"ipv4MonthlyPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"computeDiskTbMonthlyPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ramGiBMonthlyPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"coreMonthlyPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"brickDiskTbMonthlyPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"activeSale":{"anyOf":[{"type":"object","required":["id","name","discountPercent","scopeDatacenterIds","startsAt","endsAt","durationKind","bannerText"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"discountPercent":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"scopeDatacenterIds":{"type":"array","items":{"type":"string"}},"startsAt":{"format":"date-time","type":"string"},"endsAt":{"format":"date-time","type":"string"},"durationKind":{"anyOf":[{"const":"firstMonth","type":"string"},{"const":"lifetime","type":"string"}]},"bannerText":{"type":"string"}}},{"type":"null"}]}},"required":["ipv4MonthlyPrice","computeDiskTbMonthlyPrice","ramGiBMonthlyPrice","coreMonthlyPrice","brickDiskTbMonthlyPrice","activeSale"]}}}}},"operationId":"getV2DatacentersByDatacenterIdUnitPrices","summary":"Get Unit Prices","description":"Returns the raw monthly price factors used for compute and Brick pricing in this datacenter.","tags":["Datacenters"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"datacenterId","required":true}]}},"/datacenters/{datacenterId}/offers/{serviceType}":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"datacenterId","required":true},{"schema":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}],"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"serviceType":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"selection":{"type":"object","properties":{"cores":{"type":"integer"},"ram":{"type":"number"},"disk":{"type":"integer"},"ipv4Count":{"type":"integer"},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"},"gb":{"type":"integer"}}},"limits":{"type":"object","properties":{"cores":{"type":"integer"},"ram":{"type":"number"},"disk":{"type":"integer"},"ipv4Count":{"type":"integer"},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"},"gb":{"type":"integer"}}},"isAvailable":{"type":"boolean"},"reasons":{"type":"array","items":{"anyOf":[{"const":"noEligibleNode","type":"string"},{"const":"eligibleNodesUnavailable","type":"string"},{"const":"mesaImageUnavailable","type":"string"},{"const":"noIpv4Available","type":"string"},{"const":"outOfStock","type":"string"}]}}},"required":["serviceType","selection","limits","isAvailable","reasons"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"serviceType":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"selection":{"type":"object","properties":{"cores":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ram":{"type":"number"},"disk":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Count":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"},"gb":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}},"limits":{"type":"object","properties":{"cores":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ram":{"type":"number"},"disk":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Count":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"},"gb":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}},"isAvailable":{"type":"boolean"},"reasons":{"type":"array","items":{"anyOf":[{"const":"noEligibleNode","type":"string"},{"const":"eligibleNodesUnavailable","type":"string"},{"const":"mesaImageUnavailable","type":"string"},{"const":"noIpv4Available","type":"string"},{"const":"outOfStock","type":"string"}]}}},"required":["serviceType","selection","limits","isAvailable","reasons"]}},"text/plain":{"schema":{"type":"object","properties":{"serviceType":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"selection":{"type":"object","properties":{"cores":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ram":{"type":"number"},"disk":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Count":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"},"gb":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}},"limits":{"type":"object","properties":{"cores":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ram":{"type":"number"},"disk":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Count":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"},"gb":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}},"isAvailable":{"type":"boolean"},"reasons":{"type":"array","items":{"anyOf":[{"const":"noEligibleNode","type":"string"},{"const":"eligibleNodesUnavailable","type":"string"},{"const":"mesaImageUnavailable","type":"string"},{"const":"noIpv4Available","type":"string"},{"const":"outOfStock","type":"string"}]}}},"required":["serviceType","selection","limits","isAvailable","reasons"]}}}}},"operationId":"postV2DatacentersByDatacenterIdOffersByServiceType","summary":"Resolve Datacenter Offer","description":"Returns the availability and selection limits for the requested service type in this datacenter using a single canonical offer contract.","tags":["Datacenters"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["selection"],"properties":{"selection":{"type":"object","properties":{"cores":{"type":"integer"},"ram":{"type":"number"},"disk":{"type":"integer"},"ipv4Count":{"type":"integer"},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"},"gb":{"type":"integer"}}}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["selection"],"properties":{"selection":{"type":"object","properties":{"cores":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ram":{"type":"number"},"disk":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Count":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"},"gb":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["selection"],"properties":{"selection":{"type":"object","properties":{"cores":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ram":{"type":"number"},"disk":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Count":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"},"gb":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}},"additionalProperties":false}}}}}},"/datacenters/{datacenterId}/network/pingTargets":{"get":{"responses":{"200":{"items":{"type":"object","required":["host","port"],"properties":{"host":{"type":"string"},"port":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["host","port"],"properties":{"host":{"type":"string"},"port":{"type":"integer"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["host","port"],"properties":{"host":{"type":"string"},"port":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["host","port"],"properties":{"host":{"type":"string"},"port":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}}}},"operationId":"getV2DatacentersByDatacenterIdNetworkPingTargets","summary":"Get Ping Targets","description":"Returns a sample of node endpoints you can ping to estimate latency to this datacenter.","tags":["Datacenters"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"datacenterId","required":true}]}},"/datacenters/{datacenterId}/network/diagnostics/run":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"datacenterId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"datacenterId":{"type":"string"},"tool":{"anyOf":[{"const":"ping","type":"string"},{"const":"traceroute","type":"string"},{"const":"mtr","type":"string"},{"const":"dig","type":"string"}]},"target":{"type":"string"},"normalizedTarget":{"type":"string"},"output":{"type":"string"},"exitCode":{"type":"integer"},"durationMs":{"type":"integer"},"truncated":{"type":"boolean"}},"required":["datacenterId","tool","target","normalizedTarget","output","exitCode","durationMs","truncated"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"datacenterId":{"type":"string"},"tool":{"anyOf":[{"const":"ping","type":"string"},{"const":"traceroute","type":"string"},{"const":"mtr","type":"string"},{"const":"dig","type":"string"}]},"target":{"type":"string"},"normalizedTarget":{"type":"string"},"output":{"type":"string"},"exitCode":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"durationMs":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"truncated":{"type":"boolean"}},"required":["datacenterId","tool","target","normalizedTarget","output","exitCode","durationMs","truncated"]}},"text/plain":{"schema":{"type":"object","properties":{"datacenterId":{"type":"string"},"tool":{"anyOf":[{"const":"ping","type":"string"},{"const":"traceroute","type":"string"},{"const":"mtr","type":"string"},{"const":"dig","type":"string"}]},"target":{"type":"string"},"normalizedTarget":{"type":"string"},"output":{"type":"string"},"exitCode":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"durationMs":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"truncated":{"type":"boolean"}},"required":["datacenterId","tool","target","normalizedTarget","output","exitCode","durationMs","truncated"]}}}}},"operationId":"postV2DatacentersByDatacenterIdNetworkDiagnosticsRun","summary":"Run Datacenter Network Diagnostic","description":"Runs a bounded ping, traceroute, mtr, or dig check from Kyun infrastructure for the selected datacenter. Anonymous requests require a proof-of-work challenge from `/etc/pow`.","tags":["Datacenters"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tool","target"],"properties":{"tool":{"anyOf":[{"const":"ping","type":"string"},{"const":"traceroute","type":"string"},{"const":"mtr","type":"string"},{"const":"dig","type":"string"}]},"target":{"type":"string"},"pow":{"type":"object","required":["challenge","signature","proof"],"properties":{"challenge":{"type":"string"},"signature":{"type":"string"},"proof":{"type":"string"}}}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["tool","target"],"properties":{"tool":{"anyOf":[{"const":"ping","type":"string"},{"const":"traceroute","type":"string"},{"const":"mtr","type":"string"},{"const":"dig","type":"string"}]},"target":{"type":"string"},"pow":{"type":"object","required":["challenge","signature","proof"],"properties":{"challenge":{"type":"string"},"signature":{"type":"string"},"proof":{"type":"string"}}}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["tool","target"],"properties":{"tool":{"anyOf":[{"const":"ping","type":"string"},{"const":"traceroute","type":"string"},{"const":"mtr","type":"string"},{"const":"dig","type":"string"}]},"target":{"type":"string"},"pow":{"type":"object","required":["challenge","signature","proof"],"properties":{"challenge":{"type":"string"},"signature":{"type":"string"},"proof":{"type":"string"}}}},"additionalProperties":false}}}}}},"/datacenters/{datacenterId}/network/diagnostics/stream":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"datacenterId","required":true}],"operationId":"postV2DatacentersByDatacenterIdNetworkDiagnosticsStream","summary":"Stream Datacenter Network Diagnostic","description":"Streams output for a bounded ping, traceroute, mtr, or dig check from Kyun infrastructure for the selected datacenter using Server-Sent Events (SSE). Anonymous requests require a proof-of-work challenge from `/etc/pow`.","tags":["Datacenters"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tool","target"],"properties":{"tool":{"anyOf":[{"const":"ping","type":"string"},{"const":"traceroute","type":"string"},{"const":"mtr","type":"string"},{"const":"dig","type":"string"}]},"target":{"type":"string"},"pow":{"type":"object","required":["challenge","signature","proof"],"properties":{"challenge":{"type":"string"},"signature":{"type":"string"},"proof":{"type":"string"}}}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["tool","target"],"properties":{"tool":{"anyOf":[{"const":"ping","type":"string"},{"const":"traceroute","type":"string"},{"const":"mtr","type":"string"},{"const":"dig","type":"string"}]},"target":{"type":"string"},"pow":{"type":"object","required":["challenge","signature","proof"],"properties":{"challenge":{"type":"string"},"signature":{"type":"string"},"proof":{"type":"string"}}}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["tool","target"],"properties":{"tool":{"anyOf":[{"const":"ping","type":"string"},{"const":"traceroute","type":"string"},{"const":"mtr","type":"string"},{"const":"dig","type":"string"}]},"target":{"type":"string"},"pow":{"type":"object","required":["challenge","signature","proof"],"properties":{"challenge":{"type":"string"},"signature":{"type":"string"},"proof":{"type":"string"}}}},"additionalProperties":false}}}},"responses":{"200":{}}}},"/sales/active":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"sales":{"type":"array","items":{"type":"object","required":["id","name","discountPercent","scopeDatacenterIds","startsAt","endsAt","durationKind","bannerText"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"discountPercent":{"type":"integer"},"scopeDatacenterIds":{"type":"array","items":{"type":"string"}},"startsAt":{"format":"date-time","type":"string"},"endsAt":{"format":"date-time","type":"string"},"durationKind":{"anyOf":[{"const":"firstMonth","type":"string"},{"const":"lifetime","type":"string"}]},"bannerText":{"type":"string"}}}}},"required":["sales"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"sales":{"type":"array","items":{"type":"object","required":["id","name","discountPercent","scopeDatacenterIds","startsAt","endsAt","durationKind","bannerText"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"discountPercent":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"scopeDatacenterIds":{"type":"array","items":{"type":"string"}},"startsAt":{"format":"date-time","type":"string"},"endsAt":{"format":"date-time","type":"string"},"durationKind":{"anyOf":[{"const":"firstMonth","type":"string"},{"const":"lifetime","type":"string"}]},"bannerText":{"type":"string"}}}}},"required":["sales"]}},"text/plain":{"schema":{"type":"object","properties":{"sales":{"type":"array","items":{"type":"object","required":["id","name","discountPercent","scopeDatacenterIds","startsAt","endsAt","durationKind","bannerText"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"discountPercent":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"scopeDatacenterIds":{"type":"array","items":{"type":"string"}},"startsAt":{"format":"date-time","type":"string"},"endsAt":{"format":"date-time","type":"string"},"durationKind":{"anyOf":[{"const":"firstMonth","type":"string"},{"const":"lifetime","type":"string"}]},"bannerText":{"type":"string"}}}}},"required":["sales"]}}}}},"operationId":"getV2SalesActive","summary":"Get Active Sales","description":"Returns active public sales for marketing banners and pricing display.","tags":["Datacenters"]}},"/mesa/catalog/registries":{"get":{"responses":{"200":{"items":{"type":"object","required":["kind","id","name","icon","selectionMode","browseUrlTemplate"],"properties":{"kind":{"const":"builtin","type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"anyOf":[{"const":"search","type":"string"},{"const":"manual","type":"string"}]},"browseUrlTemplate":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["kind","id","name","icon","selectionMode","browseUrlTemplate"],"properties":{"kind":{"const":"builtin","type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"anyOf":[{"const":"search","type":"string"},{"const":"manual","type":"string"}]},"browseUrlTemplate":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["kind","id","name","icon","selectionMode","browseUrlTemplate"],"properties":{"kind":{"const":"builtin","type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"anyOf":[{"const":"search","type":"string"},{"const":"manual","type":"string"}]},"browseUrlTemplate":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["kind","id","name","icon","selectionMode","browseUrlTemplate"],"properties":{"kind":{"const":"builtin","type":"string"},"id":{"type":"string"},"name":{"type":"string"},"icon":{"type":"string"},"selectionMode":{"anyOf":[{"const":"search","type":"string"},{"const":"manual","type":"string"}]},"browseUrlTemplate":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"operationId":"getV2MesaCatalogRegistries","summary":"List Container Registries","description":"Returns Kyun-supported built-in registry definitions for Mesa image selection.","tags":["Mesa Catalog"]}},"/mesa/catalog/registries/{registry}/icon":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"registry","required":true}],"operationId":"getV2MesaCatalogRegistriesByRegistryIcon","summary":"Get Registry Icon","description":"Returns the cached Mesa registry icon as a normalized GIF.","tags":["Mesa Catalog"],"responses":{"200":{}}}},"/mesa/catalog/registries/{registry}/images":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"registry","required":true},{"schema":{"type":"string"},"in":"query","name":"search","required":true},{"description":"Maximum number of items to return. If omitted, the endpoint default is used.","schema":{"minimum":1,"maximum":100,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":100,"description":"Maximum number of items to return. If omitted, the endpoint default is used.","type":"number"}]},"in":"query","name":"limit","required":false},{"description":"Opaque cursor from the previous page response. Do not parse or synthesize this value; pass it through exactly as returned.","examples":["eyJpZCI6ImRhbmJvLTEifQ"],"schema":{"type":"string"},"in":"query","name":"startingAfter","required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["name","description","stars","tags"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"stars":{"type":"number"},"tags":{"type":"array","items":{"type":"string"}}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["name","description","stars","tags"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"stars":{"type":"number"},"tags":{"type":"array","items":{"type":"string"}}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}},"text/plain":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["name","description","stars","tags"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"stars":{"type":"number"},"tags":{"type":"array","items":{"type":"string"}}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}}}}},"operationId":"getV2MesaCatalogRegistriesByRegistryImages","summary":"Search Container Registry","description":"Searches a container registry for images matching the requested term.","tags":["Mesa Catalog"]}},"/mesa/catalog/registries/{registry}/images/{imageId}":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"registry","required":true},{"schema":{"type":"string"},"in":"path","name":"imageId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"registry":{"type":"string"},"image":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"readme":{"anyOf":[{"type":"string"},{"type":"null"}]},"stars":{"anyOf":[{"type":"number"},{"type":"null"}]},"pullCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"size":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastUpdated":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["registry","image","name","description","readme","stars","pullCount","size","lastUpdated"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"registry":{"type":"string"},"image":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"readme":{"anyOf":[{"type":"string"},{"type":"null"}]},"stars":{"anyOf":[{"type":"number"},{"type":"null"}]},"pullCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"size":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastUpdated":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["registry","image","name","description","readme","stars","pullCount","size","lastUpdated"]}},"text/plain":{"schema":{"type":"object","properties":{"registry":{"type":"string"},"image":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"readme":{"anyOf":[{"type":"string"},{"type":"null"}]},"stars":{"anyOf":[{"type":"number"},{"type":"null"}]},"pullCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"size":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastUpdated":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["registry","image","name","description","readme","stars","pullCount","size","lastUpdated"]}}}}},"operationId":"getV2MesaCatalogRegistriesByRegistryImagesByImageId","summary":"Get Container Image Metadata","description":"Returns metadata for a specific container image in the selected registry.","tags":["Mesa Catalog"]}},"/mesa/catalog/registries/{registry}/images/{imageId}/readme/image":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"registry","required":true},{"schema":{"type":"string"},"in":"path","name":"imageId","required":true},{"schema":{"type":"string"},"in":"query","name":"src","required":true}],"operationId":"getV2MesaCatalogRegistriesByRegistryImagesByImageIdReadmeImage","summary":"Get README Image Asset","description":"Proxies one container image README image after verifying the requested source is referenced by that README.","tags":["Mesa Catalog"],"responses":{"200":{}}}},"/mesa/catalog/registries/{registry}/images/{imageId}/tags":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"registry","required":true},{"schema":{"type":"string"},"in":"path","name":"imageId","required":true},{"description":"Maximum number of items to return. If omitted, the endpoint default is used.","schema":{"minimum":1,"maximum":100,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":100,"description":"Maximum number of items to return. If omitted, the endpoint default is used.","type":"number"}]},"in":"query","name":"limit","required":false},{"description":"Opaque cursor from the previous page response. Do not parse or synthesize this value; pass it through exactly as returned.","examples":["eyJpZCI6ImRhbmJvLTEifQ"],"schema":{"type":"string"},"in":"query","name":"startingAfter","required":false},{"schema":{"type":"string"},"in":"query","name":"search","required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["name","size","lastUpdated"],"properties":{"name":{"type":"string"},"size":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastUpdated":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["name","size","lastUpdated"],"properties":{"name":{"type":"string"},"size":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastUpdated":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}},"text/plain":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["name","size","lastUpdated"],"properties":{"name":{"type":"string"},"size":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastUpdated":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}}}}},"operationId":"getV2MesaCatalogRegistriesByRegistryImagesByImageIdTags","summary":"Get Registry Tags","description":"Lists available tags for a specific container image.","tags":["Mesa Catalog"]}},"/mesa/catalog/registries/{registry}/digest":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"registry","required":true},{"schema":{"type":"string"},"in":"query","name":"image","required":true},{"schema":{"type":"string"},"in":"query","name":"tag","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"multipart/form-data":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"operationId":"getV2MesaCatalogRegistriesByRegistryDigest","summary":"Resolve Image Digest","description":"Resolves a registry image tag to its immutable digest.","tags":["Mesa Catalog"]}},"/etc/quote":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"multipart/form-data":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"operationId":"getV2EtcQuote","summary":"Get a Random Quote","tags":["Public Utilities"]}},"/etc/serviceCount":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"number"}},"multipart/form-data":{"schema":{"type":"number"}},"text/plain":{"schema":{"type":"number"}}}}},"operationId":"getV2EtcServiceCount","summary":"Get Total Service Count","description":"Returns the total number of Danbo services currently counted by the public site.","tags":["Public Utilities"]}},"/etc/domains":{"get":{"responses":{"200":{"items":{"type":"string"},"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"string"}}},"text/plain":{"schema":{"type":"array","items":{"type":"string"}}}}}},"operationId":"getV2EtcDomains","summary":"Get Available Domains","description":"Returns the public domains you can select when creating hostnames and subdomains.","tags":["Public Utilities"]}},"/etc/mesaDomain":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"multipart/form-data":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"operationId":"getV2EtcMesaDomain","summary":"Get Mesa Permalink Domain","description":"Returns the reserved public domain Kyun uses for Mesa permalinks.","tags":["Public Utilities"]}},"/etc/kycnotme":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"rating":{"type":"number"},"ratingCount":{"minimum":0,"type":"integer"},"fetchedAt":{"format":"date-time","type":"string"},"url":{"type":"string"}},"required":["rating","ratingCount","fetchedAt","url"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"rating":{"type":"number"},"ratingCount":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"fetchedAt":{"format":"date-time","type":"string"},"url":{"type":"string"}},"required":["rating","ratingCount","fetchedAt","url"]}},"text/plain":{"schema":{"type":"object","properties":{"rating":{"type":"number"},"ratingCount":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"fetchedAt":{"format":"date-time","type":"string"},"url":{"type":"string"}},"required":["rating","ratingCount","fetchedAt","url"]}}}}},"operationId":"getV2EtcKycnotme","summary":"Get KYCnot.me Rating","description":"Returns the current KYCnot.me user rating cached from the KYUN service page, including when it was last refreshed.","tags":["Public Utilities"]}},"/etc/registration":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"anyOf":[{"const":"open","type":"string"},{"const":"inviteOnly","type":"string"},{"const":"disabled","type":"string"}]},"inviteRequired":{"type":"boolean"}},"required":["mode","inviteRequired"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"mode":{"anyOf":[{"const":"open","type":"string"},{"const":"inviteOnly","type":"string"},{"const":"disabled","type":"string"}]},"inviteRequired":{"type":"boolean"}},"required":["mode","inviteRequired"]}},"text/plain":{"schema":{"type":"object","properties":{"mode":{"anyOf":[{"const":"open","type":"string"},{"const":"inviteOnly","type":"string"},{"const":"disabled","type":"string"}]},"inviteRequired":{"type":"boolean"}},"required":["mode","inviteRequired"]}}}}},"operationId":"getV2EtcRegistration","summary":"Get Public Registration Status","description":"Returns whether self-registration is open, invite-only, or disabled so clients can render the correct signup flow.","tags":["Public Utilities"]}},"/etc/pow":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"challenge":{"type":"string"},"difficulty":{"type":"integer"},"signature":{"type":"string"}},"required":["challenge","difficulty","signature"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"challenge":{"type":"string"},"difficulty":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"signature":{"type":"string"}},"required":["challenge","difficulty","signature"]}},"text/plain":{"schema":{"type":"object","properties":{"challenge":{"type":"string"},"difficulty":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"signature":{"type":"string"}},"required":["challenge","difficulty","signature"]}}}}},"operationId":"getV2EtcPow","summary":"Get Registration Proof-of-Work Challenge","description":"Fetches the proof-of-work challenge required before creating a new account. Solve it by finding a proof string so that SHA-256 of the concatenated challenge and proof (`challenge + proof`) produces a hex digest that starts with as many zeroes as the returned difficulty requires. Send the original challenge, its signature, and your proof back in the `pow` object when creating the account. Challenges expire after 2 minutes and cannot be reused.","tags":["Public Utilities"]}},"/etc/polls":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","title","endsAt","startedAt","options","voteCount"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"endsAt":{"anyOf":[{"type":"Date"},{"format":"date-time","type":"string"},{"format":"date","type":"string"},{"type":"number"}]},"startedAt":{"anyOf":[{"type":"Date"},{"format":"date-time","type":"string"},{"format":"date","type":"string"},{"type":"number"}]},"options":{"type":"array","items":{"type":"string"}},"voteCount":{"type":"number"},"results":{"type":"array","items":{"type":"number"}}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","title","endsAt","startedAt","options","voteCount"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"endsAt":{"anyOf":[{"type":"Date"},{"format":"date-time","type":"string"},{"format":"date","type":"string"},{"type":"number"}]},"startedAt":{"anyOf":[{"type":"Date"},{"format":"date-time","type":"string"},{"format":"date","type":"string"},{"type":"number"}]},"options":{"type":"array","items":{"type":"string"}},"voteCount":{"type":"number"},"results":{"type":"array","items":{"type":"number"}}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","title","endsAt","startedAt","options","voteCount"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"endsAt":{"anyOf":[{"type":"Date"},{"format":"date-time","type":"string"},{"format":"date","type":"string"},{"type":"number"}]},"startedAt":{"anyOf":[{"type":"Date"},{"format":"date-time","type":"string"},{"format":"date","type":"string"},{"type":"number"}]},"options":{"type":"array","items":{"type":"string"}},"voteCount":{"type":"number"},"results":{"type":"array","items":{"type":"number"}}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","title","endsAt","startedAt","options","voteCount"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"endsAt":{"anyOf":[{"type":"Date"},{"format":"date-time","type":"string"},{"format":"date","type":"string"},{"type":"number"}]},"startedAt":{"anyOf":[{"type":"Date"},{"format":"date-time","type":"string"},{"format":"date","type":"string"},{"type":"number"}]},"options":{"type":"array","items":{"type":"string"}},"voteCount":{"type":"number"},"results":{"type":"array","items":{"type":"number"}}}}}}}}},"operationId":"getV2EtcPolls","summary":"Get Polls","tags":["Polls"]}},"/etc/polls/{pollId}/vote":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"pollId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2EtcPollsByPollIdVote","summary":"Vote on Poll","tags":["Polls"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["option"],"properties":{"option":{"type":"integer"}}}},"multipart/form-data":{"schema":{"type":"object","required":["option"],"properties":{"option":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}},"text/plain":{"schema":{"type":"object","required":["option"],"properties":{"option":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}}}},"/etc/telegramBot":{"get":{"responses":{"200":{"anyOf":[{"type":"string"},{"type":"null"}],"content":{"application/json":{"schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},"multipart/form-data":{"schema":{"anyOf":[{"type":"string"},{"type":"null"}]}},"text/plain":{"schema":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}},"operationId":"getV2EtcTelegramBot","summary":"Get Telegram Bot Handle","description":"Returns the public Telegram bot handle used for linking Telegram notifications.","tags":["Public Utilities"]}},"/etc/managedNotificationMethods/{manageToken}":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"manageToken","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"preview":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["type","preview","subscriptions"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"preview":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["type","preview","subscriptions"]}},"text/plain":{"schema":{"type":"object","properties":{"type":{"anyOf":[{"const":"email","type":"string"},{"const":"matrix","type":"string"},{"const":"telegram","type":"string"}]},"preview":{"type":"string"},"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}},"required":["type","preview","subscriptions"]}}}}},"operationId":"getV2EtcManagedNotificationMethodsByManageToken","summary":"Open Unsubscribe Link","description":"Opens the no-login unsubscribe page for one notification method. The secure unsubscribe token lets the recipient turn off some or all notifications for that specific method without signing in.","tags":["Public Utilities"]},"patch":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"manageToken","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2EtcManagedNotificationMethodsByManageToken","summary":"Update Unsubscribe Preferences","description":"Updates the preferences behind one unsubscribe link. Use this to reduce or fully disable notifications for the linked method without requiring account login.","tags":["Public Utilities"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}}}},"multipart/form-data":{"schema":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}}}},"text/plain":{"schema":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"anyOf":[{"const":"serviceNews","type":"string"},{"const":"generalNews","type":"string"},{"const":"billingRenewal","type":"string"},{"const":"chatMessages","type":"string"},{"const":"accountRecovery","type":"string"}]}}}}}}}}},"/services/{serviceType}":{"get":{"parameters":[{"schema":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}],"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"description":"Maximum number of items to return. If omitted, the endpoint default is used.","schema":{"minimum":1,"maximum":100,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":100,"description":"Maximum number of items to return. If omitted, the endpoint default is used.","type":"number"}]},"in":"query","name":"limit","required":false},{"description":"Opaque cursor from the previous page response. Do not parse or synthesize this value; pass it through exactly as returned.","examples":["eyJpZCI6ImRhbmJvLTEifQ"],"schema":{"type":"string"},"in":"query","name":"startingAfter","required":false},{"schema":{"type":"string"},"in":"query","name":"search","required":false}],"responses":{"200":{"anyOf":[{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"danbo","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}}},{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing","status"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"mesa","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"status":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"}]}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}}},{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"bricks","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}}}],"content":{"application/json":{"schema":{"anyOf":[{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"danbo","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"type":"integer"},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"type":"integer"}}}}},{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing","status"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"mesa","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"type":"integer"},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"status":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"}]}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"type":"integer"}}}}},{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"bricks","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"type":"integer"},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"type":"integer"}}}}}]}},"multipart/form-data":{"schema":{"anyOf":[{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"danbo","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}}},{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing","status"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"mesa","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"status":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"}]}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}}},{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"bricks","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}}}]}},"text/plain":{"schema":{"anyOf":[{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"danbo","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}}},{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing","status"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"mesa","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}},"status":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"}]}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}}},{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","name","kind","datacenterId","billing"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"const":"bricks","type":"string"},"datacenterId":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","suspendedAt"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]}}}}}},"page":{"type":"object","required":["next","total"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]},"total":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}}}}]}}}}},"operationId":"getV2ServicesByServiceType","summary":"List Services","description":"Returns the owned services for the selected service type using only database-backed summary fields.","tags":["Service Core"],"security":[{"Header Token":[]}]}},"/services/danbo":{"put":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"putV2ServicesDanbo","summary":"Create Danbo Order","description":"Creates a draft order for a new Danbo service.","tags":["Service Core"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["datacenterId","specs","ipv4Count"],"properties":{"datacenterId":{"type":"string"},"specs":{"type":"object","required":["cores","ram","disk"],"properties":{"cores":{"minimum":1,"type":"integer"},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":10,"type":"integer"}}},"ipv4Count":{"minimum":0,"type":"integer"},"ipv6Enabled":{"type":"boolean"}}}],"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["datacenterId","specs","ipv4Count"],"properties":{"datacenterId":{"type":"string"},"specs":{"type":"object","required":["cores","ram","disk"],"properties":{"cores":{"minimum":1,"type":"integer"},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":10,"type":"integer"}}},"ipv4Count":{"minimum":0,"type":"integer"},"ipv6Enabled":{"type":"boolean"}}}],"additionalProperties":false}},"text/plain":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["datacenterId","specs","ipv4Count"],"properties":{"datacenterId":{"type":"string"},"specs":{"type":"object","required":["cores","ram","disk"],"properties":{"cores":{"minimum":1,"type":"integer"},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":10,"type":"integer"}}},"ipv4Count":{"minimum":0,"type":"integer"},"ipv6Enabled":{"type":"boolean"}}}],"additionalProperties":false}}}}}},"/services/mesa":{"put":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"putV2ServicesMesa","summary":"Create Mesa Order","description":"Creates a draft order for a new Mesa service.","tags":["Service Core"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["datacenterId","specs","mnemonic"],"properties":{"datacenterId":{"type":"string"},"specs":{"type":"object","required":["cores","ram","disk"],"properties":{"cores":{"minimum":1,"type":"integer"},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":1,"type":"integer"}}},"mnemonic":{"pattern":"^[a-z]+-[a-z]+-[a-z]+$","type":"string"},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"}}}]}},"multipart/form-data":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["datacenterId","specs","mnemonic"],"properties":{"datacenterId":{"type":"string"},"specs":{"type":"object","required":["cores","ram","disk"],"properties":{"cores":{"minimum":1,"type":"integer"},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":1,"type":"integer"}}},"mnemonic":{"pattern":"^[a-z]+-[a-z]+-[a-z]+$","type":"string"},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"}}}]}},"text/plain":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["datacenterId","specs","mnemonic"],"properties":{"datacenterId":{"type":"string"},"specs":{"type":"object","required":["cores","ram","disk"],"properties":{"cores":{"minimum":1,"type":"integer"},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":1,"type":"integer"}}},"mnemonic":{"pattern":"^[a-z]+-[a-z]+-[a-z]+$","type":"string"},"ipv4Enabled":{"type":"boolean"},"ipv6Enabled":{"type":"boolean"}}}]}}}}}},"/services/bricks":{"put":{"parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"putV2ServicesBricks","summary":"Create Brick Order","description":"Creates a draft order for a new Brick service.","tags":["Service Core"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["datacenterId","gb"],"properties":{"datacenterId":{"type":"string"},"gb":{"minimum":250,"type":"integer"}}}]}},"multipart/form-data":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["datacenterId","gb"],"properties":{"datacenterId":{"type":"string"},"gb":{"minimum":250,"type":"integer"}}}]}},"text/plain":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["datacenterId","gb"],"properties":{"datacenterId":{"type":"string"},"gb":{"minimum":250,"type":"integer"}}}]}}}}}},"/services/{serviceType}/{serviceId}/billing":{"patch":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ServicesByServiceTypeByServiceIdBilling","summary":"Update Renewal State","description":"Sets whether this service should renew normally or stay cancelled at the next billing cycle.","tags":["Service Billing"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["cancelled"],"properties":{"cancelled":{"type":"boolean"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["cancelled"],"properties":{"cancelled":{"type":"boolean"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["cancelled"],"properties":{"cancelled":{"type":"boolean"}},"additionalProperties":false}}}}}},"/services/{serviceType}/{serviceId}/unsuspend":{"post":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdUnsuspend","summary":"Create Unsuspend Order","description":"Creates a draft order that will charge your balance and unsuspend this service when confirmed.","tags":["Service Billing"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}}}}}},"/services/{serviceType}/{serviceId}/limits":{"get":{"responses":{"200":{"anyOf":[{"type":"object","required":["cpu","networkIo","diskIo"],"properties":{"cpu":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false},"networkIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false},"diskIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false}}},{"type":"object","required":["diskIo"],"properties":{"diskIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false}}}],"content":{"application/json":{"schema":{"anyOf":[{"type":"object","required":["cpu","networkIo","diskIo"],"properties":{"cpu":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false},"networkIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false},"diskIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false}}},{"type":"object","required":["diskIo"],"properties":{"diskIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false}}}]}},"multipart/form-data":{"schema":{"anyOf":[{"type":"object","required":["cpu","networkIo","diskIo"],"properties":{"cpu":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false},"networkIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false},"diskIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false}}},{"type":"object","required":["diskIo"],"properties":{"diskIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false}}}]}},"text/plain":{"schema":{"anyOf":[{"type":"object","required":["cpu","networkIo","diskIo"],"properties":{"cpu":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false},"networkIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false},"diskIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false}}},{"type":"object","required":["diskIo"],"properties":{"diskIo":{"type":"object","required":["limit","force"],"properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"additionalProperties":false}}}]}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdLimits","summary":"Get Limits","description":"Returns the effective limits applied to the selected service.","tags":["Service Limits"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/limits/{type}":{"get":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"anyOf":[{"const":"cpu","type":"string"},{"const":"networkIo","type":"string"},{"const":"diskIo","type":"string"}]},"in":"path","name":"type","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"required":["limit","force"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"required":["limit","force"]}},"text/plain":{"schema":{"type":"object","properties":{"limit":{"anyOf":[{"type":"number"},{"type":"null"}]},"force":{"type":"boolean"}},"required":["limit","force"]}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdLimitsByType","summary":"Get Limit by Type","tags":["Service Limits"],"security":[{"Header Token":[]}]},"patch":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"anyOf":[{"const":"cpu","type":"string"},{"const":"networkIo","type":"string"},{"const":"diskIo","type":"string"}]},"in":"path","name":"type","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ServicesByServiceTypeByServiceIdLimitsByType","summary":"Set Limit by Type","tags":["Service Limits"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["limit"],"properties":{"limit":{"minimum":1,"type":"number"}}}},"multipart/form-data":{"schema":{"type":"object","required":["limit"],"properties":{"limit":{"minimum":1,"type":"number"}}}},"text/plain":{"schema":{"type":"object","required":["limit"],"properties":{"limit":{"minimum":1,"type":"number"}}}}}}},"delete":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"anyOf":[{"const":"cpu","type":"string"},{"const":"networkIo","type":"string"},{"const":"diskIo","type":"string"}]},"in":"path","name":"type","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2ServicesByServiceTypeByServiceIdLimitsByType","summary":"Clear Limit by Type","tags":["Service Limits"],"security":[{"Header Token":[]}]}},"/services/{serviceType}/{serviceId}":{"get":{"responses":{"200":{"anyOf":[{"type":"object","required":["id","kind","name","status","billing","activeTaskRef","placement","vmId"],"properties":{"id":{"type":"string"},"kind":{"const":"danbo","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"activeTaskRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"placement":{"type":"object","required":["datacenterId","nodeHostname","nodePort"],"properties":{"datacenterId":{"type":"string"},"nodeHostname":{"type":"string"},"nodePort":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}},"vmId":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"os":{"type":"string"}}},{"type":"object","required":["id","kind","name","recipeId","status","billing","activeTaskRef","placement"],"properties":{"id":{"type":"string"},"kind":{"const":"mesa","type":"string"},"name":{"type":"string"},"recipeId":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"activeTaskRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"ipv4Count":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}},{"type":"object","required":["id","kind","name","status","billing","placement","availability","attachment","gb"],"properties":{"id":{"type":"string"},"kind":{"const":"bricks","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"availability":{"type":"object","required":["state"],"properties":{"state":{"anyOf":[{"const":"online","type":"string"},{"const":"degraded","type":"string"},{"const":"offline","type":"string"},{"const":"cache-only","type":"string"},{"const":"checking","type":"string"}]},"reason":{"anyOf":[{"const":"storage_node_unreachable","type":"string"},{"const":"storage_unavailable","type":"string"},{"const":"vg_unavailable","type":"string"},{"const":"cache_full","type":"string"},{"const":"unknown","type":"string"}]},"checkedAt":{"type":"string"},"message":{"type":"string"}}},"attachment":{"anyOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string"},"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"}]}}},{"type":"null"}]},"gb":{"type":"number"}}}],"content":{"application/json":{"schema":{"anyOf":[{"type":"object","required":["id","kind","name","status","billing","activeTaskRef","placement","vmId"],"properties":{"id":{"type":"string"},"kind":{"const":"danbo","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"type":"integer"},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"type":"integer"}}}}}},"activeTaskRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"placement":{"type":"object","required":["datacenterId","nodeHostname","nodePort"],"properties":{"datacenterId":{"type":"string"},"nodeHostname":{"type":"string"},"nodePort":{"type":"integer"}}},"vmId":{"type":"integer"},"os":{"type":"string"}}},{"type":"object","required":["id","kind","name","recipeId","status","billing","activeTaskRef","placement"],"properties":{"id":{"type":"string"},"kind":{"const":"mesa","type":"string"},"name":{"type":"string"},"recipeId":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"type":"integer"},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"type":"integer"}}}}}},"activeTaskRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"ipv4Count":{"minimum":0,"type":"integer"}}},{"type":"object","required":["id","kind","name","status","billing","placement","availability","attachment","gb"],"properties":{"id":{"type":"string"},"kind":{"const":"bricks","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"type":"integer"},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"type":"integer"}}}}}},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"availability":{"type":"object","required":["state"],"properties":{"state":{"anyOf":[{"const":"online","type":"string"},{"const":"degraded","type":"string"},{"const":"offline","type":"string"},{"const":"cache-only","type":"string"},{"const":"checking","type":"string"}]},"reason":{"anyOf":[{"const":"storage_node_unreachable","type":"string"},{"const":"storage_unavailable","type":"string"},{"const":"vg_unavailable","type":"string"},{"const":"cache_full","type":"string"},{"const":"unknown","type":"string"}]},"checkedAt":{"type":"string"},"message":{"type":"string"}}},"attachment":{"anyOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string"},"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"}]}}},{"type":"null"}]},"gb":{"type":"number"}}}]}},"multipart/form-data":{"schema":{"anyOf":[{"type":"object","required":["id","kind","name","status","billing","activeTaskRef","placement","vmId"],"properties":{"id":{"type":"string"},"kind":{"const":"danbo","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"activeTaskRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"placement":{"type":"object","required":["datacenterId","nodeHostname","nodePort"],"properties":{"datacenterId":{"type":"string"},"nodeHostname":{"type":"string"},"nodePort":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}},"vmId":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"os":{"type":"string"}}},{"type":"object","required":["id","kind","name","recipeId","status","billing","activeTaskRef","placement"],"properties":{"id":{"type":"string"},"kind":{"const":"mesa","type":"string"},"name":{"type":"string"},"recipeId":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"activeTaskRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"ipv4Count":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}},{"type":"object","required":["id","kind","name","status","billing","placement","availability","attachment","gb"],"properties":{"id":{"type":"string"},"kind":{"const":"bricks","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"availability":{"type":"object","required":["state"],"properties":{"state":{"anyOf":[{"const":"online","type":"string"},{"const":"degraded","type":"string"},{"const":"offline","type":"string"},{"const":"cache-only","type":"string"},{"const":"checking","type":"string"}]},"reason":{"anyOf":[{"const":"storage_node_unreachable","type":"string"},{"const":"storage_unavailable","type":"string"},{"const":"vg_unavailable","type":"string"},{"const":"cache_full","type":"string"},{"const":"unknown","type":"string"}]},"checkedAt":{"type":"string"},"message":{"type":"string"}}},"attachment":{"anyOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string"},"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"}]}}},{"type":"null"}]},"gb":{"type":"number"}}}]}},"text/plain":{"schema":{"anyOf":[{"type":"object","required":["id","kind","name","status","billing","activeTaskRef","placement","vmId"],"properties":{"id":{"type":"string"},"kind":{"const":"danbo","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"activeTaskRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"placement":{"type":"object","required":["datacenterId","nodeHostname","nodePort"],"properties":{"datacenterId":{"type":"string"},"nodeHostname":{"type":"string"},"nodePort":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}},"vmId":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"os":{"type":"string"}}},{"type":"object","required":["id","kind","name","recipeId","status","billing","activeTaskRef","placement"],"properties":{"id":{"type":"string"},"kind":{"const":"mesa","type":"string"},"name":{"type":"string"},"recipeId":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"activeTaskRef":{"anyOf":[{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false},{"type":"null"}]},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"ipv4Count":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}}},{"type":"object","required":["id","kind","name","status","billing","placement","availability","attachment","gb"],"properties":{"id":{"type":"string"},"kind":{"const":"bricks","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"availability":{"type":"object","required":["state"],"properties":{"state":{"anyOf":[{"const":"online","type":"string"},{"const":"degraded","type":"string"},{"const":"offline","type":"string"},{"const":"cache-only","type":"string"},{"const":"checking","type":"string"}]},"reason":{"anyOf":[{"const":"storage_node_unreachable","type":"string"},{"const":"storage_unavailable","type":"string"},{"const":"vg_unavailable","type":"string"},{"const":"cache_full","type":"string"},{"const":"unknown","type":"string"}]},"checkedAt":{"type":"string"},"message":{"type":"string"}}},"attachment":{"anyOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string"},"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"}]}}},{"type":"null"}]},"gb":{"type":"number"}}}]}}}}},"operationId":"getV2ServicesByServiceTypeByServiceId","summary":"Get Service Details","description":"Returns the canonical database-backed details for the selected service.","tags":["Service Core"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]},"delete":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"deleteV2ServicesByServiceTypeByServiceId","summary":"Create Delete Order","description":"Creates a draft order for deleting the selected service. The order response contains the refund amount for the remaining paid time; confirm the order to execute the deletion.","tags":["Service Core"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}}}}},"patch":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ServicesByServiceTypeByServiceId","summary":"Update Service","description":"Updates the editable service metadata. Today, only the stored name is writable. For Danbo, renaming also sets the hostname inside the VM.","tags":["Service Core"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}}}}}},"/services/{serviceType}/{serviceId}/stats":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"}],"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"anyOf":[{"const":"hour","type":"string"},{"const":"day","type":"string"},{"const":"week","type":"string"},{"const":"month","type":"string"},{"const":"year","type":"string"}]},"in":"query","name":"timeframe","required":false},{"schema":{"anyOf":[{"const":"avg","type":"string"},{"const":"max","type":"string"}]},"in":"query","name":"aggregation","required":false}],"responses":{"200":{"items":{"type":"object","required":["cpu","netout","mem","memUsed","netin","diskwrite","diskread","time"],"properties":{"cpu":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netout":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"mem":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"memUsed":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netin":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskwrite":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskread":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"time":{"format":"date-time","type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["cpu","netout","mem","memUsed","netin","diskwrite","diskread","time"],"properties":{"cpu":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netout":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"mem":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"memUsed":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netin":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskwrite":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskread":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"time":{"format":"date-time","type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["cpu","netout","mem","memUsed","netin","diskwrite","diskread","time"],"properties":{"cpu":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netout":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"mem":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"memUsed":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netin":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskwrite":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskread":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"time":{"format":"date-time","type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["cpu","netout","mem","memUsed","netin","diskwrite","diskread","time"],"properties":{"cpu":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netout":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"mem":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"memUsed":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netin":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskwrite":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskread":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"time":{"format":"date-time","type":"string"}}}}},"text/csv":{"schema":{"type":"string","description":"CSV export"}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdStats","summary":"Get Usage Stats","description":"Returns historical resource usage samples for the selected VM service.","tags":["Service Core"],"security":[{"Header Token":[]}]}},"/services/{serviceType}/{serviceId}/ownershipTransfers":{"get":{"responses":{"200":{"nullable":true,"anyOf":[{"type":"object","required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"],"properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"createdAt":{"format":"date-time","type":"string"}}},{"type":"null"}],"content":{"application/json":{"schema":{"nullable":true,"anyOf":[{"type":"object","required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"],"properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"type":"integer"},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"type":"integer"},"createdAt":{"format":"date-time","type":"string"}}},{"type":"null"}]}},"multipart/form-data":{"schema":{"nullable":true,"anyOf":[{"type":"object","required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"],"properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"createdAt":{"format":"date-time","type":"string"}}},{"type":"null"}]}},"text/plain":{"schema":{"nullable":true,"anyOf":[{"type":"object","required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"],"properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"createdAt":{"format":"date-time","type":"string"}}},{"type":"null"}]}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdOwnershipTransfers","summary":"Get Pending Transfer","description":"Returns the active owner-initiated transfer request for this service, if one exists.","tags":["Service Ownership"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]},"put":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"type":"integer"},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"type":"integer"},"createdAt":{"format":"date-time","type":"string"}},"required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"createdAt":{"format":"date-time","type":"string"}},"required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"const":"pending","type":"string"},"serviceRef":{"type":"object","required":["kind","id"],"properties":{"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"},{"const":"bricks","type":"string"}]},"id":{"type":"string"}}},"name":{"type":"string"},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","suspended"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"suspended":{"type":"boolean"}}},"attachedBrickCount":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"createdAt":{"format":"date-time","type":"string"}},"required":["id","status","serviceRef","name","billing","attachedBrickCount","createdAt"]}}}}},"operationId":"putV2ServicesByServiceTypeByServiceIdOwnershipTransfers","summary":"Create Pending Transfer","description":"Creates a pending transfer request that the recipient must explicitly accept before ownership moves. Kyun responds after a short fixed delay and never confirms whether the recipient account currently exists.","tags":["Service Ownership"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey","destinationAccountHash"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"destinationAccountHash":{"minLength":1,"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey","destinationAccountHash"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"destinationAccountHash":{"minLength":1,"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey","destinationAccountHash"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"destinationAccountHash":{"minLength":1,"type":"string"}}}}}}},"delete":{"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2ServicesByServiceTypeByServiceIdOwnershipTransfers","summary":"Cancel Pending Transfer","description":"Cancels the currently pending transfer request for this service.","tags":["Service Ownership"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/specs/max":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"cores":{"minimum":0,"type":"integer"},"ram":{"minimum":0,"multipleOf":0.5,"type":"number"},"disk":{"minimum":0,"type":"integer"}},"required":["cores","ram","disk"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"cores":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"ram":{"minimum":0,"multipleOf":0.5,"type":"number"},"disk":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}},"required":["cores","ram","disk"]}},"text/plain":{"schema":{"type":"object","properties":{"cores":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]},"ram":{"minimum":0,"multipleOf":0.5,"type":"number"},"disk":{"minimum":0,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":0,"type":"integer"}]}},"required":["cores","ram","disk"]}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdSpecsMax","summary":"Get Maximum Upgrade","description":"Returns the largest specs this service can currently be upgraded to.","tags":["Service Core"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/specs":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"cores":{"minimum":1,"type":"integer"},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":1,"type":"integer"},"usage":{"type":"object","required":["available","cpuPercent","memPercent","memUsedBytes","memTotalBytes"],"properties":{"available":{"type":"boolean"},"cpuPercent":{"anyOf":[{"type":"number"},{"type":"null"}]},"memPercent":{"anyOf":[{"type":"number"},{"type":"null"}]},"memUsedBytes":{"anyOf":[{"type":"number"},{"type":"null"}]},"memTotalBytes":{"anyOf":[{"type":"number"},{"type":"null"}]}}}},"required":["cores","ram","disk"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"cores":{"minimum":1,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":1,"type":"integer"}]},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":1,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":1,"type":"integer"}]},"usage":{"type":"object","required":["available","cpuPercent","memPercent","memUsedBytes","memTotalBytes"],"properties":{"available":{"type":"boolean"},"cpuPercent":{"anyOf":[{"type":"number"},{"type":"null"}]},"memPercent":{"anyOf":[{"type":"number"},{"type":"null"}]},"memUsedBytes":{"anyOf":[{"type":"number"},{"type":"null"}]},"memTotalBytes":{"anyOf":[{"type":"number"},{"type":"null"}]}}}},"required":["cores","ram","disk"]}},"text/plain":{"schema":{"type":"object","properties":{"cores":{"minimum":1,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":1,"type":"integer"}]},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":1,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":1,"type":"integer"}]},"usage":{"type":"object","required":["available","cpuPercent","memPercent","memUsedBytes","memTotalBytes"],"properties":{"available":{"type":"boolean"},"cpuPercent":{"anyOf":[{"type":"number"},{"type":"null"}]},"memPercent":{"anyOf":[{"type":"number"},{"type":"null"}]},"memUsedBytes":{"anyOf":[{"type":"number"},{"type":"null"}]},"memTotalBytes":{"anyOf":[{"type":"number"},{"type":"null"}]}}}},"required":["cores","ram","disk"]}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdSpecs","summary":"Get Service Specs","description":"Returns the current specs for the selected VM service. Mesa responses also include live usage when available.","tags":["Service Core"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/resize":{"post":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdResize","summary":"Create Resize Order","description":"Creates a draft order for a billed specs change on the selected VM service.","tags":["Service Core"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["cores","ram","disk"],"properties":{"cores":{"minimum":1,"type":"integer"},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":1,"type":"integer"},"allowRestart":{"type":"boolean"}}}],"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["cores","ram","disk"],"properties":{"cores":{"minimum":1,"type":"integer"},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":1,"type":"integer"},"allowRestart":{"type":"boolean"}}}],"additionalProperties":false}},"text/plain":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["cores","ram","disk"],"properties":{"cores":{"minimum":1,"type":"integer"},"ram":{"minimum":0.5,"multipleOf":0.5,"type":"number"},"disk":{"minimum":1,"type":"integer"},"allowRestart":{"type":"boolean"}}}],"additionalProperties":false}}}}}},"/services/{serviceType}/{serviceId}/power/start":{"post":{"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"warnings":{"type":"array","items":{"type":"object","required":["kind","brickId","brickName","reason","message"],"properties":{"kind":{"const":"brick-detached","type":"string"},"brickId":{"type":"string"},"brickName":{"type":"string"},"reason":{"type":"string"},"message":{"type":"string"}}}}},"required":["warnings"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"warnings":{"type":"array","items":{"type":"object","required":["kind","brickId","brickName","reason","message"],"properties":{"kind":{"const":"brick-detached","type":"string"},"brickId":{"type":"string"},"brickName":{"type":"string"},"reason":{"type":"string"},"message":{"type":"string"}}}}},"required":["warnings"]}},"text/plain":{"schema":{"type":"object","properties":{"warnings":{"type":"array","items":{"type":"object","required":["kind","brickId","brickName","reason","message"],"properties":{"kind":{"const":"brick-detached","type":"string"},"brickId":{"type":"string"},"brickName":{"type":"string"},"reason":{"type":"string"},"message":{"type":"string"}}}}},"required":["warnings"]}}}},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdPowerStart","summary":"Start Service","tags":["Service Power"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/power/stop":{"post":{"responses":{"202":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdPowerStop","summary":"Force Stop Service","description":"Immediately powers off the selected VM service without asking the guest OS to shut down cleanly.","tags":["Service Power"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/power/shutdown":{"post":{"responses":{"202":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdPowerShutdown","summary":"Shut Down Service","description":"Asks the selected VM service guest OS to shut down cleanly.","tags":["Service Power"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/power/reboot":{"post":{"responses":{"202":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdPowerReboot","summary":"Reboot Service","tags":["Service Power"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/ips/v6":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"supported":{"type":"boolean"},"enabled":{"type":"boolean"},"subnet":{"type":"string"},"address":{"type":"string"},"gateway":{"type":"string"}},"required":["supported","enabled"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"supported":{"type":"boolean"},"enabled":{"type":"boolean"},"subnet":{"type":"string"},"address":{"type":"string"},"gateway":{"type":"string"}},"required":["supported","enabled"]}},"text/plain":{"schema":{"type":"object","properties":{"supported":{"type":"boolean"},"enabled":{"type":"boolean"},"subnet":{"type":"string"},"address":{"type":"string"},"gateway":{"type":"string"}},"required":["supported","enabled"]}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdIpsV6","summary":"Get IPv6 Settings","description":"Returns the IPv6 settings for the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]},"patch":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ServicesByServiceTypeByServiceIdIpsV6","summary":"Update IPv6 Settings","description":"Turns IPv6 support on or off for the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"}}}},"multipart/form-data":{"schema":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"}}}},"text/plain":{"schema":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"}}}}}}}},"/services/{serviceType}/{serviceId}/subdomains":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","name","domain","mode"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"},"ipv6":{"type":"string"}},"additionalProperties":false},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","name","domain","mode"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"},"ipv6":{"type":"string"}},"additionalProperties":false}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","name","domain","mode"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"},"ipv6":{"type":"string"}},"additionalProperties":false}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","name","domain","mode"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"},"ipv6":{"type":"string"}},"additionalProperties":false}}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdSubdomains","summary":"Get Subdomains","description":"Returns the managed subdomains currently assigned to the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]},"put":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"},"ipv6":{"type":"string"}},"required":["id","name","domain","mode"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"},"ipv6":{"type":"string"}},"required":["id","name","domain","mode"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"},"ipv6":{"type":"string"}},"required":["id","name","domain","mode"]}}}}},"operationId":"putV2ServicesByServiceTypeByServiceIdSubdomains","summary":"Create Subdomain","description":"Creates a managed subdomain for the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey","name","domain"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey","name","domain"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey","name","domain"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"name":{"type":"string"},"domain":{"type":"string"},"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"}},"additionalProperties":false}}}}}},"/services/{serviceType}/{serviceId}/subdomains/{subdomainId}":{"patch":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"subdomainId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ServicesByServiceTypeByServiceIdSubdomainsBySubdomainId","summary":"Update Subdomain","description":"Updates the address mode for a managed subdomain on the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["mode"],"properties":{"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["mode"],"properties":{"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["mode"],"properties":{"mode":{"anyOf":[{"const":"ipv4","type":"string"},{"const":"ipv6","type":"string"},{"const":"both","type":"string"}]},"ipv4":{"type":"string"}}}}}}},"delete":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"subdomainId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2ServicesByServiceTypeByServiceIdSubdomainsBySubdomainId","summary":"Delete Subdomain","description":"Deletes a managed subdomain from the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}]}},"/services/{serviceType}/{serviceId}/addIp":{"post":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdAddIp","summary":"Create IPv4 Address Order","description":"Creates a draft order that will allocate and assign a new IPv4 address to the selected VM service when confirmed.","tags":["Service Network"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}},"additionalProperties":false}}}}}},"/services/{serviceType}/{serviceId}/ips":{"get":{"responses":{"200":{"items":{"type":"object","required":["gateway","ip","price","primary"],"properties":{"gateway":{"type":"string"},"ip":{"type":"string"},"price":{"type":"number"},"primary":{"type":"boolean"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["gateway","ip","price","primary"],"properties":{"gateway":{"type":"string"},"ip":{"type":"string"},"price":{"type":"number"},"primary":{"type":"boolean"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["gateway","ip","price","primary"],"properties":{"gateway":{"type":"string"},"ip":{"type":"string"},"price":{"type":"number"},"primary":{"type":"boolean"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["gateway","ip","price","primary"],"properties":{"gateway":{"type":"string"},"ip":{"type":"string"},"price":{"type":"number"},"primary":{"type":"boolean"}}}}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdIps","summary":"Get IPv4 Addresses","description":"Returns the IPv4 addresses currently assigned to the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/ips/{ip}":{"delete":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"ip","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2ServicesByServiceTypeByServiceIdIpsByIp","summary":"Remove IPv4 Address","description":"Removes an assigned IPv4 address from the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}]},"patch":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"ip","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ServicesByServiceTypeByServiceIdIpsByIp","summary":"Set Primary IPv4 Address","description":"Marks one assigned IPv4 as the primary IPv4 for the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["primary"],"properties":{"primary":{"const":true,"type":"boolean"}}}},"multipart/form-data":{"schema":{"type":"object","required":["primary"],"properties":{"primary":{"const":true,"type":"boolean"}}}},"text/plain":{"schema":{"type":"object","required":["primary"],"properties":{"primary":{"const":true,"type":"boolean"}}}}}}}},"/services/{serviceType}/{serviceId}/ips/{ip}/rdns":{"get":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"ip","required":true}],"responses":{"200":{"items":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["hostname"],"properties":{"hostname":{"type":"string"}}}}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdIpsByIpRdns","summary":"Get rDNS Records","description":"Returns the reverse DNS hostnames configured for one IPv4 address on the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}]},"put":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"ip","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"putV2ServicesByServiceTypeByServiceIdIpsByIpRdns","summary":"Add rDNS Record","description":"Adds one reverse DNS hostname for an IPv4 address assigned to the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey","hostname"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"hostname":{"type":"string"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey","hostname"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"hostname":{"type":"string"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey","hostname"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"hostname":{"type":"string"}},"additionalProperties":false}}}}}},"/services/{serviceType}/{serviceId}/ips/{ip}/rdns/{hostname}":{"delete":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"ip","required":true},{"schema":{"type":"string"},"in":"path","name":"hostname","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2ServicesByServiceTypeByServiceIdIpsByIpRdnsByHostname","summary":"Remove rDNS Record","description":"Removes one reverse DNS hostname from an IPv4 address assigned to the selected VM service.","tags":["Service Network"],"security":[{"Header Token":[]}]}},"/services/{serviceType}/{serviceId}/bricks":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","kind","name","status","billing","placement","availability","attachment","gb"],"properties":{"id":{"type":"string"},"kind":{"const":"bricks","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"availability":{"type":"object","required":["state"],"properties":{"state":{"anyOf":[{"const":"online","type":"string"},{"const":"degraded","type":"string"},{"const":"offline","type":"string"},{"const":"cache-only","type":"string"},{"const":"checking","type":"string"}]},"reason":{"anyOf":[{"const":"storage_node_unreachable","type":"string"},{"const":"storage_unavailable","type":"string"},{"const":"vg_unavailable","type":"string"},{"const":"cache_full","type":"string"},{"const":"unknown","type":"string"}]},"checkedAt":{"type":"string"},"message":{"type":"string"}}},"attachment":{"anyOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string"},"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"}]}}},{"type":"null"}]},"gb":{"type":"number"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","kind","name","status","billing","placement","availability","attachment","gb"],"properties":{"id":{"type":"string"},"kind":{"const":"bricks","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"type":"integer"},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"type":"integer"}}}}}},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"availability":{"type":"object","required":["state"],"properties":{"state":{"anyOf":[{"const":"online","type":"string"},{"const":"degraded","type":"string"},{"const":"offline","type":"string"},{"const":"cache-only","type":"string"},{"const":"checking","type":"string"}]},"reason":{"anyOf":[{"const":"storage_node_unreachable","type":"string"},{"const":"storage_unavailable","type":"string"},{"const":"vg_unavailable","type":"string"},{"const":"cache_full","type":"string"},{"const":"unknown","type":"string"}]},"checkedAt":{"type":"string"},"message":{"type":"string"}}},"attachment":{"anyOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string"},"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"}]}}},{"type":"null"}]},"gb":{"type":"number"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","kind","name","status","billing","placement","availability","attachment","gb"],"properties":{"id":{"type":"string"},"kind":{"const":"bricks","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"availability":{"type":"object","required":["state"],"properties":{"state":{"anyOf":[{"const":"online","type":"string"},{"const":"degraded","type":"string"},{"const":"offline","type":"string"},{"const":"cache-only","type":"string"},{"const":"checking","type":"string"}]},"reason":{"anyOf":[{"const":"storage_node_unreachable","type":"string"},{"const":"storage_unavailable","type":"string"},{"const":"vg_unavailable","type":"string"},{"const":"cache_full","type":"string"},{"const":"unknown","type":"string"}]},"checkedAt":{"type":"string"},"message":{"type":"string"}}},"attachment":{"anyOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string"},"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"}]}}},{"type":"null"}]},"gb":{"type":"number"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","kind","name","status","billing","placement","availability","attachment","gb"],"properties":{"id":{"type":"string"},"kind":{"const":"bricks","type":"string"},"name":{"type":"string"},"status":{"anyOf":[{"const":"ready","type":"string"},{"const":"suspended","type":"string"}]},"billing":{"type":"object","required":["recurringPrice","nextRenewalAt","renewalState","canUnsuspend","suspendedAt","lineItems"],"properties":{"recurringPrice":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"nextRenewalAt":{"format":"date-time","type":"string"},"renewalState":{"anyOf":[{"const":"active","type":"string"},{"const":"cancelled","type":"string"}]},"canUnsuspend":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"suspendedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"lineItems":{"type":"array","items":{"type":"object","required":["kind","label","amount"],"properties":{"kind":{"type":"string"},"label":{"type":"string"},"amount":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}}}},"placement":{"type":"object","required":["datacenterId"],"properties":{"datacenterId":{"type":"string"}}},"availability":{"type":"object","required":["state"],"properties":{"state":{"anyOf":[{"const":"online","type":"string"},{"const":"degraded","type":"string"},{"const":"offline","type":"string"},{"const":"cache-only","type":"string"},{"const":"checking","type":"string"}]},"reason":{"anyOf":[{"const":"storage_node_unreachable","type":"string"},{"const":"storage_unavailable","type":"string"},{"const":"vg_unavailable","type":"string"},{"const":"cache_full","type":"string"},{"const":"unknown","type":"string"}]},"checkedAt":{"type":"string"},"message":{"type":"string"}}},"attachment":{"anyOf":[{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string"},"kind":{"anyOf":[{"const":"danbo","type":"string"},{"const":"mesa","type":"string"}]}}},{"type":"null"}]},"gb":{"type":"number"}}}}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdBricks","summary":"List Attached Bricks","description":"Returns the database-backed Brick summaries attached to the selected VM service.","tags":["Service Storage"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/bricks/{brickId}/attach":{"post":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"brickId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdBricksByBrickIdAttach","summary":"Attach Brick","tags":["Service Storage"],"security":[{"Header Token":[]}]}},"/services/{serviceType}/{serviceId}/bricks/{brickId}/detach":{"post":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"brickId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdBricksByBrickIdDetach","summary":"Detach Brick","tags":["Service Storage"],"security":[{"Header Token":[]}]}},"/services/{serviceType}/{serviceId}/tasks/history":{"get":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"number","minimum":1},"in":"query","name":"limit","required":false}],"responses":{"200":{"items":{"type":"object","required":["id","name","startedAt","finishedAt","params","vmId","kind","status","stageTree","failMessage"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"startedAt":{"format":"date-time","type":"string"},"finishedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"params":{"type":"string"},"vmId":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string"},"status":{"anyOf":[{"const":"queued","type":"string"},{"const":"failed","type":"string"},{"const":"cancelled","type":"string"},{"const":"cancelRequested","type":"string"},{"const":"running","type":"string"},{"const":"succeeded","type":"string"}]},"stageTree":{"anyOf":[{"type":"array","items":{"$id":"T0","type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"children":{"type":"array","items":{"$ref":"T0"}}}}},{"type":"null"}]},"failMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"stageStatuses":{"type":"object","patternProperties":{"^(.*)$":{"type":"object","required":["status"],"properties":{"status":{"anyOf":[{"const":"active","type":"string"},{"const":"completed","type":"string"},{"const":"failed","type":"string"}]},"progress":{"type":"number"},"error":{"type":"string"}}}}},"retry":{"type":"object","required":["actionLabel"],"properties":{"actionLabel":{"type":"string"},"description":{"type":"string"},"confirm":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"confirmLabel":{"type":"string"},"cancelLabel":{"type":"string"},"danger":{"type":"boolean"}}},"fields":{"type":"array","items":{"type":"object","required":["name","label","type","required"],"properties":{"name":{"type":"string"},"label":{"type":"string"},"type":{"anyOf":[{"const":"text","type":"string"},{"const":"password","type":"string"}]},"required":{"type":"boolean"},"description":{"type":"string"}}}}}}},"additionalProperties":false},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","name","startedAt","finishedAt","params","vmId","kind","status","stageTree","failMessage"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"startedAt":{"format":"date-time","type":"string"},"finishedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"params":{"type":"string"},"vmId":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string"},"status":{"anyOf":[{"const":"queued","type":"string"},{"const":"failed","type":"string"},{"const":"cancelled","type":"string"},{"const":"cancelRequested","type":"string"},{"const":"running","type":"string"},{"const":"succeeded","type":"string"}]},"stageTree":{"anyOf":[{"type":"array","items":{"$id":"T0","type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"children":{"type":"array","items":{"$ref":"T0"}}}}},{"type":"null"}]},"failMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"stageStatuses":{"type":"object","patternProperties":{"^(.*)$":{"type":"object","required":["status"],"properties":{"status":{"anyOf":[{"const":"active","type":"string"},{"const":"completed","type":"string"},{"const":"failed","type":"string"}]},"progress":{"type":"number"},"error":{"type":"string"}}}}},"retry":{"type":"object","required":["actionLabel"],"properties":{"actionLabel":{"type":"string"},"description":{"type":"string"},"confirm":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"confirmLabel":{"type":"string"},"cancelLabel":{"type":"string"},"danger":{"type":"boolean"}}},"fields":{"type":"array","items":{"type":"object","required":["name","label","type","required"],"properties":{"name":{"type":"string"},"label":{"type":"string"},"type":{"anyOf":[{"const":"text","type":"string"},{"const":"password","type":"string"}]},"required":{"type":"boolean"},"description":{"type":"string"}}}}}}},"additionalProperties":false}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","name","startedAt","finishedAt","params","vmId","kind","status","stageTree","failMessage"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"startedAt":{"format":"date-time","type":"string"},"finishedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"params":{"type":"string"},"vmId":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string"},"status":{"anyOf":[{"const":"queued","type":"string"},{"const":"failed","type":"string"},{"const":"cancelled","type":"string"},{"const":"cancelRequested","type":"string"},{"const":"running","type":"string"},{"const":"succeeded","type":"string"}]},"stageTree":{"anyOf":[{"type":"array","items":{"$id":"T0","type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"children":{"type":"array","items":{"$ref":"T0"}}}}},{"type":"null"}]},"failMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"stageStatuses":{"type":"object","patternProperties":{"^(.*)$":{"type":"object","required":["status"],"properties":{"status":{"anyOf":[{"const":"active","type":"string"},{"const":"completed","type":"string"},{"const":"failed","type":"string"}]},"progress":{"type":"number"},"error":{"type":"string"}}}}},"retry":{"type":"object","required":["actionLabel"],"properties":{"actionLabel":{"type":"string"},"description":{"type":"string"},"confirm":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"confirmLabel":{"type":"string"},"cancelLabel":{"type":"string"},"danger":{"type":"boolean"}}},"fields":{"type":"array","items":{"type":"object","required":["name","label","type","required"],"properties":{"name":{"type":"string"},"label":{"type":"string"},"type":{"anyOf":[{"const":"text","type":"string"},{"const":"password","type":"string"}]},"required":{"type":"boolean"},"description":{"type":"string"}}}}}}},"additionalProperties":false}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","name","startedAt","finishedAt","params","vmId","kind","status","stageTree","failMessage"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"startedAt":{"format":"date-time","type":"string"},"finishedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"params":{"type":"string"},"vmId":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string"},"status":{"anyOf":[{"const":"queued","type":"string"},{"const":"failed","type":"string"},{"const":"cancelled","type":"string"},{"const":"cancelRequested","type":"string"},{"const":"running","type":"string"},{"const":"succeeded","type":"string"}]},"stageTree":{"anyOf":[{"type":"array","items":{"$id":"T0","type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"children":{"type":"array","items":{"$ref":"T0"}}}}},{"type":"null"}]},"failMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"stageStatuses":{"type":"object","patternProperties":{"^(.*)$":{"type":"object","required":["status"],"properties":{"status":{"anyOf":[{"const":"active","type":"string"},{"const":"completed","type":"string"},{"const":"failed","type":"string"}]},"progress":{"type":"number"},"error":{"type":"string"}}}}},"retry":{"type":"object","required":["actionLabel"],"properties":{"actionLabel":{"type":"string"},"description":{"type":"string"},"confirm":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"confirmLabel":{"type":"string"},"cancelLabel":{"type":"string"},"danger":{"type":"boolean"}}},"fields":{"type":"array","items":{"type":"object","required":["name","label","type","required"],"properties":{"name":{"type":"string"},"label":{"type":"string"},"type":{"anyOf":[{"const":"text","type":"string"},{"const":"password","type":"string"}]},"required":{"type":"boolean"},"description":{"type":"string"}}}}}}},"additionalProperties":false}}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdTasksHistory","summary":"List Task History","description":"Returns active and retained guest-agent task snapshots for the selected VM service, newest first.","tags":["Service Tasks"],"security":[{"Header Token":[]}]}},"/services/{serviceType}/{serviceId}/tasks":{"get":{"responses":{"200":{"items":{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"additionalProperties":false}}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdTasks","summary":"List Active Tasks","description":"Returns task references for the currently active guest-agent tasks on the selected VM service.","tags":["Service Tasks"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true}]}},"/services/{serviceType}/{serviceId}/tasks/{taskId}":{"get":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"taskId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"startedAt":{"format":"date-time","type":"string"},"finishedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"params":{"type":"string"},"vmId":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string"},"status":{"anyOf":[{"const":"queued","type":"string"},{"const":"failed","type":"string"},{"const":"cancelled","type":"string"},{"const":"cancelRequested","type":"string"},{"const":"running","type":"string"},{"const":"succeeded","type":"string"}]},"stageTree":{"anyOf":[{"type":"array","items":{"$id":"T0","type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"children":{"type":"array","items":{"$ref":"T0"}}}}},{"type":"null"}]},"failMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"stageStatuses":{"type":"object","patternProperties":{"^(.*)$":{"type":"object","required":["status"],"properties":{"status":{"anyOf":[{"const":"active","type":"string"},{"const":"completed","type":"string"},{"const":"failed","type":"string"}]},"progress":{"type":"number"},"error":{"type":"string"}}}}},"retry":{"type":"object","required":["actionLabel"],"properties":{"actionLabel":{"type":"string"},"description":{"type":"string"},"confirm":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"confirmLabel":{"type":"string"},"cancelLabel":{"type":"string"},"danger":{"type":"boolean"}}},"fields":{"type":"array","items":{"type":"object","required":["name","label","type","required"],"properties":{"name":{"type":"string"},"label":{"type":"string"},"type":{"anyOf":[{"const":"text","type":"string"},{"const":"password","type":"string"}]},"required":{"type":"boolean"},"description":{"type":"string"}}}}}}},"required":["id","name","startedAt","finishedAt","params","vmId","kind","status","stageTree","failMessage"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"startedAt":{"format":"date-time","type":"string"},"finishedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"params":{"type":"string"},"vmId":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string"},"status":{"anyOf":[{"const":"queued","type":"string"},{"const":"failed","type":"string"},{"const":"cancelled","type":"string"},{"const":"cancelRequested","type":"string"},{"const":"running","type":"string"},{"const":"succeeded","type":"string"}]},"stageTree":{"anyOf":[{"type":"array","items":{"$id":"T0","type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"children":{"type":"array","items":{"$ref":"T0"}}}}},{"type":"null"}]},"failMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"stageStatuses":{"type":"object","patternProperties":{"^(.*)$":{"type":"object","required":["status"],"properties":{"status":{"anyOf":[{"const":"active","type":"string"},{"const":"completed","type":"string"},{"const":"failed","type":"string"}]},"progress":{"type":"number"},"error":{"type":"string"}}}}},"retry":{"type":"object","required":["actionLabel"],"properties":{"actionLabel":{"type":"string"},"description":{"type":"string"},"confirm":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"confirmLabel":{"type":"string"},"cancelLabel":{"type":"string"},"danger":{"type":"boolean"}}},"fields":{"type":"array","items":{"type":"object","required":["name","label","type","required"],"properties":{"name":{"type":"string"},"label":{"type":"string"},"type":{"anyOf":[{"const":"text","type":"string"},{"const":"password","type":"string"}]},"required":{"type":"boolean"},"description":{"type":"string"}}}}}}},"required":["id","name","startedAt","finishedAt","params","vmId","kind","status","stageTree","failMessage"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"startedAt":{"format":"date-time","type":"string"},"finishedAt":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}]},"params":{"type":"string"},"vmId":{"anyOf":[{"type":"string"},{"type":"null"}]},"kind":{"type":"string"},"status":{"anyOf":[{"const":"queued","type":"string"},{"const":"failed","type":"string"},{"const":"cancelled","type":"string"},{"const":"cancelRequested","type":"string"},{"const":"running","type":"string"},{"const":"succeeded","type":"string"}]},"stageTree":{"anyOf":[{"type":"array","items":{"$id":"T0","type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"children":{"type":"array","items":{"$ref":"T0"}}}}},{"type":"null"}]},"failMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"stageStatuses":{"type":"object","patternProperties":{"^(.*)$":{"type":"object","required":["status"],"properties":{"status":{"anyOf":[{"const":"active","type":"string"},{"const":"completed","type":"string"},{"const":"failed","type":"string"}]},"progress":{"type":"number"},"error":{"type":"string"}}}}},"retry":{"type":"object","required":["actionLabel"],"properties":{"actionLabel":{"type":"string"},"description":{"type":"string"},"confirm":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"confirmLabel":{"type":"string"},"cancelLabel":{"type":"string"},"danger":{"type":"boolean"}}},"fields":{"type":"array","items":{"type":"object","required":["name","label","type","required"],"properties":{"name":{"type":"string"},"label":{"type":"string"},"type":{"anyOf":[{"const":"text","type":"string"},{"const":"password","type":"string"}]},"required":{"type":"boolean"},"description":{"type":"string"}}}}}}},"required":["id","name","startedAt","finishedAt","params","vmId","kind","status","stageTree","failMessage"]}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdTasksByTaskId","summary":"Get Task State","description":"Returns the full current guest-agent task snapshot for this VM service.","tags":["Service Tasks"],"security":[{"Header Token":[]}]}},"/services/{serviceType}/{serviceId}/tasks/{taskId}/cancel":{"post":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"taskId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdTasksByTaskIdCancel","summary":"Cancel Task","description":"Requests cancellation for a guest-agent task on this VM service.","tags":["Service Tasks"],"security":[{"Header Token":[]}]}},"/services/{serviceType}/{serviceId}/tasks/{taskId}/stream":{"get":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"taskId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{}},"multipart/form-data":{"schema":{}},"text/plain":{"schema":{}}}}},"operationId":"getV2ServicesByServiceTypeByServiceIdTasksByTaskIdStream","summary":"Stream Task Updates","description":"Streams the current guest-agent task snapshot and live updates for this VM service using Server-Sent Events (SSE).","tags":["Service Tasks"],"security":[{"Header Token":[]}]}},"/services/{serviceType}/{serviceId}/tasks/{taskId}/retry":{"post":{"parameters":[{"schema":{"type":"string","enum":["danbo","mesa","bricks"]},"in":"path","name":"serviceType","required":true},{"schema":{"type":"string"},"in":"path","name":"serviceId","required":true},{"schema":{"type":"string"},"in":"path","name":"taskId","required":true}],"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesByServiceTypeByServiceIdTasksByTaskIdRetry","summary":"Retry Failed Task","description":"Starts a new guest-agent task for a failed retryable task on this VM service and returns the replacement task reference.","tags":["Service Tasks"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"values":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}}}},"multipart/form-data":{"schema":{"type":"object","properties":{"values":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}}}},"text/plain":{"schema":{"type":"object","properties":{"values":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}}}}}}}},"/services/bricks/{brickId}/usedSpace":{"get":{"responses":{"200":{"anyOf":[{"description":"Used Brick filesystem space in gigabytes.","type":"number"},{"description":"Returned when live Brick filesystem usage is temporarily unavailable.","type":"null"}],"content":{"application/json":{"schema":{"anyOf":[{"description":"Used Brick filesystem space in gigabytes.","type":"number"},{"description":"Returned when live Brick filesystem usage is temporarily unavailable.","type":"null"}]}},"multipart/form-data":{"schema":{"anyOf":[{"description":"Used Brick filesystem space in gigabytes.","type":"number"},{"description":"Returned when live Brick filesystem usage is temporarily unavailable.","type":"null"}]}},"text/plain":{"schema":{"anyOf":[{"description":"Used Brick filesystem space in gigabytes.","type":"number"},{"description":"Returned when live Brick filesystem usage is temporarily unavailable.","type":"null"}]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"getV2ServicesBricksByBrickIdUsedSpace","summary":"Get Used Space","description":"Returns live Brick filesystem usage in gigabytes from agent-side accounting when available.","tags":["Brick Capacity"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"brickId","required":true}]}},"/services/bricks/{brickId}/maxGrow":{"get":{"responses":{"200":{"description":"Additional Brick capacity available to buy in gigabytes.","content":{"application/json":{"schema":{"description":"Additional Brick capacity available to buy in gigabytes.","type":"number"}},"multipart/form-data":{"schema":{"description":"Additional Brick capacity available to buy in gigabytes.","type":"number"}},"text/plain":{"schema":{"description":"Additional Brick capacity available to buy in gigabytes.","type":"number"}}}}},"operationId":"getV2ServicesBricksByBrickIdMaxGrow","summary":"Get Maximum Grow Capacity","description":"Returns the maximum additional Brick capacity currently available from the storage node.","tags":["Brick Capacity"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"brickId","required":true}]}},"/services/bricks/{brickId}/grow":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"brickId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"order","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesBricksByBrickIdGrow","summary":"Create Grow Order","description":"Creates a draft order that will grow this Brick when confirmed.","tags":["Brick Capacity"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idempotencyKey","gb"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"gb":{"minimum":250,"type":"integer"}}}},"multipart/form-data":{"schema":{"type":"object","required":["idempotencyKey","gb"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"gb":{"minimum":250,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":250,"type":"integer"}]}}}},"text/plain":{"schema":{"type":"object","required":["idempotencyKey","gb"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"},"gb":{"minimum":250,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":250,"type":"integer"}]}}}}}}}},"/services/danbo/{danboId}/runtime":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"isRunning":{"type":"boolean"},"uptimeSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["available","isRunning","uptimeSeconds"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"isRunning":{"type":"boolean"},"uptimeSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["available","isRunning","uptimeSeconds"]}},"text/plain":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"isRunning":{"type":"boolean"},"uptimeSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["available","isRunning","uptimeSeconds"]}}}}},"operationId":"getV2ServicesDanboByDanboIdRuntime","summary":"Get Danbo Runtime","description":"Returns live Danbo reachability, power state, and uptime.","tags":["Danbo Power"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true}]}},"/services/danbo/{danboId}/operatingSystem":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"multipart/form-data":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"operationId":"getV2ServicesDanboByDanboIdOperatingSystem","summary":"Get Installed Operating System","description":"Returns the operating system label currently stored for this Danbo.","tags":["Danbo Core"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true}]}},"/services/danbo/{danboId}/hostKeys":{"get":{"responses":{"200":{"items":{"type":"object","required":["key","type"],"properties":{"key":{"type":"string"},"type":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["key","type"],"properties":{"key":{"type":"string"},"type":{"type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["key","type"],"properties":{"key":{"type":"string"},"type":{"type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["key","type"],"properties":{"key":{"type":"string"},"type":{"type":"string"}}}}}}}},"operationId":"getV2ServicesDanboByDanboIdHostKeys","summary":"Get SSH Host Keys","description":"Returns all SSH server keys exposed by the Danbo.","tags":["Danbo Access"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true}]}},"/services/danbo/{danboId}/authorizedKeys":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"multipart/form-data":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"operationId":"getV2ServicesDanboByDanboIdAuthorizedKeys","summary":"Get Authorized Keys","description":"Returns the newline-separated SSH authorized keys configured inside the guest.","tags":["Danbo Access"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true}]},"patch":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ServicesDanboByDanboIdAuthorizedKeys","summary":"Set Authorized Keys","description":"Replaces the newline-separated SSH authorized keys configured inside the guest.","tags":["Danbo Access"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["content"],"properties":{"content":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["content"],"properties":{"content":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["content"],"properties":{"content":{"type":"string"}}}}}}}},"/services/danbo/{danboId}/cloudInit":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true}],"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesDanboByDanboIdCloudInit","summary":"Start Cloud-Init Install","description":"Starts a Danbo cloud-init installation task on the node agent and returns a task reference.","tags":["Danbo Access"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["imageUrl"],"properties":{"imageUrl":{"type":"string"},"osName":{"type":"string"},"checksum":{"type":"object","required":["type","sum"],"properties":{"type":{"anyOf":[{"const":"sha256","type":"string"},{"const":"sha512","type":"string"},{"const":"sha1","type":"string"},{"const":"md5","type":"string"}]},"sum":{"type":"string"}}},"authorizedKeys":{"type":"string"}},"additionalProperties":false}},"multipart/form-data":{"schema":{"type":"object","required":["imageUrl"],"properties":{"imageUrl":{"type":"string"},"osName":{"type":"string"},"checksum":{"type":"object","required":["type","sum"],"properties":{"type":{"anyOf":[{"const":"sha256","type":"string"},{"const":"sha512","type":"string"},{"const":"sha1","type":"string"},{"const":"md5","type":"string"}]},"sum":{"type":"string"}}},"authorizedKeys":{"type":"string"}},"additionalProperties":false}},"text/plain":{"schema":{"type":"object","required":["imageUrl"],"properties":{"imageUrl":{"type":"string"},"osName":{"type":"string"},"checksum":{"type":"object","required":["type","sum"],"properties":{"type":{"anyOf":[{"const":"sha256","type":"string"},{"const":"sha512","type":"string"},{"const":"sha1","type":"string"},{"const":"md5","type":"string"}]},"sum":{"type":"string"}}},"authorizedKeys":{"type":"string"}},"additionalProperties":false}}}}}},"/services/danbo/{danboId}/createVncSession":{"post":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string"},"path":{"type":"string"}},"required":["password","path"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"password":{"type":"string"},"path":{"type":"string"}},"required":["password","path"]}},"text/plain":{"schema":{"type":"object","properties":{"password":{"type":"string"},"path":{"type":"string"}},"required":["password","path"]}}}}},"operationId":"postV2ServicesDanboByDanboIdCreateVncSession","summary":"Create VNC Session","description":"Creates a one-time direct VNC session for this Danbo. Open a VNC connection to the service node using the Danbo detail response's nodeHostname and nodePort, pass the returned password as the VNC password, and pass the returned path as the websocket path.","tags":["Danbo Access"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true}]}},"/services/danbo/{danboId}/cds":{"get":{"responses":{"200":{"items":{"type":"object","required":["slot","mounted","imageName"],"properties":{"slot":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"mounted":{"type":"boolean"},"imageName":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["slot","mounted","imageName"],"properties":{"slot":{"type":"integer"},"mounted":{"type":"boolean"},"imageName":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["slot","mounted","imageName"],"properties":{"slot":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"mounted":{"type":"boolean"},"imageName":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["slot","mounted","imageName"],"properties":{"slot":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"mounted":{"type":"boolean"},"imageName":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"operationId":"getV2ServicesDanboByDanboIdCds","summary":"Get CD Drives","description":"Returns the fixed CD drive slots for this Danbo, including whether each slot currently has ISO media mounted.","tags":["Danbo Media"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true}]}},"/services/danbo/{danboId}/cds/{slot}/unmount":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true},{"schema":{"minimum":1,"maximum":3,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":3,"type":"number"}]},"in":"path","name":"slot","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesDanboByDanboIdCdsBySlotUnmount","summary":"Unmount CD","description":"Unmounts the ISO from the selected CD drive slot.","tags":["Danbo Media"],"security":[{"Header Token":[]}]}},"/services/danbo/{danboId}/cds/{slot}":{"put":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true},{"schema":{"minimum":1,"maximum":3,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":3,"type":"number"}]},"in":"path","name":"slot","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"slot":{"type":"integer"},"mounted":{"type":"boolean"},"imageName":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["slot","mounted","imageName"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"slot":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"mounted":{"type":"boolean"},"imageName":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["slot","mounted","imageName"]}},"text/plain":{"schema":{"type":"object","properties":{"slot":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"mounted":{"type":"boolean"},"imageName":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["slot","mounted","imageName"]}}}}},"operationId":"putV2ServicesDanboByDanboIdCdsBySlot","summary":"Create CD Drive","description":"Creates an empty fixed CD drive slot on this Danbo.","tags":["Danbo Media"],"security":[{"Header Token":[]}]},"delete":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true},{"schema":{"minimum":1,"maximum":3,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":3,"type":"number"}]},"in":"path","name":"slot","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2ServicesDanboByDanboIdCdsBySlot","summary":"Delete CD Drive","description":"Deletes the selected CD drive slot and removes any mounted ISO from it.","tags":["Danbo Media"],"security":[{"Header Token":[]}]}},"/services/danbo/{danboId}/cds/{slot}/boot":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true},{"schema":{"minimum":1,"maximum":3,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":3,"type":"number"}]},"in":"path","name":"slot","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesDanboByDanboIdCdsBySlotBoot","summary":"Boot From CD Drive","description":"Starts the VM and boots from the selected mounted CD drive. If the VM is already running, it is stopped first.","tags":["Danbo Media"],"security":[{"Header Token":[]}]}},"/services/danbo/{danboId}/cds/{slot}/mountFromUrl":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true},{"schema":{"minimum":1,"maximum":3,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":3,"type":"number"}]},"in":"path","name":"slot","required":true}],"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesDanboByDanboIdCdsBySlotMountFromUrl","summary":"Download And Mount CD","description":"Starts a Danbo ISO download task from the provided URL, mounts it into the selected CD drive, and returns a task reference.","tags":["Danbo Media"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string"}}}}}}}},"/services/danbo/{danboId}/cds/{slot}/createUploadSession":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true},{"schema":{"minimum":1,"maximum":3,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":3,"type":"number"}]},"in":"path","name":"slot","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"uploadUrl":{"type":"string"}},"required":["uploadUrl"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"uploadUrl":{"type":"string"}},"required":["uploadUrl"]}},"text/plain":{"schema":{"type":"object","properties":{"uploadUrl":{"type":"string"}},"required":["uploadUrl"]}}}}},"operationId":"postV2ServicesDanboByDanboIdCdsBySlotCreateUploadSession","summary":"Create CD Upload Session","description":"Returns a one-time upload URL. POST the raw ISO bytes directly to uploadUrl and the node agent will mount the ISO into the selected CD drive after upload.","tags":["Danbo Media"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["fileName"],"properties":{"fileName":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["fileName"],"properties":{"fileName":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["fileName"],"properties":{"fileName":{"type":"string"}}}}}}}},"/services/danbo/{danboId}/cds/{slot}/prepareOsInstall":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"danboId","required":true},{"schema":{"minimum":1,"maximum":3,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":3,"type":"number"}]},"in":"path","name":"slot","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesDanboByDanboIdCdsBySlotPrepareOsInstall","summary":"Prepare OS Installation From Slot","description":"Deletes the current VM disk, then boots the Danbo with its hard disk first and the selected mounted CD drive second so the installer can run from the mounted ISO. Send the exact confirmation string in the request body to continue.","tags":["Danbo Media"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["confirm"],"properties":{"confirm":{"const":"DELETE DANBO DISK AND PREPARE OS INSTALL NOW","type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["confirm"],"properties":{"confirm":{"const":"DELETE DANBO DISK AND PREPARE OS INSTALL NOW","type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["confirm"],"properties":{"confirm":{"const":"DELETE DANBO DISK AND PREPARE OS INSTALL NOW","type":"string"}}}}}}}},"/services/mesa/{mesaId}/runtime":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"isRunning":{"type":"boolean"},"uptimeSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]},"phase":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"},{"const":"suspended","type":"string"}]},"containerHealth":{"type":"object","required":["total","running","monitored","healthy","unhealthy","checking"],"properties":{"total":{"type":"integer"},"running":{"type":"integer"},"monitored":{"type":"integer"},"healthy":{"type":"integer"},"unhealthy":{"type":"integer"},"checking":{"type":"integer"}}}},"required":["available","isRunning","uptimeSeconds","phase","containerHealth"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"isRunning":{"type":"boolean"},"uptimeSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]},"phase":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"},{"const":"suspended","type":"string"}]},"containerHealth":{"type":"object","required":["total","running","monitored","healthy","unhealthy","checking"],"properties":{"total":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"running":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"monitored":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"healthy":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"unhealthy":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"checking":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}},"required":["available","isRunning","uptimeSeconds","phase","containerHealth"]}},"text/plain":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"isRunning":{"type":"boolean"},"uptimeSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]},"phase":{"anyOf":[{"const":"unprovisioned","type":"string"},{"const":"provisioning","type":"string"},{"const":"ready","type":"string"},{"const":"failed","type":"string"},{"const":"suspended","type":"string"}]},"containerHealth":{"type":"object","required":["total","running","monitored","healthy","unhealthy","checking"],"properties":{"total":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"running":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"monitored":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"healthy":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"unhealthy":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]},"checking":{"anyOf":[{"format":"integer","default":0,"type":"string"},{"type":"integer"}]}}}},"required":["available","isRunning","uptimeSeconds","phase","containerHealth"]}}}}},"operationId":"getV2ServicesMesaByMesaIdRuntime","summary":"Get Mesa Runtime","description":"Returns live Mesa reachability, uptime, current phase, and container health summary.","tags":["Mesa Core"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}]}},"/services/mesa/{mesaId}/stack":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"schemaVersion":{"const":1,"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"storageBindings":{"type":"object","patternProperties":{"^[a-z0-9]+(?:-[a-z0-9]+)*$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"type":{"anyOf":[{"const":"dir","type":"string"},{"const":"file","type":"string"}]},"brickable":{"type":"boolean"}}}}},"parameterGroups":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string"}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]}}},"managedSecrets":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","properties":{"bytes":{"minimum":16,"maximum":128,"type":"integer"},"encoding":{"anyOf":[{"const":"hex","type":"string"},{"const":"base64url","type":"string"}]}}}}},"macros":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"}}}},"containers":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["displayName","registry","image","digest"],"properties":{"displayName":{"type":"string"},"registry":{"type":"string"},"image":{"type":"string"},"digest":{"pattern":"^@sha256:[a-f0-9]{64}$","type":"string"},"trackTag":{"type":"string"},"shmSizeMb":{"minimum":1,"type":"integer"},"entrypoint":{"type":"string"},"command":{"type":"array","items":{"minLength":1,"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"anyOf":[{"const":"AUDIT_CONTROL","type":"string"},{"const":"AUDIT_READ","type":"string"},{"const":"AUDIT_WRITE","type":"string"},{"const":"CHOWN","type":"string"},{"const":"DAC_OVERRIDE","type":"string"},{"const":"DAC_READ_SEARCH","type":"string"},{"const":"FOWNER","type":"string"},{"const":"FSETID","type":"string"},{"const":"IPC_LOCK","type":"string"},{"const":"IPC_OWNER","type":"string"},{"const":"KILL","type":"string"},{"const":"LEASE","type":"string"},{"const":"LINUX_IMMUTABLE","type":"string"},{"const":"MKNOD","type":"string"},{"const":"NET_ADMIN","type":"string"},{"const":"NET_BIND_SERVICE","type":"string"},{"const":"NET_BROADCAST","type":"string"},{"const":"NET_RAW","type":"string"},{"const":"SETFCAP","type":"string"},{"const":"SETGID","type":"string"},{"const":"SETPCAP","type":"string"},{"const":"SETUID","type":"string"},{"const":"SYS_ADMIN","type":"string"},{"const":"SYS_CHROOT","type":"string"},{"const":"SYS_NICE","type":"string"},{"const":"SYS_PTRACE","type":"string"},{"const":"SYS_RAWIO","type":"string"},{"const":"SYS_RESOURCE","type":"string"},{"const":"SYS_TIME","type":"string"},{"const":"SYSLOG","type":"string"}]}},"publishedPorts":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPort","protocol"],"properties":{"containerPort":{"minimum":1,"maximum":65535,"type":"integer"},"hostPort":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"publishedPortRanges":{"maxItems":20,"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPortStart","containerPortEnd","protocol"],"properties":{"containerPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"containerPortEnd":{"minimum":1,"maximum":65535,"type":"integer"},"hostPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"mounts":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["containerPath","bindingId"],"properties":{"containerPath":{"type":"string"},"bindingId":{"type":"string"},"subPath":{"type":"string"}}}}},"environment":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]},{"type":"array","items":{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]}}]}}},"secretFiles":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId","path"],"properties":{"secretId":{"type":"string"},"path":{"type":"string"}}}}},"secretEnvironment":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId"],"properties":{"secretId":{"type":"string"}}}}},"preconfigure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"configure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"healthcheck":{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"anyOf":[{"const":"http","type":"string"},{"const":"https","type":"string"},{"const":"tcp","type":"string"},{"const":"containerExec","type":"string"}]},"port":{"minimum":1,"maximum":65535,"type":"integer"},"path":{"type":"string"},"command":{"type":"array","items":{"type":"string"}},"intervalSeconds":{"type":"number"},"monitorIntervalMinutes":{"minimum":1,"type":"number"},"timeoutSeconds":{"type":"number"},"retries":{"type":"number"},"maxWaitSeconds":{"minimum":1,"type":"number"},"failureAction":{"anyOf":[{"const":"none","type":"string"},{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"}]},"skipInTesting":{"type":"boolean"}}}}}}},"params":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}},"required":["schemaVersion","containers"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"schemaVersion":{"const":1,"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"storageBindings":{"type":"object","patternProperties":{"^[a-z0-9]+(?:-[a-z0-9]+)*$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"type":{"anyOf":[{"const":"dir","type":"string"},{"const":"file","type":"string"}]},"brickable":{"type":"boolean"}}}}},"parameterGroups":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string"}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]}}},"managedSecrets":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","properties":{"bytes":{"minimum":16,"maximum":128,"type":"integer"},"encoding":{"anyOf":[{"const":"hex","type":"string"},{"const":"base64url","type":"string"}]}}}}},"macros":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"}}}},"containers":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["displayName","registry","image","digest"],"properties":{"displayName":{"type":"string"},"registry":{"type":"string"},"image":{"type":"string"},"digest":{"pattern":"^@sha256:[a-f0-9]{64}$","type":"string"},"trackTag":{"type":"string"},"shmSizeMb":{"minimum":1,"type":"integer"},"entrypoint":{"type":"string"},"command":{"type":"array","items":{"minLength":1,"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"anyOf":[{"const":"AUDIT_CONTROL","type":"string"},{"const":"AUDIT_READ","type":"string"},{"const":"AUDIT_WRITE","type":"string"},{"const":"CHOWN","type":"string"},{"const":"DAC_OVERRIDE","type":"string"},{"const":"DAC_READ_SEARCH","type":"string"},{"const":"FOWNER","type":"string"},{"const":"FSETID","type":"string"},{"const":"IPC_LOCK","type":"string"},{"const":"IPC_OWNER","type":"string"},{"const":"KILL","type":"string"},{"const":"LEASE","type":"string"},{"const":"LINUX_IMMUTABLE","type":"string"},{"const":"MKNOD","type":"string"},{"const":"NET_ADMIN","type":"string"},{"const":"NET_BIND_SERVICE","type":"string"},{"const":"NET_BROADCAST","type":"string"},{"const":"NET_RAW","type":"string"},{"const":"SETFCAP","type":"string"},{"const":"SETGID","type":"string"},{"const":"SETPCAP","type":"string"},{"const":"SETUID","type":"string"},{"const":"SYS_ADMIN","type":"string"},{"const":"SYS_CHROOT","type":"string"},{"const":"SYS_NICE","type":"string"},{"const":"SYS_PTRACE","type":"string"},{"const":"SYS_RAWIO","type":"string"},{"const":"SYS_RESOURCE","type":"string"},{"const":"SYS_TIME","type":"string"},{"const":"SYSLOG","type":"string"}]}},"publishedPorts":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPort","protocol"],"properties":{"containerPort":{"minimum":1,"maximum":65535,"type":"integer"},"hostPort":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"publishedPortRanges":{"maxItems":20,"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPortStart","containerPortEnd","protocol"],"properties":{"containerPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"containerPortEnd":{"minimum":1,"maximum":65535,"type":"integer"},"hostPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"mounts":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["containerPath","bindingId"],"properties":{"containerPath":{"type":"string"},"bindingId":{"type":"string"},"subPath":{"type":"string"}}}}},"environment":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]},{"type":"array","items":{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]}}]}}},"secretFiles":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId","path"],"properties":{"secretId":{"type":"string"},"path":{"type":"string"}}}}},"secretEnvironment":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId"],"properties":{"secretId":{"type":"string"}}}}},"preconfigure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"configure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"healthcheck":{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"anyOf":[{"const":"http","type":"string"},{"const":"https","type":"string"},{"const":"tcp","type":"string"},{"const":"containerExec","type":"string"}]},"port":{"minimum":1,"maximum":65535,"type":"integer"},"path":{"type":"string"},"command":{"type":"array","items":{"type":"string"}},"intervalSeconds":{"type":"number"},"monitorIntervalMinutes":{"minimum":1,"type":"number"},"timeoutSeconds":{"type":"number"},"retries":{"type":"number"},"maxWaitSeconds":{"minimum":1,"type":"number"},"failureAction":{"anyOf":[{"const":"none","type":"string"},{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"}]},"skipInTesting":{"type":"boolean"}}}}}}},"params":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}},"required":["schemaVersion","containers"]}},"text/plain":{"schema":{"type":"object","properties":{"schemaVersion":{"const":1,"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"storageBindings":{"type":"object","patternProperties":{"^[a-z0-9]+(?:-[a-z0-9]+)*$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"type":{"anyOf":[{"const":"dir","type":"string"},{"const":"file","type":"string"}]},"brickable":{"type":"boolean"}}}}},"parameterGroups":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string"}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]}}},"managedSecrets":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","properties":{"bytes":{"minimum":16,"maximum":128,"type":"integer"},"encoding":{"anyOf":[{"const":"hex","type":"string"},{"const":"base64url","type":"string"}]}}}}},"macros":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"}}}},"containers":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["displayName","registry","image","digest"],"properties":{"displayName":{"type":"string"},"registry":{"type":"string"},"image":{"type":"string"},"digest":{"pattern":"^@sha256:[a-f0-9]{64}$","type":"string"},"trackTag":{"type":"string"},"shmSizeMb":{"minimum":1,"type":"integer"},"entrypoint":{"type":"string"},"command":{"type":"array","items":{"minLength":1,"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"anyOf":[{"const":"AUDIT_CONTROL","type":"string"},{"const":"AUDIT_READ","type":"string"},{"const":"AUDIT_WRITE","type":"string"},{"const":"CHOWN","type":"string"},{"const":"DAC_OVERRIDE","type":"string"},{"const":"DAC_READ_SEARCH","type":"string"},{"const":"FOWNER","type":"string"},{"const":"FSETID","type":"string"},{"const":"IPC_LOCK","type":"string"},{"const":"IPC_OWNER","type":"string"},{"const":"KILL","type":"string"},{"const":"LEASE","type":"string"},{"const":"LINUX_IMMUTABLE","type":"string"},{"const":"MKNOD","type":"string"},{"const":"NET_ADMIN","type":"string"},{"const":"NET_BIND_SERVICE","type":"string"},{"const":"NET_BROADCAST","type":"string"},{"const":"NET_RAW","type":"string"},{"const":"SETFCAP","type":"string"},{"const":"SETGID","type":"string"},{"const":"SETPCAP","type":"string"},{"const":"SETUID","type":"string"},{"const":"SYS_ADMIN","type":"string"},{"const":"SYS_CHROOT","type":"string"},{"const":"SYS_NICE","type":"string"},{"const":"SYS_PTRACE","type":"string"},{"const":"SYS_RAWIO","type":"string"},{"const":"SYS_RESOURCE","type":"string"},{"const":"SYS_TIME","type":"string"},{"const":"SYSLOG","type":"string"}]}},"publishedPorts":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPort","protocol"],"properties":{"containerPort":{"minimum":1,"maximum":65535,"type":"integer"},"hostPort":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"publishedPortRanges":{"maxItems":20,"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPortStart","containerPortEnd","protocol"],"properties":{"containerPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"containerPortEnd":{"minimum":1,"maximum":65535,"type":"integer"},"hostPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"mounts":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["containerPath","bindingId"],"properties":{"containerPath":{"type":"string"},"bindingId":{"type":"string"},"subPath":{"type":"string"}}}}},"environment":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]},{"type":"array","items":{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]}}]}}},"secretFiles":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId","path"],"properties":{"secretId":{"type":"string"},"path":{"type":"string"}}}}},"secretEnvironment":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId"],"properties":{"secretId":{"type":"string"}}}}},"preconfigure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"configure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"healthcheck":{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"anyOf":[{"const":"http","type":"string"},{"const":"https","type":"string"},{"const":"tcp","type":"string"},{"const":"containerExec","type":"string"}]},"port":{"minimum":1,"maximum":65535,"type":"integer"},"path":{"type":"string"},"command":{"type":"array","items":{"type":"string"}},"intervalSeconds":{"type":"number"},"monitorIntervalMinutes":{"minimum":1,"type":"number"},"timeoutSeconds":{"type":"number"},"retries":{"type":"number"},"maxWaitSeconds":{"minimum":1,"type":"number"},"failureAction":{"anyOf":[{"const":"none","type":"string"},{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"}]},"skipInTesting":{"type":"boolean"}}}}}}},"params":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}},"required":["schemaVersion","containers"]}}}}},"operationId":"getV2ServicesMesaByMesaIdStack","summary":"Get Stack Configuration","description":"Returns the declared Mesa recipe stack configuration, including any saved parameters.","tags":["Mesa Core"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}]}},"/services/mesa/{mesaId}/configuration":{"get":{"responses":{"200":{"items":{"type":"object","required":["name","definition","mutable","missingValue"],"properties":{"name":{"type":"string"},"definition":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]},"currentValue":{"type":"string"},"mutable":{"type":"boolean"},"missingValue":{"type":"boolean"},"disabledReason":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["name","definition","mutable","missingValue"],"properties":{"name":{"type":"string"},"definition":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]},"currentValue":{"type":"string"},"mutable":{"type":"boolean"},"missingValue":{"type":"boolean"},"disabledReason":{"type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["name","definition","mutable","missingValue"],"properties":{"name":{"type":"string"},"definition":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]},"currentValue":{"type":"string"},"mutable":{"type":"boolean"},"missingValue":{"type":"boolean"},"disabledReason":{"type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["name","definition","mutable","missingValue"],"properties":{"name":{"type":"string"},"definition":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]},"currentValue":{"type":"string"},"mutable":{"type":"boolean"},"missingValue":{"type":"boolean"},"disabledReason":{"type":"string"}}}}}}}},"operationId":"getV2ServicesMesaByMesaIdConfiguration","summary":"Get Runtime Configuration","description":"Returns the recipe parameter definitions stored on this Mesa stack together with their current editable state.","tags":["Mesa Core"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}]}},"/services/mesa/{mesaId}/updateStack":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesMesaByMesaIdUpdateStack","summary":"Update Stack Configuration","description":"Starts a Mesa stack update task that applies recipe-backed container changes from the stored stack declaration.","tags":["Mesa Core"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["stack"],"properties":{"stack":{"additionalProperties":false,"type":"object","required":["schemaVersion","containers"],"properties":{"schemaVersion":{"const":1,"type":"number"},"storageBindings":{"type":"object","patternProperties":{"^[a-z0-9]+(?:-[a-z0-9]+)*$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"type":{"anyOf":[{"const":"dir","type":"string"},{"const":"file","type":"string"}]},"brickable":{"type":"boolean"}}}}},"parameterGroups":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string"}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]}}},"managedSecrets":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","properties":{"bytes":{"minimum":16,"maximum":128,"type":"integer"},"encoding":{"anyOf":[{"const":"hex","type":"string"},{"const":"base64url","type":"string"}]}}}}},"macros":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"}}}},"containers":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["displayName","registry","image","digest"],"properties":{"displayName":{"type":"string"},"registry":{"type":"string"},"image":{"type":"string"},"digest":{"pattern":"^@sha256:[a-f0-9]{64}$","type":"string"},"trackTag":{"type":"string"},"shmSizeMb":{"minimum":1,"type":"integer"},"entrypoint":{"type":"string"},"command":{"type":"array","items":{"minLength":1,"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"anyOf":[{"const":"AUDIT_CONTROL","type":"string"},{"const":"AUDIT_READ","type":"string"},{"const":"AUDIT_WRITE","type":"string"},{"const":"CHOWN","type":"string"},{"const":"DAC_OVERRIDE","type":"string"},{"const":"DAC_READ_SEARCH","type":"string"},{"const":"FOWNER","type":"string"},{"const":"FSETID","type":"string"},{"const":"IPC_LOCK","type":"string"},{"const":"IPC_OWNER","type":"string"},{"const":"KILL","type":"string"},{"const":"LEASE","type":"string"},{"const":"LINUX_IMMUTABLE","type":"string"},{"const":"MKNOD","type":"string"},{"const":"NET_ADMIN","type":"string"},{"const":"NET_BIND_SERVICE","type":"string"},{"const":"NET_BROADCAST","type":"string"},{"const":"NET_RAW","type":"string"},{"const":"SETFCAP","type":"string"},{"const":"SETGID","type":"string"},{"const":"SETPCAP","type":"string"},{"const":"SETUID","type":"string"},{"const":"SYS_ADMIN","type":"string"},{"const":"SYS_CHROOT","type":"string"},{"const":"SYS_NICE","type":"string"},{"const":"SYS_PTRACE","type":"string"},{"const":"SYS_RAWIO","type":"string"},{"const":"SYS_RESOURCE","type":"string"},{"const":"SYS_TIME","type":"string"},{"const":"SYSLOG","type":"string"}]}},"publishedPorts":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPort","protocol"],"properties":{"containerPort":{"minimum":1,"maximum":65535,"type":"integer"},"hostPort":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"publishedPortRanges":{"maxItems":20,"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPortStart","containerPortEnd","protocol"],"properties":{"containerPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"containerPortEnd":{"minimum":1,"maximum":65535,"type":"integer"},"hostPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"mounts":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["containerPath","bindingId"],"properties":{"containerPath":{"type":"string"},"bindingId":{"type":"string"},"subPath":{"type":"string"}}}}},"environment":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]},{"type":"array","items":{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]}}]}}},"secretFiles":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId","path"],"properties":{"secretId":{"type":"string"},"path":{"type":"string"}}}}},"secretEnvironment":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId"],"properties":{"secretId":{"type":"string"}}}}},"preconfigure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"configure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"healthcheck":{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"anyOf":[{"const":"http","type":"string"},{"const":"https","type":"string"},{"const":"tcp","type":"string"},{"const":"containerExec","type":"string"}]},"port":{"minimum":1,"maximum":65535,"type":"integer"},"path":{"type":"string"},"command":{"type":"array","items":{"type":"string"}},"intervalSeconds":{"type":"number"},"monitorIntervalMinutes":{"minimum":1,"type":"number"},"timeoutSeconds":{"type":"number"},"retries":{"type":"number"},"maxWaitSeconds":{"minimum":1,"type":"number"},"failureAction":{"anyOf":[{"const":"none","type":"string"},{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"}]},"skipInTesting":{"type":"boolean"}}}}}}}}},"brickBindings":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}}}},"multipart/form-data":{"schema":{"type":"object","required":["stack"],"properties":{"stack":{"additionalProperties":false,"type":"object","required":["schemaVersion","containers"],"properties":{"schemaVersion":{"const":1,"type":"number"},"storageBindings":{"type":"object","patternProperties":{"^[a-z0-9]+(?:-[a-z0-9]+)*$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"type":{"anyOf":[{"const":"dir","type":"string"},{"const":"file","type":"string"}]},"brickable":{"type":"boolean"}}}}},"parameterGroups":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string"}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]}}},"managedSecrets":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","properties":{"bytes":{"minimum":16,"maximum":128,"type":"integer"},"encoding":{"anyOf":[{"const":"hex","type":"string"},{"const":"base64url","type":"string"}]}}}}},"macros":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"}}}},"containers":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["displayName","registry","image","digest"],"properties":{"displayName":{"type":"string"},"registry":{"type":"string"},"image":{"type":"string"},"digest":{"pattern":"^@sha256:[a-f0-9]{64}$","type":"string"},"trackTag":{"type":"string"},"shmSizeMb":{"minimum":1,"type":"integer"},"entrypoint":{"type":"string"},"command":{"type":"array","items":{"minLength":1,"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"anyOf":[{"const":"AUDIT_CONTROL","type":"string"},{"const":"AUDIT_READ","type":"string"},{"const":"AUDIT_WRITE","type":"string"},{"const":"CHOWN","type":"string"},{"const":"DAC_OVERRIDE","type":"string"},{"const":"DAC_READ_SEARCH","type":"string"},{"const":"FOWNER","type":"string"},{"const":"FSETID","type":"string"},{"const":"IPC_LOCK","type":"string"},{"const":"IPC_OWNER","type":"string"},{"const":"KILL","type":"string"},{"const":"LEASE","type":"string"},{"const":"LINUX_IMMUTABLE","type":"string"},{"const":"MKNOD","type":"string"},{"const":"NET_ADMIN","type":"string"},{"const":"NET_BIND_SERVICE","type":"string"},{"const":"NET_BROADCAST","type":"string"},{"const":"NET_RAW","type":"string"},{"const":"SETFCAP","type":"string"},{"const":"SETGID","type":"string"},{"const":"SETPCAP","type":"string"},{"const":"SETUID","type":"string"},{"const":"SYS_ADMIN","type":"string"},{"const":"SYS_CHROOT","type":"string"},{"const":"SYS_NICE","type":"string"},{"const":"SYS_PTRACE","type":"string"},{"const":"SYS_RAWIO","type":"string"},{"const":"SYS_RESOURCE","type":"string"},{"const":"SYS_TIME","type":"string"},{"const":"SYSLOG","type":"string"}]}},"publishedPorts":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPort","protocol"],"properties":{"containerPort":{"minimum":1,"maximum":65535,"type":"integer"},"hostPort":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"publishedPortRanges":{"maxItems":20,"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPortStart","containerPortEnd","protocol"],"properties":{"containerPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"containerPortEnd":{"minimum":1,"maximum":65535,"type":"integer"},"hostPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"mounts":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["containerPath","bindingId"],"properties":{"containerPath":{"type":"string"},"bindingId":{"type":"string"},"subPath":{"type":"string"}}}}},"environment":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]},{"type":"array","items":{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]}}]}}},"secretFiles":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId","path"],"properties":{"secretId":{"type":"string"},"path":{"type":"string"}}}}},"secretEnvironment":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId"],"properties":{"secretId":{"type":"string"}}}}},"preconfigure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"configure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"healthcheck":{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"anyOf":[{"const":"http","type":"string"},{"const":"https","type":"string"},{"const":"tcp","type":"string"},{"const":"containerExec","type":"string"}]},"port":{"minimum":1,"maximum":65535,"type":"integer"},"path":{"type":"string"},"command":{"type":"array","items":{"type":"string"}},"intervalSeconds":{"type":"number"},"monitorIntervalMinutes":{"minimum":1,"type":"number"},"timeoutSeconds":{"type":"number"},"retries":{"type":"number"},"maxWaitSeconds":{"minimum":1,"type":"number"},"failureAction":{"anyOf":[{"const":"none","type":"string"},{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"}]},"skipInTesting":{"type":"boolean"}}}}}}}}},"brickBindings":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}}}},"text/plain":{"schema":{"type":"object","required":["stack"],"properties":{"stack":{"additionalProperties":false,"type":"object","required":["schemaVersion","containers"],"properties":{"schemaVersion":{"const":1,"type":"number"},"storageBindings":{"type":"object","patternProperties":{"^[a-z0-9]+(?:-[a-z0-9]+)*$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"type":{"anyOf":[{"const":"dir","type":"string"},{"const":"file","type":"string"}]},"brickable":{"type":"boolean"}}}}},"parameterGroups":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string"}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]}}},"managedSecrets":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","properties":{"bytes":{"minimum":16,"maximum":128,"type":"integer"},"encoding":{"anyOf":[{"const":"hex","type":"string"},{"const":"base64url","type":"string"}]}}}}},"macros":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"}}}},"containers":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["displayName","registry","image","digest"],"properties":{"displayName":{"type":"string"},"registry":{"type":"string"},"image":{"type":"string"},"digest":{"pattern":"^@sha256:[a-f0-9]{64}$","type":"string"},"trackTag":{"type":"string"},"shmSizeMb":{"minimum":1,"type":"integer"},"entrypoint":{"type":"string"},"command":{"type":"array","items":{"minLength":1,"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"anyOf":[{"const":"AUDIT_CONTROL","type":"string"},{"const":"AUDIT_READ","type":"string"},{"const":"AUDIT_WRITE","type":"string"},{"const":"CHOWN","type":"string"},{"const":"DAC_OVERRIDE","type":"string"},{"const":"DAC_READ_SEARCH","type":"string"},{"const":"FOWNER","type":"string"},{"const":"FSETID","type":"string"},{"const":"IPC_LOCK","type":"string"},{"const":"IPC_OWNER","type":"string"},{"const":"KILL","type":"string"},{"const":"LEASE","type":"string"},{"const":"LINUX_IMMUTABLE","type":"string"},{"const":"MKNOD","type":"string"},{"const":"NET_ADMIN","type":"string"},{"const":"NET_BIND_SERVICE","type":"string"},{"const":"NET_BROADCAST","type":"string"},{"const":"NET_RAW","type":"string"},{"const":"SETFCAP","type":"string"},{"const":"SETGID","type":"string"},{"const":"SETPCAP","type":"string"},{"const":"SETUID","type":"string"},{"const":"SYS_ADMIN","type":"string"},{"const":"SYS_CHROOT","type":"string"},{"const":"SYS_NICE","type":"string"},{"const":"SYS_PTRACE","type":"string"},{"const":"SYS_RAWIO","type":"string"},{"const":"SYS_RESOURCE","type":"string"},{"const":"SYS_TIME","type":"string"},{"const":"SYSLOG","type":"string"}]}},"publishedPorts":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPort","protocol"],"properties":{"containerPort":{"minimum":1,"maximum":65535,"type":"integer"},"hostPort":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"publishedPortRanges":{"maxItems":20,"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPortStart","containerPortEnd","protocol"],"properties":{"containerPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"containerPortEnd":{"minimum":1,"maximum":65535,"type":"integer"},"hostPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"mounts":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["containerPath","bindingId"],"properties":{"containerPath":{"type":"string"},"bindingId":{"type":"string"},"subPath":{"type":"string"}}}}},"environment":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]},{"type":"array","items":{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]}}]}}},"secretFiles":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId","path"],"properties":{"secretId":{"type":"string"},"path":{"type":"string"}}}}},"secretEnvironment":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId"],"properties":{"secretId":{"type":"string"}}}}},"preconfigure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"configure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"healthcheck":{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"anyOf":[{"const":"http","type":"string"},{"const":"https","type":"string"},{"const":"tcp","type":"string"},{"const":"containerExec","type":"string"}]},"port":{"minimum":1,"maximum":65535,"type":"integer"},"path":{"type":"string"},"command":{"type":"array","items":{"type":"string"}},"intervalSeconds":{"type":"number"},"monitorIntervalMinutes":{"minimum":1,"type":"number"},"timeoutSeconds":{"type":"number"},"retries":{"type":"number"},"maxWaitSeconds":{"minimum":1,"type":"number"},"failureAction":{"anyOf":[{"const":"none","type":"string"},{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"}]},"skipInTesting":{"type":"boolean"}}}}}}}}},"brickBindings":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}}}}}}}},"/services/mesa/{mesaId}/updateConfiguration":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesMesaByMesaIdUpdateConfiguration","summary":"Update Runtime Configuration","description":"Starts a Mesa configuration task for stored recipe parameters and reapplies them by recreating the stack containers.","tags":["Mesa Core"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}}}}}},"/services/mesa/{mesaId}/provision":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}],"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesMesaByMesaIdProvision","summary":"Provision Mesa Stack","description":"Stores the initial Mesa stack and starts provisioning when a stack payload is provided. Otherwise retries provisioning using the saved stack and any transient password values passed for this run.","tags":["Mesa Core"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"recipeId":{"type":"string"},"stack":{"additionalProperties":false,"type":"object","required":["schemaVersion","containers"],"properties":{"schemaVersion":{"const":1,"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"storageBindings":{"type":"object","patternProperties":{"^[a-z0-9]+(?:-[a-z0-9]+)*$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"type":{"anyOf":[{"const":"dir","type":"string"},{"const":"file","type":"string"}]},"brickable":{"type":"boolean"}}}}},"parameterGroups":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string"}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]}}},"managedSecrets":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","properties":{"bytes":{"minimum":16,"maximum":128,"type":"integer"},"encoding":{"anyOf":[{"const":"hex","type":"string"},{"const":"base64url","type":"string"}]}}}}},"macros":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"}}}},"containers":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["displayName","registry","image","digest"],"properties":{"displayName":{"type":"string"},"registry":{"type":"string"},"image":{"type":"string"},"digest":{"pattern":"^@sha256:[a-f0-9]{64}$","type":"string"},"trackTag":{"type":"string"},"shmSizeMb":{"minimum":1,"type":"integer"},"entrypoint":{"type":"string"},"command":{"type":"array","items":{"minLength":1,"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"anyOf":[{"const":"AUDIT_CONTROL","type":"string"},{"const":"AUDIT_READ","type":"string"},{"const":"AUDIT_WRITE","type":"string"},{"const":"CHOWN","type":"string"},{"const":"DAC_OVERRIDE","type":"string"},{"const":"DAC_READ_SEARCH","type":"string"},{"const":"FOWNER","type":"string"},{"const":"FSETID","type":"string"},{"const":"IPC_LOCK","type":"string"},{"const":"IPC_OWNER","type":"string"},{"const":"KILL","type":"string"},{"const":"LEASE","type":"string"},{"const":"LINUX_IMMUTABLE","type":"string"},{"const":"MKNOD","type":"string"},{"const":"NET_ADMIN","type":"string"},{"const":"NET_BIND_SERVICE","type":"string"},{"const":"NET_BROADCAST","type":"string"},{"const":"NET_RAW","type":"string"},{"const":"SETFCAP","type":"string"},{"const":"SETGID","type":"string"},{"const":"SETPCAP","type":"string"},{"const":"SETUID","type":"string"},{"const":"SYS_ADMIN","type":"string"},{"const":"SYS_CHROOT","type":"string"},{"const":"SYS_NICE","type":"string"},{"const":"SYS_PTRACE","type":"string"},{"const":"SYS_RAWIO","type":"string"},{"const":"SYS_RESOURCE","type":"string"},{"const":"SYS_TIME","type":"string"},{"const":"SYSLOG","type":"string"}]}},"publishedPorts":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPort","protocol"],"properties":{"containerPort":{"minimum":1,"maximum":65535,"type":"integer"},"hostPort":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"publishedPortRanges":{"maxItems":20,"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPortStart","containerPortEnd","protocol"],"properties":{"containerPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"containerPortEnd":{"minimum":1,"maximum":65535,"type":"integer"},"hostPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"mounts":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["containerPath","bindingId"],"properties":{"containerPath":{"type":"string"},"bindingId":{"type":"string"},"subPath":{"type":"string"}}}}},"environment":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]},{"type":"array","items":{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]}}]}}},"secretFiles":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId","path"],"properties":{"secretId":{"type":"string"},"path":{"type":"string"}}}}},"secretEnvironment":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId"],"properties":{"secretId":{"type":"string"}}}}},"preconfigure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"configure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"healthcheck":{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"anyOf":[{"const":"http","type":"string"},{"const":"https","type":"string"},{"const":"tcp","type":"string"},{"const":"containerExec","type":"string"}]},"port":{"minimum":1,"maximum":65535,"type":"integer"},"path":{"type":"string"},"command":{"type":"array","items":{"type":"string"}},"intervalSeconds":{"type":"number"},"monitorIntervalMinutes":{"minimum":1,"type":"number"},"timeoutSeconds":{"type":"number"},"retries":{"type":"number"},"maxWaitSeconds":{"minimum":1,"type":"number"},"failureAction":{"anyOf":[{"const":"none","type":"string"},{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"}]},"skipInTesting":{"type":"boolean"}}}}}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}},"requireUnattachedBricks":{"type":"boolean"},"domainSelections":{"type":"object","patternProperties":{"^(.*)$":{"type":"object","required":["mode","hostname"],"properties":{"mode":{"anyOf":[{"const":"permalink","type":"string"},{"const":"managed","type":"string"},{"const":"external","type":"string"}]},"hostname":{"type":"string"},"managedDomain":{"type":"string"},"managedSubdomain":{"type":"string"}}}}},"bricks":{"maxItems":10,"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"bindingIds":{"maxItems":10,"type":"array","items":{"type":"string"}}}}},"passwordValues":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}}}},"multipart/form-data":{"schema":{"type":"object","properties":{"recipeId":{"type":"string"},"stack":{"additionalProperties":false,"type":"object","required":["schemaVersion","containers"],"properties":{"schemaVersion":{"const":1,"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"storageBindings":{"type":"object","patternProperties":{"^[a-z0-9]+(?:-[a-z0-9]+)*$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"type":{"anyOf":[{"const":"dir","type":"string"},{"const":"file","type":"string"}]},"brickable":{"type":"boolean"}}}}},"parameterGroups":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string"}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]}}},"managedSecrets":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","properties":{"bytes":{"minimum":16,"maximum":128,"type":"integer"},"encoding":{"anyOf":[{"const":"hex","type":"string"},{"const":"base64url","type":"string"}]}}}}},"macros":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"}}}},"containers":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["displayName","registry","image","digest"],"properties":{"displayName":{"type":"string"},"registry":{"type":"string"},"image":{"type":"string"},"digest":{"pattern":"^@sha256:[a-f0-9]{64}$","type":"string"},"trackTag":{"type":"string"},"shmSizeMb":{"minimum":1,"type":"integer"},"entrypoint":{"type":"string"},"command":{"type":"array","items":{"minLength":1,"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"anyOf":[{"const":"AUDIT_CONTROL","type":"string"},{"const":"AUDIT_READ","type":"string"},{"const":"AUDIT_WRITE","type":"string"},{"const":"CHOWN","type":"string"},{"const":"DAC_OVERRIDE","type":"string"},{"const":"DAC_READ_SEARCH","type":"string"},{"const":"FOWNER","type":"string"},{"const":"FSETID","type":"string"},{"const":"IPC_LOCK","type":"string"},{"const":"IPC_OWNER","type":"string"},{"const":"KILL","type":"string"},{"const":"LEASE","type":"string"},{"const":"LINUX_IMMUTABLE","type":"string"},{"const":"MKNOD","type":"string"},{"const":"NET_ADMIN","type":"string"},{"const":"NET_BIND_SERVICE","type":"string"},{"const":"NET_BROADCAST","type":"string"},{"const":"NET_RAW","type":"string"},{"const":"SETFCAP","type":"string"},{"const":"SETGID","type":"string"},{"const":"SETPCAP","type":"string"},{"const":"SETUID","type":"string"},{"const":"SYS_ADMIN","type":"string"},{"const":"SYS_CHROOT","type":"string"},{"const":"SYS_NICE","type":"string"},{"const":"SYS_PTRACE","type":"string"},{"const":"SYS_RAWIO","type":"string"},{"const":"SYS_RESOURCE","type":"string"},{"const":"SYS_TIME","type":"string"},{"const":"SYSLOG","type":"string"}]}},"publishedPorts":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPort","protocol"],"properties":{"containerPort":{"minimum":1,"maximum":65535,"type":"integer"},"hostPort":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"publishedPortRanges":{"maxItems":20,"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPortStart","containerPortEnd","protocol"],"properties":{"containerPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"containerPortEnd":{"minimum":1,"maximum":65535,"type":"integer"},"hostPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"mounts":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["containerPath","bindingId"],"properties":{"containerPath":{"type":"string"},"bindingId":{"type":"string"},"subPath":{"type":"string"}}}}},"environment":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]},{"type":"array","items":{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]}}]}}},"secretFiles":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId","path"],"properties":{"secretId":{"type":"string"},"path":{"type":"string"}}}}},"secretEnvironment":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId"],"properties":{"secretId":{"type":"string"}}}}},"preconfigure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"configure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"healthcheck":{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"anyOf":[{"const":"http","type":"string"},{"const":"https","type":"string"},{"const":"tcp","type":"string"},{"const":"containerExec","type":"string"}]},"port":{"minimum":1,"maximum":65535,"type":"integer"},"path":{"type":"string"},"command":{"type":"array","items":{"type":"string"}},"intervalSeconds":{"type":"number"},"monitorIntervalMinutes":{"minimum":1,"type":"number"},"timeoutSeconds":{"type":"number"},"retries":{"type":"number"},"maxWaitSeconds":{"minimum":1,"type":"number"},"failureAction":{"anyOf":[{"const":"none","type":"string"},{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"}]},"skipInTesting":{"type":"boolean"}}}}}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}},"requireUnattachedBricks":{"type":"boolean"},"domainSelections":{"type":"object","patternProperties":{"^(.*)$":{"type":"object","required":["mode","hostname"],"properties":{"mode":{"anyOf":[{"const":"permalink","type":"string"},{"const":"managed","type":"string"},{"const":"external","type":"string"}]},"hostname":{"type":"string"},"managedDomain":{"type":"string"},"managedSubdomain":{"type":"string"}}}}},"bricks":{"maxItems":10,"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"bindingIds":{"maxItems":10,"type":"array","items":{"type":"string"}}}}},"passwordValues":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}}}},"text/plain":{"schema":{"type":"object","properties":{"recipeId":{"type":"string"},"stack":{"additionalProperties":false,"type":"object","required":["schemaVersion","containers"],"properties":{"schemaVersion":{"const":1,"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"storageBindings":{"type":"object","patternProperties":{"^[a-z0-9]+(?:-[a-z0-9]+)*$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"type":{"anyOf":[{"const":"dir","type":"string"},{"const":"file","type":"string"}]},"brickable":{"type":"boolean"}}}}},"parameterGroups":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["title"],"properties":{"title":{"type":"string"},"description":{"type":"string"}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"anyOf":[{"const":"string","type":"string"},{"const":"email","type":"string"},{"const":"url","type":"string"},{"const":"password","type":"string"},{"const":"domain","type":"string"}]},"default":{"type":"string"},"example":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"number","type":"string"},"default":{"type":"string"},"validation":{"additionalProperties":false,"type":"object","properties":{"regex":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"message":{"type":"string"}}}}},{"additionalProperties":false,"type":"object","required":["title","type"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"boolean","type":"string"},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","options"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"select","type":"string"},"options":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["value","label"],"properties":{"value":{"type":"string"},"label":{"type":"string"}}}},"default":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["title","type","elementType"],"properties":{"title":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"},"requiredWhen":{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"equals":{"type":"string"}}},"group":{"type":"string"},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"type":{"const":"list","type":"string"},"elementType":{"anyOf":[{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]},{"type":"array","items":{"anyOf":[{"const":"string","type":"string"},{"const":"number","type":"string"}]}}]},"validation":{"additionalProperties":false,"type":"object","properties":{"minItems":{"type":"number"},"maxItems":{"type":"number"}}},"default":{"type":"string"}}}]}}},"managedSecrets":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","properties":{"bytes":{"minimum":16,"maximum":128,"type":"integer"},"encoding":{"anyOf":[{"const":"hex","type":"string"},{"const":"base64url","type":"string"}]}}}}},"macros":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"}}}},"containers":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["displayName","registry","image","digest"],"properties":{"displayName":{"type":"string"},"registry":{"type":"string"},"image":{"type":"string"},"digest":{"pattern":"^@sha256:[a-f0-9]{64}$","type":"string"},"trackTag":{"type":"string"},"shmSizeMb":{"minimum":1,"type":"integer"},"entrypoint":{"type":"string"},"command":{"type":"array","items":{"minLength":1,"type":"string"}},"dependsOn":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"anyOf":[{"const":"AUDIT_CONTROL","type":"string"},{"const":"AUDIT_READ","type":"string"},{"const":"AUDIT_WRITE","type":"string"},{"const":"CHOWN","type":"string"},{"const":"DAC_OVERRIDE","type":"string"},{"const":"DAC_READ_SEARCH","type":"string"},{"const":"FOWNER","type":"string"},{"const":"FSETID","type":"string"},{"const":"IPC_LOCK","type":"string"},{"const":"IPC_OWNER","type":"string"},{"const":"KILL","type":"string"},{"const":"LEASE","type":"string"},{"const":"LINUX_IMMUTABLE","type":"string"},{"const":"MKNOD","type":"string"},{"const":"NET_ADMIN","type":"string"},{"const":"NET_BIND_SERVICE","type":"string"},{"const":"NET_BROADCAST","type":"string"},{"const":"NET_RAW","type":"string"},{"const":"SETFCAP","type":"string"},{"const":"SETGID","type":"string"},{"const":"SETPCAP","type":"string"},{"const":"SETUID","type":"string"},{"const":"SYS_ADMIN","type":"string"},{"const":"SYS_CHROOT","type":"string"},{"const":"SYS_NICE","type":"string"},{"const":"SYS_PTRACE","type":"string"},{"const":"SYS_RAWIO","type":"string"},{"const":"SYS_RESOURCE","type":"string"},{"const":"SYS_TIME","type":"string"},{"const":"SYSLOG","type":"string"}]}},"publishedPorts":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPort","protocol"],"properties":{"containerPort":{"minimum":1,"maximum":65535,"type":"integer"},"hostPort":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"publishedPortRanges":{"maxItems":20,"type":"array","items":{"additionalProperties":false,"type":"object","required":["containerPortStart","containerPortEnd","protocol"],"properties":{"containerPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"containerPortEnd":{"minimum":1,"maximum":65535,"type":"integer"},"hostPortStart":{"minimum":1,"maximum":65535,"type":"integer"},"protocol":{"anyOf":[{"const":"tcp","type":"string"},{"const":"udp","type":"string"}]}}}},"mounts":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["containerPath","bindingId"],"properties":{"containerPath":{"type":"string"},"bindingId":{"type":"string"},"subPath":{"type":"string"}}}}},"environment":{"type":"object","patternProperties":{"^(.*)$":{"anyOf":[{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]},{"type":"array","items":{"anyOf":[{"type":"string"},{"additionalProperties":false,"type":"object","required":["param"],"properties":{"param":{"type":"string"},"optional":{"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["secret"],"properties":{"secret":{"type":"string"}}},{"additionalProperties":false,"type":"object","required":["mnemonic"],"properties":{"mnemonic":{"const":true,"type":"boolean"}}},{"additionalProperties":false,"type":"object","required":["ip"],"properties":{"ip":{"const":true,"type":"boolean"}}}]}}]}}},"secretFiles":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId","path"],"properties":{"secretId":{"type":"string"},"path":{"type":"string"}}}}},"secretEnvironment":{"type":"object","patternProperties":{"^(.*)$":{"additionalProperties":false,"type":"object","required":["secretId"],"properties":{"secretId":{"type":"string"}}}}},"preconfigure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"configure":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["name","script","params"],"properties":{"name":{"type":"string"},"script":{"type":"string"},"params":{"type":"array","items":{"type":"string"}},"runtimePolicy":{"anyOf":[{"const":"provisionOnly","type":"string"},{"const":"recreate","type":"string"}]},"optional":{"type":"boolean"}}}},"healthcheck":{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"anyOf":[{"const":"http","type":"string"},{"const":"https","type":"string"},{"const":"tcp","type":"string"},{"const":"containerExec","type":"string"}]},"port":{"minimum":1,"maximum":65535,"type":"integer"},"path":{"type":"string"},"command":{"type":"array","items":{"type":"string"}},"intervalSeconds":{"type":"number"},"monitorIntervalMinutes":{"minimum":1,"type":"number"},"timeoutSeconds":{"type":"number"},"retries":{"type":"number"},"maxWaitSeconds":{"minimum":1,"type":"number"},"failureAction":{"anyOf":[{"const":"none","type":"string"},{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"}]},"skipInTesting":{"type":"boolean"}}}}}}}}},"parameters":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}},"requireUnattachedBricks":{"type":"boolean"},"domainSelections":{"type":"object","patternProperties":{"^(.*)$":{"type":"object","required":["mode","hostname"],"properties":{"mode":{"anyOf":[{"const":"permalink","type":"string"},{"const":"managed","type":"string"},{"const":"external","type":"string"}]},"hostname":{"type":"string"},"managedDomain":{"type":"string"},"managedSubdomain":{"type":"string"}}}}},"bricks":{"maxItems":10,"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string"},"bindingIds":{"maxItems":10,"type":"array","items":{"type":"string"}}}}},"passwordValues":{"type":"object","patternProperties":{"^(.*)$":{"type":"string"}}}}}}}}}},"/services/mesa/{mesaId}/baseImage":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"currentVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"alpineVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"buildDate":{"type":"string"},"hasUpdate":{"type":"boolean"},"releases":{"type":"array","items":{"type":"object","required":["releaseId","name","releasedAt","description","changelogUrl","releaseUrl"],"properties":{"releaseId":{"type":"string"},"name":{"type":"string"},"releasedAt":{"type":"string"},"description":{"type":"string"},"changelogUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"releaseUrl":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}},"required":["available","currentVersion","availableVersion","alpineVersion","hasUpdate","releases"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"currentVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"alpineVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"buildDate":{"type":"string"},"hasUpdate":{"type":"boolean"},"releases":{"type":"array","items":{"type":"object","required":["releaseId","name","releasedAt","description","changelogUrl","releaseUrl"],"properties":{"releaseId":{"type":"string"},"name":{"type":"string"},"releasedAt":{"type":"string"},"description":{"type":"string"},"changelogUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"releaseUrl":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}},"required":["available","currentVersion","availableVersion","alpineVersion","hasUpdate","releases"]}},"text/plain":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"currentVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"alpineVersion":{"anyOf":[{"type":"string"},{"type":"null"}]},"buildDate":{"type":"string"},"hasUpdate":{"type":"boolean"},"releases":{"type":"array","items":{"type":"object","required":["releaseId","name","releasedAt","description","changelogUrl","releaseUrl"],"properties":{"releaseId":{"type":"string"},"name":{"type":"string"},"releasedAt":{"type":"string"},"description":{"type":"string"},"changelogUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"releaseUrl":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}},"required":["available","currentVersion","availableVersion","alpineVersion","hasUpdate","releases"]}}}}},"operationId":"getV2ServicesMesaByMesaIdBaseImage","summary":"Get Base Image Info","tags":["Mesa Base Image"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}]}},"/services/mesa/{mesaId}/baseImage/upgrade":{"post":{"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesMesaByMesaIdBaseImageUpgrade","summary":"Upgrade Base Image","description":"Starts a Mesa base image upgrade task that stops the VM, swaps in the latest available base image for the node architecture, and starts the VM again.","tags":["Mesa Base Image"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}]}},"/services/mesa/{mesaId}/containers/{containerId}":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"containerId":{"type":"string"},"digest":{"type":"string"},"status":{"type":"object","required":["available","label","isRunning","created","health"],"properties":{"available":{"type":"boolean"},"label":{"type":"string"},"isRunning":{"type":"boolean"},"created":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"health":{"type":"object","required":["enabled","state","lastCheckedAt","message","lastAction","monitorIntervalMinutes"],"properties":{"enabled":{"type":"boolean"},"state":{"anyOf":[{"const":"none","type":"string"},{"const":"healthy","type":"string"},{"const":"unhealthy","type":"string"},{"const":"checking","type":"string"}]},"lastCheckedAt":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"lastAction":{"anyOf":[{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"},{"type":"null"}]},"monitorIntervalMinutes":{"nullable":true,"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}]}}}}}},"required":["containerId","digest","status"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"containerId":{"type":"string"},"digest":{"type":"string"},"status":{"type":"object","required":["available","label","isRunning","created","health"],"properties":{"available":{"type":"boolean"},"label":{"type":"string"},"isRunning":{"type":"boolean"},"created":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"health":{"type":"object","required":["enabled","state","lastCheckedAt","message","lastAction","monitorIntervalMinutes"],"properties":{"enabled":{"type":"boolean"},"state":{"anyOf":[{"const":"none","type":"string"},{"const":"healthy","type":"string"},{"const":"unhealthy","type":"string"},{"const":"checking","type":"string"}]},"lastCheckedAt":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"lastAction":{"anyOf":[{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"},{"type":"null"}]},"monitorIntervalMinutes":{"nullable":true,"anyOf":[{"minimum":1,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":1,"type":"integer"}]},{"type":"null"}]}}}}}},"required":["containerId","digest","status"]}},"text/plain":{"schema":{"type":"object","properties":{"containerId":{"type":"string"},"digest":{"type":"string"},"status":{"type":"object","required":["available","label","isRunning","created","health"],"properties":{"available":{"type":"boolean"},"label":{"type":"string"},"isRunning":{"type":"boolean"},"created":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"health":{"type":"object","required":["enabled","state","lastCheckedAt","message","lastAction","monitorIntervalMinutes"],"properties":{"enabled":{"type":"boolean"},"state":{"anyOf":[{"const":"none","type":"string"},{"const":"healthy","type":"string"},{"const":"unhealthy","type":"string"},{"const":"checking","type":"string"}]},"lastCheckedAt":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"lastAction":{"anyOf":[{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"},{"type":"null"}]},"monitorIntervalMinutes":{"nullable":true,"anyOf":[{"minimum":1,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":1,"type":"integer"}]},{"type":"null"}]}}}}}},"required":["containerId","digest","status"]}}}}},"operationId":"getV2ServicesMesaByMesaIdContainersByContainerId","summary":"Get Container Details","description":"Returns the selected Mesa container with its current digest and live runtime status without repeating stack declaration fields.","tags":["Mesa Containers"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/containers/{containerId}/status":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"label":{"type":"string"},"isRunning":{"type":"boolean"},"created":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"health":{"type":"object","required":["enabled","state","lastCheckedAt","message","lastAction","monitorIntervalMinutes"],"properties":{"enabled":{"type":"boolean"},"state":{"anyOf":[{"const":"none","type":"string"},{"const":"healthy","type":"string"},{"const":"unhealthy","type":"string"},{"const":"checking","type":"string"}]},"lastCheckedAt":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"lastAction":{"anyOf":[{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"},{"type":"null"}]},"monitorIntervalMinutes":{"nullable":true,"anyOf":[{"minimum":1,"type":"integer"},{"type":"null"}]}}}},"required":["available","label","isRunning","created","health"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"label":{"type":"string"},"isRunning":{"type":"boolean"},"created":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"health":{"type":"object","required":["enabled","state","lastCheckedAt","message","lastAction","monitorIntervalMinutes"],"properties":{"enabled":{"type":"boolean"},"state":{"anyOf":[{"const":"none","type":"string"},{"const":"healthy","type":"string"},{"const":"unhealthy","type":"string"},{"const":"checking","type":"string"}]},"lastCheckedAt":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"lastAction":{"anyOf":[{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"},{"type":"null"}]},"monitorIntervalMinutes":{"nullable":true,"anyOf":[{"minimum":1,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":1,"type":"integer"}]},{"type":"null"}]}}}},"required":["available","label","isRunning","created","health"]}},"text/plain":{"schema":{"type":"object","properties":{"available":{"type":"boolean"},"label":{"type":"string"},"isRunning":{"type":"boolean"},"created":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"health":{"type":"object","required":["enabled","state","lastCheckedAt","message","lastAction","monitorIntervalMinutes"],"properties":{"enabled":{"type":"boolean"},"state":{"anyOf":[{"const":"none","type":"string"},{"const":"healthy","type":"string"},{"const":"unhealthy","type":"string"},{"const":"checking","type":"string"}]},"lastCheckedAt":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"message":{"nullable":true,"anyOf":[{"type":"string"},{"type":"null"}]},"lastAction":{"anyOf":[{"const":"kill","type":"string"},{"const":"restart","type":"string"},{"const":"stop","type":"string"},{"type":"null"}]},"monitorIntervalMinutes":{"nullable":true,"anyOf":[{"minimum":1,"anyOf":[{"format":"integer","default":0,"type":"string"},{"minimum":1,"type":"integer"}]},{"type":"null"}]}}}},"required":["available","label","isRunning","created","health"]}}}}},"operationId":"getV2ServicesMesaByMesaIdContainersByContainerIdStatus","summary":"Get Container Status","tags":["Mesa Containers"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/containers/{containerId}/stats":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true},{"schema":{"anyOf":[{"const":"hour","type":"string"},{"const":"day","type":"string"},{"const":"week","type":"string"},{"const":"month","type":"string"},{"const":"year","type":"string"}]},"in":"query","name":"timeframe","required":false},{"schema":{"anyOf":[{"const":"avg","type":"string"},{"const":"max","type":"string"}]},"in":"query","name":"aggregation","required":false}],"responses":{"200":{"items":{"type":"object","required":["cpu","netout","mem","memUsed","netin","diskwrite","diskread","time"],"properties":{"cpu":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netout":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"mem":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"memUsed":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netin":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskwrite":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskread":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"time":{"format":"date-time","type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["cpu","netout","mem","memUsed","netin","diskwrite","diskread","time"],"properties":{"cpu":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netout":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"mem":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"memUsed":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netin":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskwrite":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskread":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"time":{"format":"date-time","type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["cpu","netout","mem","memUsed","netin","diskwrite","diskread","time"],"properties":{"cpu":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netout":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"mem":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"memUsed":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netin":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskwrite":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskread":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"time":{"format":"date-time","type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["cpu","netout","mem","memUsed","netin","diskwrite","diskread","time"],"properties":{"cpu":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netout":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"mem":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"memUsed":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"netin":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskwrite":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"diskread":{"nullable":true,"anyOf":[{"type":"number"},{"type":"null"}]},"time":{"format":"date-time","type":"string"}}}}},"text/csv":{"schema":{"type":"string","description":"CSV export"}}}}},"operationId":"getV2ServicesMesaByMesaIdContainersByContainerIdStats","summary":"Get Container Stats","description":"Returns historical resource usage samples for the selected Mesa container.","tags":["Mesa Containers"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/containers/{containerId}/logs":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true},{"schema":{"anyOf":[{"format":"numeric","default":0,"type":"string"},{"type":"number"}]},"in":"query","name":"tail","required":false},{"schema":{"type":"string"},"in":"query","name":"since","required":false},{"schema":{"type":"string"},"in":"query","name":"until","required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"lines":{"type":"array","items":{"type":"object","required":["timestamp","message"],"properties":{"timestamp":{"type":"string"},"message":{"type":"string"}}}},"hasMore":{"type":"boolean"}},"required":["lines","hasMore"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"lines":{"type":"array","items":{"type":"object","required":["timestamp","message"],"properties":{"timestamp":{"type":"string"},"message":{"type":"string"}}}},"hasMore":{"type":"boolean"}},"required":["lines","hasMore"]}},"text/plain":{"schema":{"type":"object","properties":{"lines":{"type":"array","items":{"type":"object","required":["timestamp","message"],"properties":{"timestamp":{"type":"string"},"message":{"type":"string"}}}},"hasMore":{"type":"boolean"}},"required":["lines","hasMore"]}}}}},"operationId":"getV2ServicesMesaByMesaIdContainersByContainerIdLogs","summary":"Get Container Logs","description":"Returns recent logs for the selected container.","tags":["Mesa Container Runtime"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/containers/{containerId}/searchLogs":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true},{"schema":{"type":"string"},"in":"query","name":"pattern","required":true},{"schema":{"anyOf":[{"format":"numeric","default":0,"type":"string"},{"type":"number"}]},"in":"query","name":"tail","required":false},{"schema":{"type":"string"},"in":"query","name":"caseSensitive","required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"lines":{"type":"array","items":{"type":"object","required":["timestamp","message"],"properties":{"timestamp":{"type":"string"},"message":{"type":"string"}}}},"hasMore":{"type":"boolean"}},"required":["lines","hasMore"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"lines":{"type":"array","items":{"type":"object","required":["timestamp","message"],"properties":{"timestamp":{"type":"string"},"message":{"type":"string"}}}},"hasMore":{"type":"boolean"}},"required":["lines","hasMore"]}},"text/plain":{"schema":{"type":"object","properties":{"lines":{"type":"array","items":{"type":"object","required":["timestamp","message"],"properties":{"timestamp":{"type":"string"},"message":{"type":"string"}}}},"hasMore":{"type":"boolean"}},"required":["lines","hasMore"]}}}}},"operationId":"getV2ServicesMesaByMesaIdContainersByContainerIdSearchLogs","summary":"Search Container Logs","description":"Searches recent container logs for the requested pattern.","tags":["Mesa Container Runtime"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/containers/{containerId}/start":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true}],"responses":{"202":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesMesaByMesaIdContainersByContainerIdStart","summary":"Start Container","tags":["Mesa Container Runtime"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/containers/{containerId}/stop":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true}],"responses":{"202":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesMesaByMesaIdContainersByContainerIdStop","summary":"Stop Container","tags":["Mesa Container Runtime"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/containers/{containerId}/restart":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true}],"responses":{"202":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesMesaByMesaIdContainersByContainerIdRestart","summary":"Restart Container","tags":["Mesa Container Runtime"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/containers/{containerId}/filesystem/file":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true},{"schema":{"type":"string"},"in":"query","name":"path","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"string"}},"multipart/form-data":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"operationId":"getV2ServicesMesaByMesaIdContainersByContainerIdFilesystemFile","summary":"Read File","description":"Reads a file from the live container filesystem. Pass the absolute in-container path in the query string.","tags":["Mesa Container Files"],"security":[{"Header Token":[]}]},"patch":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true},{"schema":{"type":"string"},"in":"query","name":"path","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ServicesMesaByMesaIdContainersByContainerIdFilesystemFile","summary":"Save File","description":"Writes a file into the live container filesystem. Pass the absolute in-container path in the query string.","tags":["Mesa Container Files"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["content"],"properties":{"content":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["content"],"properties":{"content":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["content"],"properties":{"content":{"type":"string"}}}}}}},"delete":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true},{"schema":{"type":"string"},"in":"query","name":"path","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2ServicesMesaByMesaIdContainersByContainerIdFilesystemFile","summary":"Delete File","description":"Deletes a file from the live container filesystem. Pass the absolute in-container path in the query string.","tags":["Mesa Container Files"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/containers/{containerId}/filesystem/entries":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true},{"schema":{"type":"string"},"in":"query","name":"path","required":true}],"responses":{"200":{"items":{"type":"object","required":["name","type","size","accessed","modified","created","permissions"],"properties":{"name":{"type":"string"},"type":{"anyOf":[{"const":"file","type":"string"},{"const":"directory","type":"string"},{"const":"symlink","type":"string"},{"const":"other","type":"string"}]},"size":{"type":"number"},"accessed":{"anyOf":[{"type":"string"},{"type":"null"}]},"modified":{"type":"string"},"created":{"anyOf":[{"type":"string"},{"type":"null"}]},"permissions":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["name","type","size","accessed","modified","created","permissions"],"properties":{"name":{"type":"string"},"type":{"anyOf":[{"const":"file","type":"string"},{"const":"directory","type":"string"},{"const":"symlink","type":"string"},{"const":"other","type":"string"}]},"size":{"type":"number"},"accessed":{"anyOf":[{"type":"string"},{"type":"null"}]},"modified":{"type":"string"},"created":{"anyOf":[{"type":"string"},{"type":"null"}]},"permissions":{"type":"string"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["name","type","size","accessed","modified","created","permissions"],"properties":{"name":{"type":"string"},"type":{"anyOf":[{"const":"file","type":"string"},{"const":"directory","type":"string"},{"const":"symlink","type":"string"},{"const":"other","type":"string"}]},"size":{"type":"number"},"accessed":{"anyOf":[{"type":"string"},{"type":"null"}]},"modified":{"type":"string"},"created":{"anyOf":[{"type":"string"},{"type":"null"}]},"permissions":{"type":"string"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["name","type","size","accessed","modified","created","permissions"],"properties":{"name":{"type":"string"},"type":{"anyOf":[{"const":"file","type":"string"},{"const":"directory","type":"string"},{"const":"symlink","type":"string"},{"const":"other","type":"string"}]},"size":{"type":"number"},"accessed":{"anyOf":[{"type":"string"},{"type":"null"}]},"modified":{"type":"string"},"created":{"anyOf":[{"type":"string"},{"type":"null"}]},"permissions":{"type":"string"}}}}}}}},"operationId":"getV2ServicesMesaByMesaIdContainersByContainerIdFilesystemEntries","summary":"Get Directory Entries","description":"Lists a directory from the live container filesystem. Pass the absolute in-container path in the query string.","tags":["Mesa Container Files"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/containers/{containerId}/filesystem/directory":{"put":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true},{"schema":{"type":"string"},"in":"query","name":"path","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"putV2ServicesMesaByMesaIdContainersByContainerIdFilesystemDirectory","summary":"Create Directory","description":"Creates a directory in the live container filesystem. Pass the absolute in-container path in the query string.","tags":["Mesa Container Files"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}},"text/plain":{"schema":{"type":"object","properties":{"idempotencyKey":{"minLength":1,"type":"string"}}}}}}},"delete":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true},{"schema":{"type":"string"},"in":"query","name":"path","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2ServicesMesaByMesaIdContainersByContainerIdFilesystemDirectory","summary":"Delete Directory","description":"Deletes a directory from the live container filesystem. Pass the absolute in-container path in the query string.","tags":["Mesa Container Files"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/updates":{"get":{"responses":{"200":{"items":{"type":"object","allOf":[{"type":"object","required":["containerId"],"properties":{"containerId":{"type":"string"}}},{"type":"object","required":["containerName","displayName","digest","trackedDigest","availableTag","availableDigest","autoUpdate","lastCheck","hasUpdate"],"properties":{"containerName":{"type":"string"},"displayName":{"type":"string"},"digest":{"type":"string"},"trackTag":{"type":"string"},"trackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableTag":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoUpdate":{"type":"boolean"},"lastCheck":{"anyOf":[{"type":"Date"},{"type":"null"}]},"hasUpdate":{"type":"boolean"}}}]},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","allOf":[{"type":"object","required":["containerId"],"properties":{"containerId":{"type":"string"}}},{"type":"object","required":["containerName","displayName","digest","trackedDigest","availableTag","availableDigest","autoUpdate","lastCheck","hasUpdate"],"properties":{"containerName":{"type":"string"},"displayName":{"type":"string"},"digest":{"type":"string"},"trackTag":{"type":"string"},"trackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableTag":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoUpdate":{"type":"boolean"},"lastCheck":{"anyOf":[{"type":"Date"},{"type":"null"}]},"hasUpdate":{"type":"boolean"}}}]}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","allOf":[{"type":"object","required":["containerId"],"properties":{"containerId":{"type":"string"}}},{"type":"object","required":["containerName","displayName","digest","trackedDigest","availableTag","availableDigest","autoUpdate","lastCheck","hasUpdate"],"properties":{"containerName":{"type":"string"},"displayName":{"type":"string"},"digest":{"type":"string"},"trackTag":{"type":"string"},"trackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableTag":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoUpdate":{"type":"boolean"},"lastCheck":{"anyOf":[{"type":"Date"},{"type":"null"}]},"hasUpdate":{"type":"boolean"}}}]}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","allOf":[{"type":"object","required":["containerId"],"properties":{"containerId":{"type":"string"}}},{"type":"object","required":["containerName","displayName","digest","trackedDigest","availableTag","availableDigest","autoUpdate","lastCheck","hasUpdate"],"properties":{"containerName":{"type":"string"},"displayName":{"type":"string"},"digest":{"type":"string"},"trackTag":{"type":"string"},"trackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableTag":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoUpdate":{"type":"boolean"},"lastCheck":{"anyOf":[{"type":"Date"},{"type":"null"}]},"hasUpdate":{"type":"boolean"}}}]}}}}}},"operationId":"getV2ServicesMesaByMesaIdUpdates","summary":"List Container Update Statuses","description":"Returns the tracked update summary for each Mesa container that currently has update state.","tags":["Mesa Updates"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}]}},"/services/mesa/{mesaId}/updates/history":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"description":"Maximum number of items to return. If omitted, the endpoint default is used.","schema":{"minimum":1,"maximum":100,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":100,"description":"Maximum number of items to return. If omitted, the endpoint default is used.","type":"number"}]},"in":"query","name":"limit","required":false},{"description":"Opaque cursor from the previous page response. Do not parse or synthesize this value; pass it through exactly as returned.","examples":["eyJpZCI6ImRhbmJvLTEifQ"],"schema":{"type":"string"},"in":"query","name":"startingAfter","required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["id","mesaId","containerId","containerName","previousDigest","previousTrackedDigest","newDigest","newTrackedDigest","success","error","rolledBack","snapshotId","automatic","createdAt"],"properties":{"id":{"type":"string"},"mesaId":{"type":"string"},"containerId":{"type":"string"},"containerName":{"type":"string"},"previousDigest":{"type":"string"},"previousTrackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"newDigest":{"type":"string"},"newTrackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"success":{"type":"boolean"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"rolledBack":{"type":"boolean"},"snapshotId":{"anyOf":[{"type":"string"},{"type":"null"}]},"automatic":{"type":"boolean"},"createdAt":{"type":"Date"}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["id","mesaId","containerId","containerName","previousDigest","previousTrackedDigest","newDigest","newTrackedDigest","success","error","rolledBack","snapshotId","automatic","createdAt"],"properties":{"id":{"type":"string"},"mesaId":{"type":"string"},"containerId":{"type":"string"},"containerName":{"type":"string"},"previousDigest":{"type":"string"},"previousTrackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"newDigest":{"type":"string"},"newTrackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"success":{"type":"boolean"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"rolledBack":{"type":"boolean"},"snapshotId":{"anyOf":[{"type":"string"},{"type":"null"}]},"automatic":{"type":"boolean"},"createdAt":{"type":"Date"}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}},"text/plain":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["id","mesaId","containerId","containerName","previousDigest","previousTrackedDigest","newDigest","newTrackedDigest","success","error","rolledBack","snapshotId","automatic","createdAt"],"properties":{"id":{"type":"string"},"mesaId":{"type":"string"},"containerId":{"type":"string"},"containerName":{"type":"string"},"previousDigest":{"type":"string"},"previousTrackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"newDigest":{"type":"string"},"newTrackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"success":{"type":"boolean"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"rolledBack":{"type":"boolean"},"snapshotId":{"anyOf":[{"type":"string"},{"type":"null"}]},"automatic":{"type":"boolean"},"createdAt":{"type":"Date"}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}}}}},"operationId":"getV2ServicesMesaByMesaIdUpdatesHistory","summary":"Get Update History","description":"Returns the recorded Mesa container update history for this stack using forward-only cursor pagination.","tags":["Mesa Updates"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/updates/{containerId}":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true}],"responses":{"200":{"allOf":[{"type":"object","required":["containerId"],"properties":{"containerId":{"type":"string"}}},{"type":"object","required":["containerName","displayName","digest","trackedDigest","availableTag","availableDigest","autoUpdate","lastCheck","hasUpdate"],"properties":{"containerName":{"type":"string"},"displayName":{"type":"string"},"digest":{"type":"string"},"trackTag":{"type":"string"},"trackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableTag":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoUpdate":{"type":"boolean"},"lastCheck":{"anyOf":[{"type":"Date"},{"type":"null"}]},"hasUpdate":{"type":"boolean"}}}],"content":{"application/json":{"schema":{"type":"object"}},"multipart/form-data":{"schema":{"type":"object"}},"text/plain":{"schema":{"type":"object"}}}}},"operationId":"getV2ServicesMesaByMesaIdUpdatesByContainerId","summary":"Get Container Update Status","tags":["Mesa Updates"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/updates/check":{"post":{"responses":{"200":{"items":{"type":"object","required":["containerName","displayName","digest","trackedDigest","availableTag","availableDigest","autoUpdate","hasUpdate"],"properties":{"containerName":{"type":"string"},"displayName":{"type":"string"},"digest":{"type":"string"},"trackTag":{"type":"string"},"trackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableTag":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoUpdate":{"type":"boolean"},"hasUpdate":{"type":"boolean"}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["containerName","displayName","digest","trackedDigest","availableTag","availableDigest","autoUpdate","hasUpdate"],"properties":{"containerName":{"type":"string"},"displayName":{"type":"string"},"digest":{"type":"string"},"trackTag":{"type":"string"},"trackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableTag":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoUpdate":{"type":"boolean"},"hasUpdate":{"type":"boolean"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["containerName","displayName","digest","trackedDigest","availableTag","availableDigest","autoUpdate","hasUpdate"],"properties":{"containerName":{"type":"string"},"displayName":{"type":"string"},"digest":{"type":"string"},"trackTag":{"type":"string"},"trackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableTag":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoUpdate":{"type":"boolean"},"hasUpdate":{"type":"boolean"}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["containerName","displayName","digest","trackedDigest","availableTag","availableDigest","autoUpdate","hasUpdate"],"properties":{"containerName":{"type":"string"},"displayName":{"type":"string"},"digest":{"type":"string"},"trackTag":{"type":"string"},"trackedDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableTag":{"anyOf":[{"type":"string"},{"type":"null"}]},"availableDigest":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoUpdate":{"type":"boolean"},"hasUpdate":{"type":"boolean"}}}}}}}},"operationId":"postV2ServicesMesaByMesaIdUpdatesCheck","summary":"Check for Updates","description":"Refreshes the available update information for all containers in this Mesa stack.","tags":["Mesa Updates"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}]}},"/services/mesa/{mesaId}/updates/{containerId}/apply":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true}],"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesMesaByMesaIdUpdatesByContainerIdApply","summary":"Update Container","description":"Starts a Mesa container update task for the currently tracked update on this container, optionally preparing a rollback snapshot first.","tags":["Mesa Updates"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"createSnapshot":{"type":"boolean"},"snapshotDescription":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","properties":{"createSnapshot":{"type":"boolean"},"snapshotDescription":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","properties":{"createSnapshot":{"type":"boolean"},"snapshotDescription":{"type":"string"}}}}}}}},"/services/mesa/{mesaId}/updates/applyBatch":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}],"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"postV2ServicesMesaByMesaIdUpdatesApplyBatch","summary":"Update Multiple Containers","description":"Starts one Mesa task that applies multiple selected container updates and returns a task reference immediately.","tags":["Mesa Updates"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["containerIds"],"properties":{"containerIds":{"type":"array","items":{"type":"string"}},"createSnapshot":{"type":"boolean"},"snapshotDescription":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["containerIds"],"properties":{"containerIds":{"type":"array","items":{"type":"string"}},"createSnapshot":{"type":"boolean"},"snapshotDescription":{"type":"string"}}}},"text/plain":{"schema":{"type":"object","required":["containerIds"],"properties":{"containerIds":{"type":"array","items":{"type":"string"}},"createSnapshot":{"type":"boolean"},"snapshotDescription":{"type":"string"}}}}}}}},"/services/mesa/{mesaId}/updates/{containerId}/autoUpdate":{"patch":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"containerId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ServicesMesaByMesaIdUpdatesByContainerIdAutoUpdate","summary":"Set Container Auto Update","description":"Enables or disables automatic digest-based updates for one container.","tags":["Mesa Updates"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"}}}},"multipart/form-data":{"schema":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"}}}},"text/plain":{"schema":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"}}}}}}}},"/services/mesa/{mesaId}/snapshots":{"get":{"responses":{"200":{"items":{"type":"object","required":["id","name","description","createdAt","pinned","size"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"Date"},"pinned":{"type":"boolean"},"size":{"anyOf":[{"type":"number"},{"type":"null"}]}}},"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","name","description","createdAt","pinned","size"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"Date"},"pinned":{"type":"boolean"},"size":{"anyOf":[{"type":"number"},{"type":"null"}]}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"type":"object","required":["id","name","description","createdAt","pinned","size"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"Date"},"pinned":{"type":"boolean"},"size":{"anyOf":[{"type":"number"},{"type":"null"}]}}}}},"text/plain":{"schema":{"type":"array","items":{"type":"object","required":["id","name","description","createdAt","pinned","size"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"Date"},"pinned":{"type":"boolean"},"size":{"anyOf":[{"type":"number"},{"type":"null"}]}}}}}}}},"operationId":"getV2ServicesMesaByMesaIdSnapshots","summary":"List Snapshots","description":"Returns the available snapshot summaries for this Mesa stack.","tags":["Mesa Snapshots"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}]}},"/services/mesa/{mesaId}/snapshots/{snapshotId}":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"snapshotId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"Date"},"pinned":{"type":"boolean"},"size":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","name","description","createdAt","pinned","size"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"Date"},"pinned":{"type":"boolean"},"size":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","name","description","createdAt","pinned","size"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"Date"},"pinned":{"type":"boolean"},"size":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","name","description","createdAt","pinned","size"]}}}}},"operationId":"getV2ServicesMesaByMesaIdSnapshotsBySnapshotId","summary":"Get Snapshot","tags":["Mesa Snapshots"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/snapshots/{snapshotId}/restore":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"snapshotId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"postV2ServicesMesaByMesaIdSnapshotsBySnapshotIdRestore","summary":"Restore Snapshot","tags":["Mesa Snapshots"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/macros":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"description":"Maximum number of items to return. If omitted, the endpoint default is used.","schema":{"minimum":1,"maximum":100,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":1,"maximum":100,"description":"Maximum number of items to return. If omitted, the endpoint default is used.","type":"number"}]},"in":"query","name":"limit","required":false},{"description":"Opaque cursor from the previous page response. Do not parse or synthesize this value; pass it through exactly as returned.","examples":["eyJpZCI6ImRhbmJvLTEifQ"],"schema":{"type":"string"},"in":"query","name":"startingAfter","required":false}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["id","mesaId","name","containerName","command","sortOrder","createdAt"],"properties":{"id":{"type":"string"},"mesaId":{"type":"string"},"name":{"type":"string"},"containerName":{"anyOf":[{"type":"string"},{"type":"null"}]},"command":{"type":"string"},"sortOrder":{"type":"number"},"createdAt":{"type":"Date"}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["id","mesaId","name","containerName","command","sortOrder","createdAt"],"properties":{"id":{"type":"string"},"mesaId":{"type":"string"},"name":{"type":"string"},"containerName":{"anyOf":[{"type":"string"},{"type":"null"}]},"command":{"type":"string"},"sortOrder":{"type":"number"},"createdAt":{"type":"Date"}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}},"text/plain":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["id","mesaId","name","containerName","command","sortOrder","createdAt"],"properties":{"id":{"type":"string"},"mesaId":{"type":"string"},"name":{"type":"string"},"containerName":{"anyOf":[{"type":"string"},{"type":"null"}]},"command":{"type":"string"},"sortOrder":{"type":"number"},"createdAt":{"type":"Date"}}}},"page":{"type":"object","required":["next"],"properties":{"next":{"description":"Opaque cursor for the next page. Pass this value back as `startingAfter` on the next request. `null` means there are no more pages.","examples":["eyJpZCI6ImRhbmJvLTEifQ",null],"anyOf":[{"type":"string"},{"type":"null"}]}}}},"required":["data","page"]}}}}},"operationId":"getV2ServicesMesaByMesaIdMacros","summary":"List Macros","description":"Returns a cursor-paginated list of Mesa macros in sort order.","tags":["Mesa Macros"],"security":[{"Header Token":[]}]},"put":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"const":"macro","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"kind":{"const":"macro","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}},"text/plain":{"schema":{"type":"object","properties":{"kind":{"const":"macro","type":"string"},"id":{"type":"string"}},"required":["kind","id"]}}}}},"operationId":"putV2ServicesMesaByMesaIdMacros","summary":"Create Macro","description":"Creates a new Mesa macro and returns a macro reference.","tags":["Mesa Macros"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"},"sortOrder":{"type":"number"}}}]}},"multipart/form-data":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"},"sortOrder":{"type":"number"}}}]}},"text/plain":{"schema":{"type":"object","allOf":[{"type":"object","required":["idempotencyKey"],"properties":{"idempotencyKey":{"minLength":1,"type":"string"}}},{"type":"object","required":["name","command"],"properties":{"name":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"},"sortOrder":{"type":"number"}}}]}}}}}},"/services/mesa/{mesaId}/macros/{macroId}":{"get":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"macroId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"mesaId":{"type":"string"},"name":{"type":"string"},"containerName":{"anyOf":[{"type":"string"},{"type":"null"}]},"command":{"type":"string"},"sortOrder":{"type":"number"},"createdAt":{"type":"Date"}},"required":["id","mesaId","name","containerName","command","sortOrder","createdAt"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"id":{"type":"string"},"mesaId":{"type":"string"},"name":{"type":"string"},"containerName":{"anyOf":[{"type":"string"},{"type":"null"}]},"command":{"type":"string"},"sortOrder":{"type":"number"},"createdAt":{"type":"Date"}},"required":["id","mesaId","name","containerName","command","sortOrder","createdAt"]}},"text/plain":{"schema":{"type":"object","properties":{"id":{"type":"string"},"mesaId":{"type":"string"},"name":{"type":"string"},"containerName":{"anyOf":[{"type":"string"},{"type":"null"}]},"command":{"type":"string"},"sortOrder":{"type":"number"},"createdAt":{"type":"Date"}},"required":["id","mesaId","name","containerName","command","sortOrder","createdAt"]}}}}},"operationId":"getV2ServicesMesaByMesaIdMacrosByMacroId","summary":"Get Macro","tags":["Mesa Macros"],"security":[{"Header Token":[]}]},"patch":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"macroId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"patchV2ServicesMesaByMesaIdMacrosByMacroId","summary":"Update Macro","tags":["Mesa Macros"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"},"sortOrder":{"type":"number"}}}},"multipart/form-data":{"schema":{"type":"object","properties":{"name":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"},"sortOrder":{"type":"number"}}}},"text/plain":{"schema":{"type":"object","properties":{"name":{"type":"string"},"containerName":{"type":"string"},"command":{"type":"string"},"sortOrder":{"type":"number"}}}}}}},"delete":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"macroId","required":true}],"responses":{"204":{},"400":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"401":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"403":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"404":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"409":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"422":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"429":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"500":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"502":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"503":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}},"504":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}},"text/plain":{"schema":{"type":"object","properties":{"message":{"type":"string"},"retryAfterMs":{"type":"number"}},"required":["message"]}}}}},"operationId":"deleteV2ServicesMesaByMesaIdMacrosByMacroId","summary":"Delete Macro","tags":["Mesa Macros"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/macros/{macroId}/run":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"macroId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"output":{"type":"string"},"stderr":{"type":"string"},"exitCode":{"type":"number"}},"required":["output"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"output":{"type":"string"},"stderr":{"type":"string"},"exitCode":{"type":"number"}},"required":["output"]}},"text/plain":{"schema":{"type":"object","properties":{"output":{"type":"string"},"stderr":{"type":"string"},"exitCode":{"type":"number"}},"required":["output"]}}}}},"operationId":"postV2ServicesMesaByMesaIdMacrosByMacroIdRun","summary":"Run Macro","description":"Executes the selected macro and returns its captured output.","tags":["Mesa Macros"],"security":[{"Header Token":[]}]}},"/services/mesa/{mesaId}/storage/backings":{"get":{"responses":{"200":{"items":{"additionalProperties":false,"type":"object","required":["bindingId","target"],"properties":{"bindingId":{"type":"string"},"target":{"anyOf":[{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"const":"local","type":"string"}}},{"additionalProperties":false,"type":"object","required":["type","brickId"],"properties":{"type":{"const":"brick","type":"string"},"brickId":{"type":"string"}}}]}}},"content":{"application/json":{"schema":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["bindingId","target"],"properties":{"bindingId":{"type":"string"},"target":{"anyOf":[{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"const":"local","type":"string"}}},{"additionalProperties":false,"type":"object","required":["type","brickId"],"properties":{"type":{"const":"brick","type":"string"},"brickId":{"type":"string"}}}]}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["bindingId","target"],"properties":{"bindingId":{"type":"string"},"target":{"anyOf":[{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"const":"local","type":"string"}}},{"additionalProperties":false,"type":"object","required":["type","brickId"],"properties":{"type":{"const":"brick","type":"string"},"brickId":{"type":"string"}}}]}}}}},"text/plain":{"schema":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["bindingId","target"],"properties":{"bindingId":{"type":"string"},"target":{"anyOf":[{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"const":"local","type":"string"}}},{"additionalProperties":false,"type":"object","required":["type","brickId"],"properties":{"type":{"const":"brick","type":"string"},"brickId":{"type":"string"}}}]}}}}}}}},"operationId":"getV2ServicesMesaByMesaIdStorageBackings","summary":"List Storage Backings","description":"Returns the current live storage target for each declared Mesa binding.","tags":["Mesa Storage"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}]}},"/services/mesa/{mesaId}/storage/bindings/{bindingId}/move":{"post":{"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true},{"schema":{"type":"string"},"in":"path","name":"bindingId","required":true}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"taskRef":{"additionalProperties":false,"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}}}},"required":["taskRef"]}},"multipart/form-data":{"schema":{"type":"object","properties":{"taskRef":{"additionalProperties":false,"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}}}},"required":["taskRef"]}},"text/plain":{"schema":{"type":"object","properties":{"taskRef":{"additionalProperties":false,"type":"object","required":["kind","id"],"properties":{"kind":{"const":"task","type":"string"},"id":{"type":"string"}}}},"required":["taskRef"]}}}}},"operationId":"postV2ServicesMesaByMesaIdStorageBindingsByBindingIdMove","summary":"Move Storage Binding","description":"Moves one Mesa storage binding onto local SSD or a Brick and starts the corresponding storage task.","tags":["Mesa Storage"],"security":[{"Header Token":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"type":"object","required":["target","migrationType"],"properties":{"target":{"anyOf":[{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"const":"local","type":"string"}}},{"additionalProperties":false,"type":"object","required":["type","brickId"],"properties":{"type":{"const":"brick","type":"string"},"brickId":{"type":"string"}}}]},"migrationType":{"anyOf":[{"const":"move","type":"string"},{"const":"startEmpty","type":"string"}]}}}},"multipart/form-data":{"schema":{"additionalProperties":false,"type":"object","required":["target","migrationType"],"properties":{"target":{"anyOf":[{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"const":"local","type":"string"}}},{"additionalProperties":false,"type":"object","required":["type","brickId"],"properties":{"type":{"const":"brick","type":"string"},"brickId":{"type":"string"}}}]},"migrationType":{"anyOf":[{"const":"move","type":"string"},{"const":"startEmpty","type":"string"}]}}}},"text/plain":{"schema":{"additionalProperties":false,"type":"object","required":["target","migrationType"],"properties":{"target":{"anyOf":[{"additionalProperties":false,"type":"object","required":["type"],"properties":{"type":{"const":"local","type":"string"}}},{"additionalProperties":false,"type":"object","required":["type","brickId"],"properties":{"type":{"const":"brick","type":"string"},"brickId":{"type":"string"}}}]},"migrationType":{"anyOf":[{"const":"move","type":"string"},{"const":"startEmpty","type":"string"}]}}}}}}}},"/services/mesa/{mesaId}/storage/usage":{"get":{"responses":{"200":{"items":{"additionalProperties":false,"type":"object","required":["totalBytes","usedBytes"],"properties":{"brickId":{"type":"string"},"totalBytes":{"type":"number"},"usedBytes":{"type":"number"}}},"content":{"application/json":{"schema":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["totalBytes","usedBytes"],"properties":{"brickId":{"type":"string"},"totalBytes":{"type":"number"},"usedBytes":{"type":"number"}}}}},"multipart/form-data":{"schema":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["totalBytes","usedBytes"],"properties":{"brickId":{"type":"string"},"totalBytes":{"type":"number"},"usedBytes":{"type":"number"}}}}},"text/plain":{"schema":{"type":"array","items":{"additionalProperties":false,"type":"object","required":["totalBytes","usedBytes"],"properties":{"brickId":{"type":"string"},"totalBytes":{"type":"number"},"usedBytes":{"type":"number"}}}}}}}},"operationId":"getV2ServicesMesaByMesaIdStorageUsage","summary":"Get Storage Usage","description":"Returns one usage row for local SSD and one row for each Brick currently used by Mesa storage bindings.","tags":["Mesa Storage"],"security":[{"Header Token":[]}],"parameters":[{"schema":{"type":"string"},"in":"path","name":"mesaId","required":true}]}}}}