{"openapi":"3.1.0","info":{"title":"StreamDek API","version":"v1","description":"The StreamDek backend API.\n\nEverything lives under `/api/v1`. The bare prefixes used before this version\n(`/auth`, `/sync`, `/tmdb` and the rest) still work: they are rewritten onto the\ncanonical paths before routing, and answer with a `Deprecation` header and a `Link`\npointing here. They are aliases, not redirects — nothing has to change to keep working.\n\n## Errors\n\nCanonical responses use `{ \"error\": { \"code\", \"message\", \"requestId\" } }`. Requests that\narrive on a legacy path receive the older `{ \"error\": \"message\", \"errorDetail\": {...} }`\nshape instead, because the shipped clients read `error` as a string.\n\n## Lifecycle\n\nEach operation carries `x-lifecycle`: experimental, beta, stable or deprecated. A\ndeprecated operation still works and has a documented replacement."},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"adminSecret":{"type":"apiKey","in":"header","name":"x-streamdek-sync-secret"}},"schemas":{}},"paths":{"/api/v1/oauth/scopes":{"get":{"tags":["oauth"],"description":"Every scope, in the words a viewer sees, and the routes each one reaches.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/oauth/authorize":{"get":{"tags":["oauth"],"description":"Describes an authorization request so a consent screen can be rendered. Grants nothing.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":128},"in":"query","name":"client_id","required":true},{"schema":{"type":"string","minLength":1,"maxLength":512},"in":"query","name":"redirect_uri","required":true},{"schema":{"type":"string","minLength":1,"maxLength":256},"in":"query","name":"scope","required":true},{"schema":{"type":"string","minLength":1,"maxLength":128},"in":"query","name":"code_challenge","required":true},{"schema":{"type":"string","enum":["S256"]},"in":"query","name":"code_challenge_method","required":true},{"schema":{"type":"string","maxLength":256},"in":"query","name":"state","required":false}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}},"post":{"tags":["oauth"],"description":"Consent. Returns the redirect the client should follow, carrying a one-use code.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/oauth/token":{"post":{"tags":["oauth"],"description":"Exchanges an authorization code, or rotates a refresh token.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/oauth/revoke":{"post":{"tags":["oauth"],"description":"RFC 7009. Ends a grant and every token under it.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/oauth/apps":{"post":{"tags":["oauth"],"description":"Registers an application. Returns both environments credentials, once.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}},"get":{"tags":["oauth"],"description":"The applications this account has registered.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/oauth/apps/{id}/rotate-secret":{"post":{"tags":["oauth"],"description":"Replaces one environment client secret. The old one stops working immediately.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64},"in":"path","name":"id","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/oauth/apps/{id}/usage":{"get":{"tags":["oauth"],"description":"One application own usage, its rate-limit ceiling, and how many viewers connected it.","parameters":[{"schema":{"type":"string","maxLength":10},"in":"query","name":"from","required":false},{"schema":{"type":"string","maxLength":10},"in":"query","name":"to","required":false},{"schema":{"type":"string","minLength":1,"maxLength":64},"in":"path","name":"id","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/oauth/api-keys":{"post":{"tags":["oauth"],"description":"A server-to-server key for public data. Carries no account and reaches nothing scoped to one.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}},"get":{"tags":["oauth"],"description":"The keys this account holds.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/oauth/api-keys/{id}":{"delete":{"tags":["oauth"],"description":"Revokes a key.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64},"in":"path","name":"id","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/watchlist/":{"get":{"tags":["watchlist"],"description":"The account watchlist, paginated.","parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100},"in":"query","name":"limit","required":false},{"schema":{"type":"string","maxLength":512},"in":"query","name":"cursor","required":false}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/watchlist/{ref}":{"put":{"tags":["watchlist"],"description":"Adds a title to the watchlist. Idempotent.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":191},"in":"path","name":"ref","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}},"delete":{"tags":["watchlist"],"description":"Removes a title from the watchlist. Idempotent.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":191},"in":"path","name":"ref","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/progress/":{"get":{"tags":["progress"],"description":"Every recorded position, paginated. The record, not the shortlist.","parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100},"in":"query","name":"limit","required":false},{"schema":{"type":"string","maxLength":512},"in":"query","name":"cursor","required":false},{"schema":{"type":"string","maxLength":32},"in":"query","name":"status","required":false}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/progress/{ref}":{"get":{"tags":["progress"],"description":"One title position. 404 when none is recorded.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":191},"in":"path","name":"ref","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}},"put":{"tags":["progress"],"description":"Records a position. Mirrors to connected providers on the same terms a first-party write does.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":191},"in":"path","name":"ref","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/continue-watching/":{"get":{"tags":["progress"],"description":"The shortlist, removals applied. Not paginated by design.","parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100},"in":"query","name":"limit","required":false}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/continue-watching/{ref}":{"delete":{"tags":["progress"],"description":"Removes a title, one of its seasons, or one episode -- whichever the ref names.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":191},"in":"path","name":"ref","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/history/":{"get":{"tags":["history"],"description":"What the account has finished, paginated.","parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100},"in":"query","name":"limit","required":false},{"schema":{"type":"string","maxLength":512},"in":"query","name":"cursor","required":false}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/history/{ref}":{"put":{"tags":["history"],"description":"Marks a title watched.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":191},"in":"path","name":"ref","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}},"delete":{"tags":["history"],"description":"Marks a title unwatched.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":191},"in":"path","name":"ref","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/media/{ref}":{"get":{"tags":["media"],"description":"One title by canonical reference: movie, series, season or episode.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":191},"in":"path","name":"ref","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/media/":{"get":{"tags":["media"],"description":"Search the catalogue.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":191},"in":"query","name":"q","required":true},{"schema":{"type":"string","enum":["movie","tv"]},"in":"query","name":"type","required":false},{"schema":{"type":"integer","minimum":1,"maximum":100},"in":"query","name":"limit","required":false}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/library/":{"get":{"tags":["library"],"description":"Counts across the account library.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/devices/":{"get":{"tags":["account"],"description":"The devices signed in to this account.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/profile/":{"get":{"tags":["account"],"description":"The account display name and its viewing profiles. No email, no preferences.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/webhooks/events":{"get":{"tags":["webhooks"],"description":"Every event type, and the scope a subscription needs to receive it.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/webhooks/":{"post":{"tags":["webhooks"],"description":"Subscribes to events. Returns the signing secret, once.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}},"get":{"tags":["webhooks"],"description":"This application subscriptions on this account.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/webhooks/{id}":{"patch":{"tags":["webhooks"],"description":"Changes the URL, the event list, or the paused state.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64},"in":"path","name":"id","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}},"delete":{"tags":["webhooks"],"description":"Deletes a subscription and cancels its pending deliveries.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64},"in":"path","name":"id","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/webhooks/{id}/rotate-secret":{"post":{"tags":["webhooks"],"description":"Replaces the signing secret. The old one stops verifying immediately.","parameters":[{"schema":{"type":"string","minLength":1,"maxLength":64},"in":"path","name":"id","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/webhooks/{id}/deliveries":{"get":{"tags":["webhooks"],"description":"The delivery log: what was sent, what came back, and what is still due.","parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100},"in":"query","name":"limit","required":false},{"schema":{"type":"string","maxLength":512},"in":"query","name":"cursor","required":false},{"schema":{"type":"string","minLength":1,"maxLength":64},"in":"path","name":"id","required":true}],"x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/docs/openapi.json":{"get":{"tags":["docs"],"description":"The OpenAPI description, generated from the live route table.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/docs/lifecycle":{"get":{"tags":["docs"],"description":"The stage of every endpoint: stable, beta, experimental or deprecated.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}},"/api/v1/docs/":{"get":{"tags":["docs"],"description":"Everything an integrator needs before writing code, in one call.","x-lifecycle":"beta","responses":{"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"403":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"426":{"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}},"updateRequired":{"type":"boolean"},"platform":{"type":"string"},"currentVersion":{"type":"string"},"minimumSupportedVersion":{"type":"string"},"latestVersion":{"type":"string"},"message":{"type":["string","null"]},"updateUrl":{"type":["string","null"]}},"description":"Installed native client version is not allowed. Update required. Classified as client_version_blocked with outcome blocked, excluded from API errors.","additionalProperties":true}}}},"429":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}},"500":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":["string","null"]}}}}}}}}}}}},"servers":[{"url":"https://api.streamdek.net","description":"StreamDek"}],"tags":[{"name":"account","description":"The account itself: preferences, deletion, sync status."},{"name":"progress","description":"Playback position and Continue Watching."},{"name":"watchlist","description":"Watchlist state, in StreamDek and in connected providers."},{"name":"history","description":"Watched history."},{"name":"library","description":"Combined library state."},{"name":"media","description":"Metadata and search. Currently backed by TMDB and reachable without a session."},{"name":"docs","description":"Developer documentation, generated from the live route table."},{"name":"webhooks","description":"Event subscriptions and their delivery log."}]}