{"openapi":"3.1.0","servers":[{"url":"https://api.sawadoo.com","description":"Sawadoo API"}],"info":{"title":"Sawadoo API","version":"1.0.0","description":"Basecamp-compatible REST API. Generated from the route schemas; never hand-written. Every request needs a `User-Agent` identifying your application; lists are paginated with `Link` (rel=next) and `X-Total-Count`; GETs carry an `ETag` (send `If-None-Match` for a 304); 429 responses carry `Retry-After`."},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An OAuth 2.0 access token (`/oauth/tokens`, scopes `read` | `full`) or a personal access token (My Stuff → API tokens)."}},"schemas":{"Health":{"type":"object","properties":{"ok":{"type":"boolean"},"service":{"type":"string"}},"required":["ok","service"]},"PublicPlans":{"type":"object","properties":{"trial_days":{"type":"integer","description":"Length of the free trial for new accounts"},"plans":{"type":"array","items":{"$ref":"#/components/schemas/PublicPlan"},"description":"Active plans; may be empty when none is on sale"}},"required":["trial_days","plans"]},"PublicPlan":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"amount":{"type":"integer","description":"Monthly price in minor units of `currency` (4900 = $49.00)"},"currency":{"type":"string","description":"ISO 4217 code, lowercase"},"projects":{"type":"integer"},"storageBytes":{"type":"integer"},"agentActions":{"type":"integer"},"assistantMessages":{"type":"integer"},"apiRate":{"type":"integer"},"clientAccess":{"type":"boolean"},"retentionControls":{"type":"boolean"}},"required":["id","name","amount","currency","projects","storageBytes","agentActions","assistantMessages","apiRate","clientAccess","retentionControls"]},"Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"required":["error"]},"InboundAck":{"type":"object","properties":{"ok":{"type":"boolean"}},"required":["ok"]},"InboundError":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]},"Account":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","name","created_at","updated_at"],"additionalProperties":{}},"Person":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"email_address":{"type":["string","null"]},"personable_type":{"type":"string"},"title":{"type":["string","null"]},"admin":{"type":"boolean"},"owner":{"type":"boolean"},"client":{"type":"boolean"},"employee":{"type":"boolean"},"time_zone":{"type":"string"},"avatar_url":{"type":"string"}},"required":["id","name","personable_type","admin","owner","client","employee","time_zone","avatar_url"],"additionalProperties":{}},"ProfileUpdate":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"title":{"type":["string","null"],"maxLength":100},"bio":{"type":["string","null"],"maxLength":500},"location":{"type":["string","null"],"maxLength":100},"time_zone_name":{"type":"string","maxLength":64}}},"Recording":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator"],"additionalProperties":{}},"Project":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"purpose":{"type":"string"},"clients_enabled":{"type":"boolean"},"url":{"type":"string"},"app_url":{"type":"string"},"dock":{"type":"array","items":{"$ref":"#/components/schemas/DockItem"}}},"required":["id","status","created_at","updated_at","name","description","purpose","clients_enabled","url","app_url"],"additionalProperties":{}},"DockItem":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"name":{"type":"string"},"enabled":{"type":"boolean"},"position":{"type":["number","null"]},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","name","enabled","position","url","app_url"],"additionalProperties":{}},"ProjectInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"type":"string","maxLength":2000},"admissions":{"type":"string","enum":["invite","employee","team"]},"schedule_attributes":{"type":"object","properties":{"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}}},"required":["name"]},"ProjectAccessResult":{"type":"object","properties":{"granted":{"type":"array","items":{"$ref":"#/components/schemas/Person"}},"revoked":{"type":"array","items":{"$ref":"#/components/schemas/Person"}}},"required":["granted","revoked"],"additionalProperties":{}},"ProjectAccessInput":{"type":"object","properties":{"grant":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200},"revoke":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200}}},"Tool":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"name":{"type":"string"},"enabled":{"type":"boolean"}},"required":["id","title","name","enabled"],"additionalProperties":{}},"ToolCreate":{"type":"object","properties":{"tool_type":{"type":"string"},"title":{"type":"string","maxLength":100}},"required":["tool_type"]},"ToolUpdate":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100}},"required":["title"]},"PositionInput":{"type":"object","properties":{"position":{"type":"integer","minimum":1}},"required":["position"]},"SearchMetadata":{"type":"object","properties":{"recording_search_types":{"type":"array","items":{}}},"required":["recording_search_types"],"additionalProperties":{}},"Readings":{"type":"object","properties":{"unreads":{"type":"array","items":{"$ref":"#/components/schemas/Notification"}},"reads":{"type":"array","items":{"$ref":"#/components/schemas/Notification"}}},"required":["unreads","reads"],"additionalProperties":{}},"Notification":{"type":"object","properties":{"id":{"type":"number"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"section":{"type":"string"},"title":{"type":"string"}},"required":["id","created_at","updated_at","section","title"],"additionalProperties":{}},"MarkAsReadInput":{"type":"object","properties":{"readables":{"type":"array","items":{"type":"string"},"maxItems":500}},"required":["readables"]},"MyAssignments":{"type":"object","properties":{"priorities":{"type":"array","items":{"$ref":"#/components/schemas/MyAssignment"}},"non_priorities":{"type":"array","items":{"$ref":"#/components/schemas/MyAssignment"}}},"required":["priorities","non_priorities"],"additionalProperties":{}},"MyAssignment":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"type":{"type":"string"}},"required":["id","content","type"],"additionalProperties":{}},"Bookmark":{"type":"object","properties":{"id":{"type":"number"},"created_at":{"type":"string"},"recording":{"$ref":"#/components/schemas/Recording"}},"required":["id","created_at","recording"],"additionalProperties":{}},"Boost":{"type":"object","properties":{"id":{"type":"number"},"content":{"type":"string"},"created_at":{"type":"string"},"booster":{"$ref":"#/components/schemas/Person"}},"required":["id","content","created_at","booster"],"additionalProperties":{}},"Comment":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"content":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","content"],"additionalProperties":{}},"CommentInput":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":1000000}},"required":["content"]},"ClientVisibilityInput":{"type":"object","properties":{"visible_to_clients":{"type":"boolean"}},"required":["visible_to_clients"]},"Event":{"type":"object","properties":{"id":{"type":"number"},"recording_id":{"type":"number"},"action":{"type":"string"},"details":{"type":"object","additionalProperties":{}},"created_at":{"type":"string"},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]}},"required":["id","recording_id","action","details","created_at","creator"],"additionalProperties":{}},"BoostInput":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":64}},"required":["content"]},"Subscription":{"type":"object","properties":{"subscribed":{"type":"boolean"},"count":{"type":"number"},"url":{"type":"string"},"subscribers":{"type":"array","items":{"$ref":"#/components/schemas/Person"}}},"required":["subscribed","count","url","subscribers"],"additionalProperties":{}},"SubscriptionInput":{"type":"object","properties":{"subscriptions":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200},"unsubscriptions":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200}}},"BookmarkStatus":{"type":"object","properties":{"bookmarked":{"type":"boolean"}},"required":["bookmarked"],"additionalProperties":{}},"Todoset":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"todolists_count":{"type":"number"},"todolists_url":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","todolists_count","todolists_url"],"additionalProperties":{}},"Todolist":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"name":{"type":"string"},"description":{"type":"string"},"completed":{"type":"boolean"},"completed_ratio":{"type":"string"},"todos_url":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","name","description","completed","completed_ratio","todos_url"],"additionalProperties":{}},"TodolistInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","maxLength":1000000}},"required":["name"]},"Position":{"type":"object","properties":{"position":{"type":"integer","minimum":1}},"required":["position"]},"TodolistGroupInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":500},"color":{"type":"string"}},"required":["name"]},"Todo":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"content":{"type":"string"},"description":{"type":"string"},"completed":{"type":"boolean"},"due_on":{"type":["string","null"]},"starts_on":{"type":["string","null"]},"assignees":{"type":"array","items":{"$ref":"#/components/schemas/Person"}}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","content","description","completed","due_on","starts_on","assignees"],"additionalProperties":{}},"TodoInput":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","maxLength":1000000},"assignee_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200},"completion_subscriber_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200},"notify":{"type":"boolean"},"due_on":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"starts_on":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["content"]},"TodolistUpdate":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","maxLength":1000000}}},"TodoPosition":{"type":"object","properties":{"position":{"type":"integer","minimum":1},"parent_id":{"type":"integer","exclusiveMinimum":0}},"required":["position"]},"CardStep":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"due_on":{"type":["string","null"]},"completed":{"type":"boolean"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","due_on","completed"],"additionalProperties":{}},"SubtaskInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"due_on":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"assignee_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200}},"required":["title"]},"SubtaskUpdate":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"due_on":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"assignee_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200}}},"MessageBoard":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"messages_count":{"type":"number"},"messages_url":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","messages_count","messages_url"],"additionalProperties":{}},"Message":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"subject":{"type":"string"},"content":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","subject","content"],"additionalProperties":{}},"MessageInput":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":500},"content":{"type":"string","maxLength":1000000},"status":{"type":"string","enum":["active","drafted"]},"category_id":{"type":["integer","null"],"exclusiveMinimum":0},"subscriptions":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":500}},"required":["subject"]},"MessageUpdate":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":500},"content":{"type":"string","maxLength":1000000},"status":{"type":"string","enum":["active","drafted"]},"category_id":{"type":["integer","null"],"exclusiveMinimum":0},"subscriptions":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":500}}},"MessageType":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"icon":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","name","icon","created_at","updated_at"],"additionalProperties":{}},"MessageTypeInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"icon":{"type":"string","minLength":1,"maxLength":16}},"required":["name","icon"]},"MessageTypeUpdate":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"icon":{"type":"string","minLength":1,"maxLength":16}}},"AttachmentCreated":{"type":"object","properties":{"attachable_sgid":{"type":"string"}},"required":["attachable_sgid"],"additionalProperties":{}},"Vault":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"documents_count":{"type":"number"},"uploads_count":{"type":"number"},"vaults_count":{"type":"number"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","documents_count","uploads_count","vaults_count"],"additionalProperties":{}},"VaultInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":255}},"required":["title"]},"Document":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"content":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","content"],"additionalProperties":{}},"DocumentInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"content":{"type":"string","maxLength":1000000},"status":{"type":"string","enum":["active","drafted"]}},"required":["title"]},"Upload":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"filename":{"type":"string"},"content_type":{"type":"string"},"byte_size":{"type":"number"},"download_url":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","filename","content_type","byte_size","download_url"],"additionalProperties":{}},"UploadInput":{"type":"object","properties":{"attachable_sgid":{"type":"string","minLength":1,"maxLength":1000},"description":{"type":"string","maxLength":1000000},"base_name":{"type":"string","maxLength":255}},"required":["attachable_sgid"]},"DocumentUpdate":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"content":{"type":"string","maxLength":1000000},"status":{"type":"string","enum":["active","drafted"]}}},"UploadUpdate":{"type":"object","properties":{"description":{"type":"string","maxLength":1000000},"base_name":{"type":"string","minLength":1,"maxLength":255}}},"CloudFile":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"service":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","service"],"additionalProperties":{}},"CloudFileInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"link":{"type":"string","maxLength":2048,"format":"uri"}},"required":["title","link"]},"Schedule":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"entries_count":{"type":"number"},"entries_url":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","entries_count","entries_url"],"additionalProperties":{}},"ScheduleSettingsInput":{"type":"object","properties":{"include_due_assignments":{"type":"boolean"}},"required":["include_due_assignments"]},"ScheduleEntry":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"summary":{"type":"string"},"all_day":{"type":"boolean"},"starts_at":{"type":"string"},"ends_at":{"type":"string"},"participants":{"type":"array","items":{"$ref":"#/components/schemas/Person"}}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","summary","all_day","starts_at","ends_at","participants"],"additionalProperties":{}},"ScheduleEntryInput":{"type":"object","properties":{"summary":{"type":"string","minLength":1,"maxLength":500},"starts_at":{"type":"string","minLength":10,"maxLength":40},"ends_at":{"type":"string","minLength":10,"maxLength":40},"description":{"type":"string","maxLength":1000000},"participant_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200},"all_day":{"type":"boolean"},"notify":{"type":"boolean"}},"required":["summary","starts_at","ends_at"]},"ScheduleEntryUpdate":{"type":"object","properties":{"summary":{"type":"string","minLength":1,"maxLength":500},"starts_at":{"type":"string","minLength":10,"maxLength":40},"ends_at":{"type":"string","minLength":10,"maxLength":40},"description":{"type":"string","maxLength":1000000},"participant_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200},"all_day":{"type":"boolean"},"notify":{"type":"boolean"}}},"CardColumn":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"color":{"type":["string","null"]},"cards_count":{"type":"number"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","color","cards_count"],"additionalProperties":{}},"CardColumnUpdate":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":100000}}},"CardColumnColor":{"type":"object","properties":{"color":{"type":"string","enum":["white","red","orange","yellow","green","blue","aqua","purple","gray","pink","brown"]}},"required":["color"]},"Card":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"content":{"type":"string"},"due_on":{"type":["string","null"]},"completed":{"type":"boolean"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","content","due_on","completed"],"additionalProperties":{}},"CardInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"content":{"type":"string","maxLength":1000000},"due_on":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"assignee_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200},"notify":{"type":"boolean"}},"required":["title"]},"CardUpdate":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"content":{"type":"string","maxLength":1000000},"due_on":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"assignee_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200},"notify":{"type":"boolean"}}},"CardMove":{"type":"object","properties":{"column_id":{"type":"integer","exclusiveMinimum":0},"position":{"type":"integer","minimum":1}},"required":["column_id"]},"CardStepInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"due_on":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"assignee_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200}},"required":["title"]},"CardStepPosition":{"type":"object","properties":{"source_id":{"type":"integer","exclusiveMinimum":0},"position":{"type":"integer","minimum":1}},"required":["source_id","position"]},"CardStepUpdate":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"due_on":{"type":["string","null"],"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"assignee_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200}}},"CardStepCompletion":{"type":"object","properties":{"completion":{"type":"string"}},"required":["completion"]},"CardTable":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"lists":{"type":"array","items":{"$ref":"#/components/schemas/Recording"}}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","lists"],"additionalProperties":{}},"CardColumnInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":100000}},"required":["title"]},"CardColumnMove":{"type":"object","properties":{"source_id":{"type":"integer","exclusiveMinimum":0},"target_id":{"type":"integer","exclusiveMinimum":0},"position":{"type":"integer","minimum":1}},"required":["source_id","target_id"]},"Campfire":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"topic":{"type":"string"},"lines_url":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","topic","lines_url"],"additionalProperties":{}},"PingInput":{"type":"object","properties":{"person_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"minItems":1,"maxItems":200}},"required":["person_ids"]},"CampfireLine":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"content":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","content"],"additionalProperties":{}},"CampfireLineInput":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":100000},"content_type":{"type":"string"}},"required":["content"]},"Inbox":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"forwards_count":{"type":"number"},"forwards_url":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","forwards_count","forwards_url"],"additionalProperties":{}},"Forward":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"subject":{"type":"string"},"from":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","subject","from"],"additionalProperties":{}},"ForwardReply":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"content":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","content"],"additionalProperties":{}},"ForwardReplyInput":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":1000000}},"required":["content"]},"Questionnaire":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"questions_count":{"type":"number"},"questions_url":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","questions_count","questions_url"],"additionalProperties":{}},"Question":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"paused":{"type":"boolean"},"answers_count":{"type":"number"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","paused","answers_count"],"additionalProperties":{}},"QuestionInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"schedule":{"$ref":"#/components/schemas/QuestionScheduleInput"},"participant_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200}},"required":["title"]},"QuestionScheduleInput":{"type":"object","properties":{"frequency":{"type":"string"},"days":{"type":"array","items":{"type":"integer","minimum":0,"maximum":6},"minItems":1,"maxItems":7},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59}}},"QuestionUpdate":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":500},"schedule":{"$ref":"#/components/schemas/QuestionScheduleInput"},"participant_ids":{"type":"array","items":{"type":"integer","exclusiveMinimum":0},"maxItems":200}}},"QuestionAnswer":{"type":"object","properties":{"id":{"type":"number"},"status":{"type":"string"},"visible_to_clients":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"title":{"type":"string"},"inherits_status":{"type":"boolean"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"},"parent":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"},"app_url":{"type":"string"}},"required":["id","title","type","url","app_url"]},"bucket":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"type":{"type":"string","enum":["Project"]}},"required":["id","name","type"]},"creator":{"allOf":[{"$ref":"#/components/schemas/Person"},{"type":["object","null"]}]},"content":{"type":"string"},"group_on":{"type":"string"}},"required":["id","status","visible_to_clients","created_at","updated_at","title","inherits_status","type","url","app_url","bucket","creator","content","group_on"],"additionalProperties":{}},"QuestionAnswerInput":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":1000000},"group_on":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["content"]},"QuestionAnswerUpdate":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":1000000}},"required":["content"]},"Webhook":{"type":"object","properties":{"id":{"type":"number"},"active":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"payload_url":{"type":"string"},"types":{"type":"array","items":{"type":"string"}},"url":{"type":"string"},"app_url":{"type":"string"},"recent_deliveries":{"type":"array","items":{}}},"required":["id","active","created_at","updated_at","payload_url","types","url","app_url"],"additionalProperties":{}},"WebhookInput":{"type":"object","properties":{"payload_url":{"type":"string","minLength":1,"maxLength":2000},"types":{"type":"array","items":{"type":"string"},"maxItems":50},"active":{"type":"boolean"}},"required":["payload_url"]},"WebhookUpdate":{"type":"object","properties":{"payload_url":{"type":"string","minLength":1,"maxLength":2000},"types":{"type":"array","items":{"type":"string"},"maxItems":50},"active":{"type":"boolean"}}}},"parameters":{}},"paths":{"/up":{"get":{"tags":["System"],"summary":"Liveness probe","responses":{"200":{"description":"The service is up","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"}}}}}}},"/billing/plans.json":{"get":{"operationId":"ListPublicPlans","tags":["Billing"],"summary":"Plans on sale","description":"Public and anonymous (no token needed): the active plans and the trial length. Cross-origin reads are allowed only from the marketing site's origin; rate limited per caller address.","security":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicPlans"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/inbound/ses":{"post":{"tags":["System"],"summary":"Amazon SNS endpoint for SES inbound mail (Email Forwards, reply-by-email)","description":"SES stores each received email in S3 and notifies this endpoint through SNS. Messages must carry a valid SNS signature from the configured topic; the email is then processed by the worker.","responses":{"200":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundAck"}}}},"400":{"description":"Not a valid SNS message","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundError"}}}},"403":{"description":"Bad signature or unknown topic","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundError"}}}},"503":{"description":"Inbound mail is not configured","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InboundError"}}}}}}},"/{accountId}/account.json":{"get":{"tags":["Account"],"summary":"Get the account","operationId":"GetAccount","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/people.json":{"get":{"tags":["People"],"summary":"Get all people","operationId":"ListPeople","description":"People visible to the current person (clients: their company and the account's company).","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Person"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/circles/people.json":{"get":{"tags":["People"],"summary":"Get pingable people","operationId":"ListPingablePeople","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Person"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/people/{personId}":{"get":{"tags":["People"],"summary":"Get a person","operationId":"GetPerson","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"personId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/my/profile.json":{"get":{"tags":["People"],"summary":"Get my personal info","operationId":"GetMyProfile","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["People"],"summary":"Update my personal info","operationId":"UpdateMyProfile","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileUpdate"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/projects/recordings.json":{"get":{"tags":["Recordings"],"summary":"Get recordings of a type","operationId":"ListRecordings","description":"Recordings of one `type` across the projects the person can see.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"bucket","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string"}},{"name":"direction","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Recording"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/projects.json":{"get":{"tags":["Projects"],"summary":"Get projects","operationId":"ListProjects","description":"Projects the person can see, newest first (clients: projects they're a client on).","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Project"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Projects"],"summary":"Create a project","operationId":"CreateProject","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/projects/{projectId}":{"get":{"tags":["Projects"],"summary":"Get a project","operationId":"GetProject","description":"A project with its dock; clients see only the tools shared with them.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"projectId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Projects"],"summary":"Update a project","operationId":"UpdateProject","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"projectId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Projects"],"summary":"Trash a project","operationId":"TrashProject","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"projectId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/projects/{projectId}/status/archived.json":{"put":{"tags":["Projects"],"summary":"Archive a project","operationId":"ArchiveProject","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"projectId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/projects/{projectId}/status/active.json":{"put":{"tags":["Projects"],"summary":"Unarchive (or restore) a project","operationId":"UnarchiveProject","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"projectId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/projects/{projectId}/people.json":{"get":{"tags":["People"],"summary":"Get people on a project","operationId":"ListProjectPeople","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"projectId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Person"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/projects/{projectId}/people/users.json":{"put":{"tags":["People"],"summary":"Grant or revoke project access","operationId":"UpdateProjectAccess","description":"Existing people only (invite new people from Adminland).","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"projectId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectAccessInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectAccessResult"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/dock/tools.json":{"post":{"tags":["Tools"],"summary":"Add a tool to the dock","operationId":"CreateTool","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCreate"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tool"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/dock/tools/{toolId}":{"get":{"tags":["Tools"],"summary":"Get a tool","operationId":"GetTool","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tool"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Tools"],"summary":"Rename a tool","operationId":"UpdateTool","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tool"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Tools"],"summary":"Trash a tool","operationId":"DeleteTool","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/dock/tools/{toolId}":{"get":{"tags":["Tools"],"summary":"Get a tool (legacy bucket route)","operationId":"GetToolLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tool"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Tools"],"summary":"Rename a tool (legacy bucket route)","operationId":"UpdateToolLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tool"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Tools"],"summary":"Trash a tool (legacy bucket route)","operationId":"DeleteToolLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{toolId}/position.json":{"post":{"tags":["Tools"],"summary":"Enable a tool","operationId":"EnableTool","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tool"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Tools"],"summary":"Disable a tool","operationId":"DisableTool","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Tools"],"summary":"Move a tool in the dock","operationId":"RepositionTool","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tool"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{toolId}/position.json":{"post":{"tags":["Tools"],"summary":"Enable a tool (legacy bucket route)","operationId":"EnableToolLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tool"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Tools"],"summary":"Disable a tool (legacy bucket route)","operationId":"DisableToolLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Tools"],"summary":"Move a tool in the dock (legacy bucket route)","operationId":"RepositionToolLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"toolId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PositionInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tool"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/searches/metadata.json":{"get":{"tags":["Search"],"summary":"Get search filter options","operationId":"GetSearchMetadata","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchMetadata"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/search.json":{"get":{"tags":["Search"],"summary":"Search","operationId":"Search","description":"Full-text search over what the person can see (clients: only what's shared with them).","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"q","in":"query","required":false,"schema":{"type":"string"}},{"name":"type_names[]","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"bucket_ids[]","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"bucket_id","in":"query","required":false,"schema":{"type":"integer"}},{"name":"creator_ids[]","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"creator_id","in":"query","required":false,"schema":{"type":"integer"}},{"name":"since","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string"}},{"name":"exclude_chat","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Recording"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/my/readings.json":{"get":{"tags":["My notifications"],"summary":"Get my notifications","operationId":"GetMyNotifications","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Readings"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/my/unreads.json":{"put":{"tags":["My notifications"],"summary":"Mark notifications as read","operationId":"MarkAsRead","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkAsReadInput"}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/my/assignments.json":{"get":{"tags":["My assignments"],"summary":"Get my assignments","operationId":"GetMyAssignments","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MyAssignments"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/my/assignments/completed.json":{"get":{"tags":["My assignments"],"summary":"Get my completed assignments","operationId":"GetMyCompletedAssignments","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MyAssignment"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/my/assignments/due.json":{"get":{"tags":["My assignments"],"summary":"Get my assignments by due date","operationId":"GetMyDueAssignments","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MyAssignment"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/my/bookmarks.json":{"get":{"tags":["Bookmarks"],"summary":"Get my bookmarks","operationId":"ListMyBookmarks","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Bookmark"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/boosts/{boostId}":{"get":{"tags":["Boosts"],"summary":"Get a boost","operationId":"GetBoost","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"boostId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Boost"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Boosts"],"summary":"Delete a boost","operationId":"DeleteBoost","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"boostId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/boosts/{boostId}":{"get":{"tags":["Boosts"],"summary":"Get a boost (legacy bucket route)","operationId":"GetBoostLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"boostId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Boost"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Boosts"],"summary":"Delete a boost (legacy bucket route)","operationId":"DeleteBoostLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"boostId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/comments/{commentId}":{"get":{"tags":["Comments"],"summary":"Get a comment","operationId":"GetComment","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Comment"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Comments"],"summary":"Update a comment","operationId":"UpdateComment","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Comment"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/comments/{commentId}":{"get":{"tags":["Comments"],"summary":"Get a comment (legacy bucket route)","operationId":"GetCommentLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Comment"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Comments"],"summary":"Update a comment (legacy bucket route)","operationId":"UpdateCommentLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Comment"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}":{"get":{"tags":["Recordings"],"summary":"Get a recording","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recording"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{recordingId}":{"get":{"tags":["Recordings"],"summary":"Get a recording (legacy bucket route)","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recording"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}/status/trashed.json":{"put":{"tags":["Recordings"],"summary":"Trash a recording","operationId":"TrashRecording","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{recordingId}/status/trashed.json":{"put":{"tags":["Recordings"],"summary":"Trash a recording (legacy bucket route)","operationId":"TrashRecordingLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}/status/archived.json":{"put":{"tags":["Recordings"],"summary":"Archive a recording","operationId":"ArchiveRecording","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{recordingId}/status/archived.json":{"put":{"tags":["Recordings"],"summary":"Archive a recording (legacy bucket route)","operationId":"ArchiveRecordingLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}/status/active.json":{"put":{"tags":["Recordings"],"summary":"Unarchive (or restore) a recording","operationId":"UnarchiveRecording","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{recordingId}/status/active.json":{"put":{"tags":["Recordings"],"summary":"Unarchive (or restore) a recording (legacy bucket route)","operationId":"UnarchiveRecordingLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}/client_visibility.json":{"put":{"tags":["Client visibility"],"summary":"Show or hide a recording from clients","operationId":"SetClientVisibility","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientVisibilityInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recording"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{recordingId}/client_visibility.json":{"put":{"tags":["Client visibility"],"summary":"Show or hide a recording from clients (legacy bucket route)","operationId":"SetClientVisibilityLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientVisibilityInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recording"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}/events.json":{"get":{"tags":["Events"],"summary":"Get events of a recording","operationId":"ListEvents","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Event"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{recordingId}/events.json":{"get":{"tags":["Events"],"summary":"Get events of a recording (legacy bucket route)","operationId":"ListEventsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Event"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}/comments.json":{"get":{"tags":["Comments"],"summary":"Get comments on a recording","operationId":"ListComments","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Comment"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Comments"],"summary":"Comment on a recording","operationId":"CreateComment","description":"Clients need a profile that allows commenting on this project.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Comment"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{recordingId}/comments.json":{"get":{"tags":["Comments"],"summary":"Get comments on a recording (legacy bucket route)","operationId":"ListCommentsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Comment"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Comments"],"summary":"Comment on a recording (legacy bucket route)","operationId":"CreateCommentLegacy","description":"Clients need a profile that allows commenting on this project.","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Comment"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}/boosts.json":{"get":{"tags":["Boosts"],"summary":"Get boosts on a recording","operationId":"ListRecordingBoosts","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Boost"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Boosts"],"summary":"Boost a recording","operationId":"CreateRecordingBoost","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoostInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Boost"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{recordingId}/boosts.json":{"get":{"tags":["Boosts"],"summary":"Get boosts on a recording (legacy bucket route)","operationId":"ListRecordingBoostsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Boost"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Boosts"],"summary":"Boost a recording (legacy bucket route)","operationId":"CreateRecordingBoostLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BoostInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Boost"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}/subscription.json":{"get":{"tags":["Subscriptions"],"summary":"Get who's notified","operationId":"GetSubscription","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Subscriptions"],"summary":"Subscribe me","operationId":"Subscribe","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Subscriptions"],"summary":"Unsubscribe me","operationId":"Unsubscribe","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Subscriptions"],"summary":"Add or remove subscribers","operationId":"UpdateSubscription","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{recordingId}/subscription.json":{"get":{"tags":["Subscriptions"],"summary":"Get who's notified (legacy bucket route)","operationId":"GetSubscriptionLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Subscriptions"],"summary":"Subscribe me (legacy bucket route)","operationId":"SubscribeLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Subscriptions"],"summary":"Unsubscribe me (legacy bucket route)","operationId":"UnsubscribeLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Subscriptions"],"summary":"Add or remove subscribers (legacy bucket route)","operationId":"UpdateSubscriptionLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Subscription"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}/bookmark.json":{"get":{"tags":["Bookmarks"],"summary":"Is it bookmarked?","operationId":"GetBookmark","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookmarkStatus"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Bookmarks"],"summary":"Bookmark a recording","operationId":"CreateBookmark","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookmarkStatus"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Bookmarks"],"summary":"Remove a bookmark","operationId":"DeleteBookmark","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{messageId}/pin.json":{"post":{"tags":["Messages"],"summary":"Pin a message","operationId":"PinMessage","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"messageId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Messages"],"summary":"Unpin a message","operationId":"UnpinMessage","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"messageId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{messageId}/pin.json":{"post":{"tags":["Messages"],"summary":"Pin a message (legacy bucket route)","operationId":"PinMessageLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"messageId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Messages"],"summary":"Unpin a message (legacy bucket route)","operationId":"UnpinMessageLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"messageId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/todosets/{todosetId}":{"get":{"tags":["To-do sets"],"summary":"Get a to-do set","operationId":"GetTodoset","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todosetId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todoset"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/todosets/{todosetId}":{"get":{"tags":["To-do sets"],"summary":"Get a to-do set (legacy bucket route)","operationId":"GetTodosetLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todosetId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todoset"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/todosets/{todosetId}/todolists.json":{"get":{"tags":["To-do lists"],"summary":"Get to-do lists","operationId":"ListTodolists","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todosetId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Todolist"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["To-do lists"],"summary":"Create a to-do list","operationId":"CreateTodolist","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todosetId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodolistInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todolist"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/todosets/{todosetId}/todolists.json":{"get":{"tags":["To-do lists"],"summary":"Get to-do lists (legacy bucket route)","operationId":"ListTodolistsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todosetId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Todolist"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["To-do lists"],"summary":"Create a to-do list (legacy bucket route)","operationId":"CreateTodolistLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todosetId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodolistInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todolist"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/todosets/todolists/{todolistId}/position.json":{"put":{"tags":["To-do lists"],"summary":"Move a to-do list","operationId":"RepositionTodolist","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todolistId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Position"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/todosets/todolists/{todolistId}/position.json":{"put":{"tags":["To-do lists"],"summary":"Move a to-do list (legacy bucket route)","operationId":"RepositionTodolistLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todolistId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Position"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/todolists/groups/{groupId}/position.json":{"put":{"tags":["To-do list groups"],"summary":"Move a to-do list group","operationId":"RepositionTodolistGroup","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Position"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todolist"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/todolists/groups/{groupId}/position.json":{"put":{"tags":["To-do list groups"],"summary":"Move a to-do list group (legacy bucket route)","operationId":"RepositionTodolistGroupLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"groupId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Position"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todolist"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/todolists/{todolistId}/groups.json":{"get":{"tags":["To-do list groups"],"summary":"Get to-do list groups","operationId":"ListTodolistGroups","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todolistId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Todolist"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["To-do list groups"],"summary":"Create a to-do list group","operationId":"CreateTodolistGroup","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todolistId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodolistGroupInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todolist"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/todolists/{todolistId}/groups.json":{"get":{"tags":["To-do list groups"],"summary":"Get to-do list groups (legacy bucket route)","operationId":"ListTodolistGroupsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todolistId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Todolist"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["To-do list groups"],"summary":"Create a to-do list group (legacy bucket route)","operationId":"CreateTodolistGroupLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todolistId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodolistGroupInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todolist"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/todolists/{todolistId}/todos.json":{"get":{"tags":["To-dos"],"summary":"Get to-dos","operationId":"ListTodos","description":"Pending to-dos by default; `completed=true` for completed ones, `status` for archived/trashed.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todolistId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"completed","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Todo"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["To-dos"],"summary":"Create a to-do","operationId":"CreateTodo","description":"Clients need a profile that allows creating to-dos, in a tool shared with them.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todolistId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todo"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/todolists/{todolistId}/todos.json":{"get":{"tags":["To-dos"],"summary":"Get to-dos (legacy bucket route)","operationId":"ListTodosLegacy","description":"Pending to-dos by default; `completed=true` for completed ones, `status` for archived/trashed.","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todolistId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"completed","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Todo"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["To-dos"],"summary":"Create a to-do (legacy bucket route)","operationId":"CreateTodoLegacy","description":"Clients need a profile that allows creating to-dos, in a tool shared with them.","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todolistId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todo"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/todolists/{id}":{"get":{"tags":["To-do lists"],"summary":"Get a to-do list or group","operationId":"GetTodolistOrGroup","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todolist"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["To-do lists"],"summary":"Update a to-do list or group","operationId":"UpdateTodolistOrGroup","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodolistUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todolist"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/todolists/{id}":{"get":{"tags":["To-do lists"],"summary":"Get a to-do list or group (legacy bucket route)","operationId":"GetTodolistOrGroupLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todolist"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["To-do lists"],"summary":"Update a to-do list or group (legacy bucket route)","operationId":"UpdateTodolistOrGroupLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"id","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodolistUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todolist"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/todos/{todoId}":{"get":{"tags":["To-dos"],"summary":"Get a to-do","operationId":"GetTodo","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todoId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todo"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["To-dos"],"summary":"Update a to-do","operationId":"ReplaceTodo","description":"Pass every field: omitted optional fields are cleared (bc-api semantics).","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todoId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todo"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/todos/{todoId}":{"get":{"tags":["To-dos"],"summary":"Get a to-do (legacy bucket route)","operationId":"GetTodoLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todoId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todo"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["To-dos"],"summary":"Update a to-do (legacy bucket route)","operationId":"ReplaceTodoLegacy","description":"Pass every field: omitted optional fields are cleared (bc-api semantics).","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todoId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todo"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/todos/{todoId}/completion.json":{"post":{"tags":["To-dos"],"summary":"Complete a to-do","operationId":"CompleteTodo","description":"Clients complete only to-dos assigned to them (profile switch).","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todoId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["To-dos"],"summary":"Uncomplete a to-do","operationId":"UncompleteTodo","description":"Clients complete only to-dos assigned to them (profile switch).","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todoId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/todos/{todoId}/completion.json":{"post":{"tags":["To-dos"],"summary":"Complete a to-do (legacy bucket route)","operationId":"CompleteTodoLegacy","description":"Clients complete only to-dos assigned to them (profile switch).","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todoId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["To-dos"],"summary":"Uncomplete a to-do (legacy bucket route)","operationId":"UncompleteTodoLegacy","description":"Clients complete only to-dos assigned to them (profile switch).","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todoId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/todos/{todoId}/position.json":{"put":{"tags":["To-dos"],"summary":"Move a to-do","operationId":"RepositionTodo","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todoId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoPosition"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todo"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/todos/{todoId}/position.json":{"put":{"tags":["To-dos"],"summary":"Move a to-do (legacy bucket route)","operationId":"RepositionTodoLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"todoId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TodoPosition"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Todo"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/recordings/{recordingId}/subtasks.json":{"get":{"tags":["Subtasks"],"summary":"Get subtasks","operationId":"ListSubtasks","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CardStep"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Subtasks"],"summary":"Create a subtask","operationId":"CreateSubtask","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubtaskInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/recordings/{recordingId}/subtasks.json":{"get":{"tags":["Subtasks"],"summary":"Get subtasks (legacy bucket route)","operationId":"ListSubtasksLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CardStep"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Subtasks"],"summary":"Create a subtask (legacy bucket route)","operationId":"CreateSubtaskLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"recordingId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubtaskInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/subtasks/{subtaskId}":{"get":{"tags":["Subtasks"],"summary":"Get a subtask","operationId":"GetSubtask","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Subtasks"],"summary":"Update a subtask","operationId":"UpdateSubtask","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubtaskUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Subtasks"],"summary":"Delete a subtask","operationId":"DeleteSubtask","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/subtasks/{subtaskId}":{"get":{"tags":["Subtasks"],"summary":"Get a subtask (legacy bucket route)","operationId":"GetSubtaskLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Subtasks"],"summary":"Update a subtask (legacy bucket route)","operationId":"UpdateSubtaskLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubtaskUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Subtasks"],"summary":"Delete a subtask (legacy bucket route)","operationId":"DeleteSubtaskLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/subtasks/{subtaskId}/completion.json":{"post":{"tags":["Subtasks"],"summary":"Complete a subtask","operationId":"CompleteSubtask","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Subtasks"],"summary":"Uncomplete a subtask","operationId":"UncompleteSubtask","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/subtasks/{subtaskId}/completion.json":{"post":{"tags":["Subtasks"],"summary":"Complete a subtask (legacy bucket route)","operationId":"CompleteSubtaskLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Subtasks"],"summary":"Uncomplete a subtask (legacy bucket route)","operationId":"UncompleteSubtaskLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/subtasks/{subtaskId}/position.json":{"put":{"tags":["Subtasks"],"summary":"Move a subtask","operationId":"RepositionSubtask","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Position"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/subtasks/{subtaskId}/position.json":{"put":{"tags":["Subtasks"],"summary":"Move a subtask (legacy bucket route)","operationId":"RepositionSubtaskLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"subtaskId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Position"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/message_boards/{boardId}":{"get":{"tags":["Message boards"],"summary":"Get a message board","operationId":"GetMessageBoard","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"boardId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageBoard"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/message_boards/{boardId}":{"get":{"tags":["Message boards"],"summary":"Get a message board (legacy bucket route)","operationId":"GetMessageBoardLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"boardId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageBoard"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/message_boards/{boardId}/messages.json":{"get":{"tags":["Messages"],"summary":"Get messages","operationId":"ListMessages","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"boardId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Messages"],"summary":"Create a message","operationId":"CreateMessage","description":"`status: active` publishes (everyone on the project is notified); `drafted` saves a draft.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"boardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/message_boards/{boardId}/messages.json":{"get":{"tags":["Messages"],"summary":"Get messages (legacy bucket route)","operationId":"ListMessagesLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"boardId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Messages"],"summary":"Create a message (legacy bucket route)","operationId":"CreateMessageLegacy","description":"`status: active` publishes (everyone on the project is notified); `drafted` saves a draft.","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"boardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/messages/{messageId}":{"get":{"tags":["Messages"],"summary":"Get a message","operationId":"GetMessage","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"messageId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Messages"],"summary":"Update a message","operationId":"UpdateMessage","description":"Setting `status: active` publishes a draft.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"messageId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/messages/{messageId}":{"get":{"tags":["Messages"],"summary":"Get a message (legacy bucket route)","operationId":"GetMessageLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"messageId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Messages"],"summary":"Update a message (legacy bucket route)","operationId":"UpdateMessageLegacy","description":"Setting `status: active` publishes a draft.","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"messageId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/categories.json":{"get":{"tags":["Message types"],"summary":"Get message types","operationId":"ListMessageTypes","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MessageType"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Message types"],"summary":"Create a message type","operationId":"CreateMessageType","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageTypeInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageType"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/categories/{typeId}":{"get":{"tags":["Message types"],"summary":"Get a message type","operationId":"GetMessageType","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"typeId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageType"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Message types"],"summary":"Update a message type","operationId":"UpdateMessageType","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"typeId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageTypeUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageType"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Message types"],"summary":"Delete a message type","operationId":"DeleteMessageType","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"typeId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/attachments.json":{"post":{"tags":["Attachments"],"summary":"Upload a file","operationId":"CreateAttachment","description":"The body is the file's raw bytes (`Content-Type` + `Content-Length`), `?name=` its file name. Use the returned `attachable_sgid` in rich text or to create an upload.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"name","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttachmentCreated"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/vaults/{vaultId}":{"get":{"tags":["Vaults"],"summary":"Get a vault","operationId":"GetVault","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vault"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Vaults"],"summary":"Rename a vault","operationId":"UpdateVault","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vault"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/vaults/{vaultId}":{"get":{"tags":["Vaults"],"summary":"Get a vault (legacy bucket route)","operationId":"GetVaultLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vault"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Vaults"],"summary":"Rename a vault (legacy bucket route)","operationId":"UpdateVaultLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vault"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/vaults/{vaultId}/vaults.json":{"get":{"tags":["Vaults"],"summary":"Get vaults in a vault","operationId":"ListVaults","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Vault"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Vaults"],"summary":"Create a vault","operationId":"CreateVault","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vault"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/vaults/{vaultId}/vaults.json":{"get":{"tags":["Vaults"],"summary":"Get vaults in a vault (legacy bucket route)","operationId":"ListVaultsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Vault"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Vaults"],"summary":"Create a vault (legacy bucket route)","operationId":"CreateVaultLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VaultInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Vault"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/vaults/{vaultId}/documents.json":{"get":{"tags":["Documents"],"summary":"Get documents in a vault","operationId":"ListDocuments","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Document"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Documents"],"summary":"Create a document","operationId":"CreateDocument","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/vaults/{vaultId}/documents.json":{"get":{"tags":["Documents"],"summary":"Get documents in a vault (legacy bucket route)","operationId":"ListDocumentsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Document"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Documents"],"summary":"Create a document (legacy bucket route)","operationId":"CreateDocumentLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/vaults/{vaultId}/uploads.json":{"get":{"tags":["Uploads"],"summary":"Get uploads in a vault","operationId":"ListUploads","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Upload"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Uploads"],"summary":"Create an upload","operationId":"CreateUpload","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/vaults/{vaultId}/uploads.json":{"get":{"tags":["Uploads"],"summary":"Get uploads in a vault (legacy bucket route)","operationId":"ListUploadsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Upload"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Uploads"],"summary":"Create an upload (legacy bucket route)","operationId":"CreateUploadLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/documents/{documentId}":{"get":{"tags":["Documents"],"summary":"Get a document","operationId":"GetDocument","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"documentId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Documents"],"summary":"Update a document","operationId":"ReplaceDocument","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"documentId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/documents/{documentId}":{"get":{"tags":["Documents"],"summary":"Get a document (legacy bucket route)","operationId":"GetDocumentLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"documentId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Documents"],"summary":"Update a document (legacy bucket route)","operationId":"ReplaceDocumentLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"documentId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/uploads/{uploadId}":{"get":{"tags":["Uploads"],"summary":"Get an upload","operationId":"GetUpload","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"uploadId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Uploads"],"summary":"Update an upload","operationId":"UpdateUpload","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"uploadId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/uploads/{uploadId}":{"get":{"tags":["Uploads"],"summary":"Get an upload (legacy bucket route)","operationId":"GetUploadLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"uploadId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Uploads"],"summary":"Update an upload (legacy bucket route)","operationId":"UpdateUploadLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"uploadId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/cloud_files/{cloudFileId}":{"get":{"tags":["Cloud files"],"summary":"Get a cloud file","operationId":"GetCloudFile","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cloudFileId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudFile"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/cloud_files/{cloudFileId}":{"get":{"tags":["Cloud files"],"summary":"Get a cloud file (legacy bucket route)","operationId":"GetCloudFileLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cloudFileId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudFile"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/vaults/{vaultId}/cloud_files.json":{"post":{"tags":["Cloud files"],"summary":"Link a cloud file","operationId":"CreateCloudFile","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"vaultId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudFileInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudFile"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/schedules/{scheduleId}":{"get":{"tags":["Schedules"],"summary":"Get a schedule","operationId":"GetSchedule","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"scheduleId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Schedules"],"summary":"Update a schedule's settings","operationId":"UpdateScheduleSettings","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"scheduleId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleSettingsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/schedules/{scheduleId}":{"get":{"tags":["Schedules"],"summary":"Get a schedule (legacy bucket route)","operationId":"GetScheduleLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"scheduleId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Schedules"],"summary":"Update a schedule's settings (legacy bucket route)","operationId":"UpdateScheduleSettingsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"scheduleId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleSettingsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Schedule"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/schedules/{scheduleId}/entries.json":{"get":{"tags":["Schedule entries"],"summary":"Get schedule entries","operationId":"ListScheduleEntries","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"scheduleId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleEntry"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Schedule entries"],"summary":"Create a schedule entry","operationId":"CreateScheduleEntry","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"scheduleId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEntryInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEntry"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/schedules/{scheduleId}/entries.json":{"get":{"tags":["Schedule entries"],"summary":"Get schedule entries (legacy bucket route)","operationId":"ListScheduleEntriesLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"scheduleId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleEntry"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Schedule entries"],"summary":"Create a schedule entry (legacy bucket route)","operationId":"CreateScheduleEntryLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"scheduleId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEntryInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEntry"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/schedule_entries/{entryId}":{"get":{"tags":["Schedule entries"],"summary":"Get a schedule entry","operationId":"GetScheduleEntry","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"entryId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEntry"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Schedule entries"],"summary":"Update a schedule entry","operationId":"ReplaceScheduleEntry","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"entryId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEntryUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEntry"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/schedule_entries/{entryId}":{"get":{"tags":["Schedule entries"],"summary":"Get a schedule entry (legacy bucket route)","operationId":"GetScheduleEntryLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"entryId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEntry"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Schedule entries"],"summary":"Update a schedule entry (legacy bucket route)","operationId":"ReplaceScheduleEntryLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"entryId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEntryUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleEntry"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/columns/{columnId}":{"get":{"tags":["Card table columns"],"summary":"Get a column","operationId":"GetCardColumn","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumn"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Card table columns"],"summary":"Update a column","operationId":"UpdateCardColumn","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumnUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumn"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/columns/{columnId}":{"get":{"tags":["Card table columns"],"summary":"Get a column (legacy bucket route)","operationId":"GetCardColumnLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumn"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Card table columns"],"summary":"Update a column (legacy bucket route)","operationId":"UpdateCardColumnLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumnUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumn"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/columns/{columnId}/color.json":{"put":{"tags":["Card table columns"],"summary":"Change a column's colour","operationId":"SetCardColumnColor","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumnColor"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumn"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/columns/{columnId}/on_hold.json":{"post":{"tags":["Card table columns"],"summary":"Add an On hold section","operationId":"EnableCardColumnOnHold","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumn"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Card table columns"],"summary":"Remove the On hold section","operationId":"DisableCardColumnOnHold","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumn"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/lists/{columnId}/cards.json":{"get":{"tags":["Card table cards"],"summary":"Get cards in a column","operationId":"ListCards","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Card"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Card table cards"],"summary":"Create a card","operationId":"CreateCard","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Card"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/lists/{columnId}/cards.json":{"get":{"tags":["Card table cards"],"summary":"Get cards in a column (legacy bucket route)","operationId":"ListCardsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Card"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Card table cards"],"summary":"Create a card (legacy bucket route)","operationId":"CreateCardLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Card"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/lists/{columnId}/subscription.json":{"post":{"tags":["Card table columns"],"summary":"Watch a column","operationId":"SubscribeToCardColumn","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Card table columns"],"summary":"Stop watching a column","operationId":"UnsubscribeFromCardColumn","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/lists/{columnId}/subscription.json":{"post":{"tags":["Card table columns"],"summary":"Watch a column (legacy bucket route)","operationId":"SubscribeToCardColumnLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Card table columns"],"summary":"Stop watching a column (legacy bucket route)","operationId":"UnsubscribeFromCardColumnLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"columnId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/cards/{cardId}":{"get":{"tags":["Card table cards"],"summary":"Get a card","operationId":"GetCard","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Card"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Card table cards"],"summary":"Update a card","operationId":"UpdateCard","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Card"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/cards/{cardId}":{"get":{"tags":["Card table cards"],"summary":"Get a card (legacy bucket route)","operationId":"GetCardLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Card"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Card table cards"],"summary":"Update a card (legacy bucket route)","operationId":"UpdateCardLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Card"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/cards/{cardId}/moves.json":{"post":{"tags":["Card table cards"],"summary":"Move a card","operationId":"MoveCard","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardMove"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/cards/{cardId}/moves.json":{"post":{"tags":["Card table cards"],"summary":"Move a card (legacy bucket route)","operationId":"MoveCardLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardMove"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/cards/{cardId}/steps.json":{"post":{"tags":["Card table steps"],"summary":"Create a step","operationId":"CreateCardStep","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStepInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/cards/{cardId}/steps.json":{"post":{"tags":["Card table steps"],"summary":"Create a step (legacy bucket route)","operationId":"CreateCardStepLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStepInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/cards/{cardId}/positions.json":{"post":{"tags":["Card table steps"],"summary":"Move a step","operationId":"RepositionCardStep","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStepPosition"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/cards/{cardId}/positions.json":{"post":{"tags":["Card table steps"],"summary":"Move a step (legacy bucket route)","operationId":"RepositionCardStepLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStepPosition"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/steps/{stepId}":{"get":{"tags":["Card table steps"],"summary":"Get a step","operationId":"GetCardStep","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"stepId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Card table steps"],"summary":"Update a step","operationId":"UpdateCardStep","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"stepId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStepUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/steps/{stepId}":{"get":{"tags":["Card table steps"],"summary":"Get a step (legacy bucket route)","operationId":"GetCardStepLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"stepId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Card table steps"],"summary":"Update a step (legacy bucket route)","operationId":"UpdateCardStepLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"stepId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStepUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/steps/{stepId}/completions.json":{"put":{"tags":["Card table steps"],"summary":"Complete or reopen a step","operationId":"SetCardStepCompletion","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"stepId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStepCompletion"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/steps/{stepId}/completions.json":{"put":{"tags":["Card table steps"],"summary":"Complete or reopen a step (legacy bucket route)","operationId":"SetCardStepCompletionLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"stepId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStepCompletion"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardStep"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/{cardTableId}":{"get":{"tags":["Card tables"],"summary":"Get a card table","operationId":"GetCardTable","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardTableId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardTable"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/{cardTableId}":{"get":{"tags":["Card tables"],"summary":"Get a card table (legacy bucket route)","operationId":"GetCardTableLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardTableId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardTable"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/{cardTableId}/columns.json":{"post":{"tags":["Card table columns"],"summary":"Create a column","operationId":"CreateCardColumn","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardTableId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumnInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumn"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/{cardTableId}/columns.json":{"post":{"tags":["Card table columns"],"summary":"Create a column (legacy bucket route)","operationId":"CreateCardColumnLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardTableId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumnInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumn"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/card_tables/{cardTableId}/moves.json":{"post":{"tags":["Card table columns"],"summary":"Move a column","operationId":"MoveCardColumn","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardTableId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumnMove"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/card_tables/{cardTableId}/moves.json":{"post":{"tags":["Card table columns"],"summary":"Move a column (legacy bucket route)","operationId":"MoveCardColumnLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"cardTableId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardColumnMove"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/chats.json":{"get":{"tags":["Campfires"],"summary":"Get all chats","operationId":"ListCampfires","description":"Project chats the person can see, then their pings.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Campfire"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/circles.json":{"post":{"tags":["Campfires"],"summary":"Start (or reopen) a ping","description":"Our extension: a private chat with 1–19 teammates. The same people always get the same ping; post to it with the lines endpoints.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PingInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campfire"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/chats/{campfireId}":{"get":{"tags":["Campfires"],"summary":"Get a chat","operationId":"GetCampfire","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campfire"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/chats/{campfireId}":{"get":{"tags":["Campfires"],"summary":"Get a chat (legacy bucket route)","operationId":"GetCampfireLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Campfire"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/chats/{campfireId}/lines.json":{"get":{"tags":["Campfires"],"summary":"Get chat lines","operationId":"ListCampfireLines","description":"Newest first.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CampfireLine"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Campfires"],"summary":"Post a chat line","operationId":"CreateCampfireLine","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampfireLineInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampfireLine"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/chats/{campfireId}/lines.json":{"get":{"tags":["Campfires"],"summary":"Get chat lines (legacy bucket route)","operationId":"ListCampfireLinesLegacy","description":"Newest first.","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CampfireLine"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Campfires"],"summary":"Post a chat line (legacy bucket route)","operationId":"CreateCampfireLineLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampfireLineInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampfireLine"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/chats/{campfireId}/lines/{lineId}":{"get":{"tags":["Campfires"],"summary":"Get a chat line","operationId":"GetCampfireLine","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"lineId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampfireLine"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Campfires"],"summary":"Edit a chat line","operationId":"UpdateCampfireLine","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"lineId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampfireLineInput"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Campfires"],"summary":"Delete a chat line","operationId":"DeleteCampfireLine","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"lineId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/chats/{campfireId}/lines/{lineId}":{"get":{"tags":["Campfires"],"summary":"Get a chat line (legacy bucket route)","operationId":"GetCampfireLineLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"lineId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampfireLine"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Campfires"],"summary":"Edit a chat line (legacy bucket route)","operationId":"UpdateCampfireLineLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"lineId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampfireLineInput"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Campfires"],"summary":"Delete a chat line (legacy bucket route)","operationId":"DeleteCampfireLineLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"lineId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/chats/{campfireId}/uploads.json":{"get":{"tags":["Campfires"],"summary":"Get files posted in a chat","operationId":"ListCampfireUploads","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CampfireLine"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Campfires"],"summary":"Post a file to a chat","operationId":"CreateCampfireUpload","description":"Raw file bytes in the body, `?name=` the file name.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"name","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampfireLine"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/chats/{campfireId}/uploads.json":{"get":{"tags":["Campfires"],"summary":"Get files posted in a chat (legacy bucket route)","operationId":"ListCampfireUploadsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CampfireLine"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Campfires"],"summary":"Post a file to a chat (legacy bucket route)","operationId":"CreateCampfireUploadLegacy","description":"Raw file bytes in the body, `?name=` the file name.","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"campfireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"name","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CampfireLine"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/inboxes/{inboxId}":{"get":{"tags":["Inboxes"],"summary":"Get an inbox","operationId":"GetInbox","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"inboxId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/inboxes/{inboxId}":{"get":{"tags":["Inboxes"],"summary":"Get an inbox (legacy bucket route)","operationId":"GetInboxLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"inboxId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/inboxes/{inboxId}/inbox_forwards.json":{"get":{"tags":["Forwards"],"summary":"Get forwarded emails","operationId":"ListForwards","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"inboxId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Forward"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/inboxes/{inboxId}/inbox_forwards.json":{"get":{"tags":["Forwards"],"summary":"Get forwarded emails (legacy bucket route)","operationId":"ListForwardsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"inboxId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Forward"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/inbox_forwards/{forwardId}":{"get":{"tags":["Forwards"],"summary":"Get a forwarded email","operationId":"GetForward","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"forwardId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forward"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/inbox_forwards/{forwardId}":{"get":{"tags":["Forwards"],"summary":"Get a forwarded email (legacy bucket route)","operationId":"GetForwardLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"forwardId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Forward"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/inbox_forwards/{forwardId}/replies.json":{"get":{"tags":["Forwards"],"summary":"Get replies to a forwarded email","operationId":"ListForwardReplies","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"forwardId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ForwardReply"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Forwards"],"summary":"Reply to a forwarded email","description":"Our extension: the reply is emailed to the original sender from the project's address.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"forwardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardReplyInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardReply"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/inbox_forwards/{forwardId}/replies.json":{"get":{"tags":["Forwards"],"summary":"Get replies to a forwarded email (legacy bucket route)","operationId":"ListForwardRepliesLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"forwardId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ForwardReply"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Forwards"],"summary":"Reply to a forwarded email (legacy bucket route)","description":"Our extension: the reply is emailed to the original sender from the project's address.","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"forwardId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardReplyInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardReply"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/inbox_forwards/{forwardId}/replies/{replyId}":{"get":{"tags":["Forwards"],"summary":"Get a reply to a forwarded email","operationId":"GetForwardReply","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"forwardId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"replyId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardReply"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/inbox_forwards/{forwardId}/replies/{replyId}":{"get":{"tags":["Forwards"],"summary":"Get a reply to a forwarded email (legacy bucket route)","operationId":"GetForwardReplyLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"forwardId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"replyId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardReply"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/questionnaires/{questionnaireId}":{"get":{"tags":["Automatic check-ins"],"summary":"Get a questionnaire","operationId":"GetQuestionnaire","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionnaireId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Questionnaire"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/questionnaires/{questionnaireId}":{"get":{"tags":["Automatic check-ins"],"summary":"Get a questionnaire (legacy bucket route)","operationId":"GetQuestionnaireLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionnaireId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Questionnaire"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/questionnaires/{questionnaireId}/questions.json":{"get":{"tags":["Automatic check-ins"],"summary":"Get questions","operationId":"ListQuestions","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionnaireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Question"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Automatic check-ins"],"summary":"Create a question","operationId":"CreateQuestion","description":"Asks `participant_ids` (default: you) on the schedule's days at `hour:minute` in each person's time zone.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionnaireId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/questionnaires/{questionnaireId}/questions.json":{"get":{"tags":["Automatic check-ins"],"summary":"Get questions (legacy bucket route)","operationId":"ListQuestionsLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionnaireId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Question"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Automatic check-ins"],"summary":"Create a question (legacy bucket route)","operationId":"CreateQuestionLegacy","description":"Asks `participant_ids` (default: you) on the schedule's days at `hour:minute` in each person's time zone.","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionnaireId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/questions/{questionId}":{"get":{"tags":["Automatic check-ins"],"summary":"Get a question","operationId":"GetQuestion","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Automatic check-ins"],"summary":"Update a question","operationId":"UpdateQuestion","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/questions/{questionId}":{"get":{"tags":["Automatic check-ins"],"summary":"Get a question (legacy bucket route)","operationId":"GetQuestionLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Automatic check-ins"],"summary":"Update a question (legacy bucket route)","operationId":"UpdateQuestionLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/questions/{questionId}/pause.json":{"post":{"tags":["Automatic check-ins"],"summary":"Pause a question","operationId":"PauseQuestion","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Automatic check-ins"],"summary":"Resume a question","operationId":"ResumeQuestion","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/questions/{questionId}/pause.json":{"post":{"tags":["Automatic check-ins"],"summary":"Pause a question (legacy bucket route)","operationId":"PauseQuestionLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Automatic check-ins"],"summary":"Resume a question (legacy bucket route)","operationId":"ResumeQuestionLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/questions/{questionId}/answers.json":{"get":{"tags":["Automatic check-ins"],"summary":"Get answers","operationId":"ListAnswers","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionAnswer"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Automatic check-ins"],"summary":"Answer a question","operationId":"CreateAnswer","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionAnswerInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionAnswer"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/questions/{questionId}/answers.json":{"get":{"tags":["Automatic check-ins"],"summary":"Get answers (legacy bucket route)","operationId":"ListAnswersLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionAnswer"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Automatic check-ins"],"summary":"Answer a question (legacy bucket route)","operationId":"CreateAnswerLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionAnswerInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionAnswer"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/question_answers/{answerId}":{"get":{"tags":["Automatic check-ins"],"summary":"Get an answer","operationId":"GetAnswer","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"answerId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionAnswer"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Automatic check-ins"],"summary":"Update an answer","operationId":"UpdateAnswer","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"answerId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionAnswerUpdate"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/question_answers/{answerId}":{"get":{"tags":["Automatic check-ins"],"summary":"Get an answer (legacy bucket route)","operationId":"GetAnswerLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"answerId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionAnswer"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Automatic check-ins"],"summary":"Update an answer (legacy bucket route)","operationId":"UpdateAnswerLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"answerId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionAnswerUpdate"}}}},"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/webhooks.json":{"get":{"tags":["Webhooks"],"summary":"Get a project's webhooks","operationId":"ListWebhooks","description":"Clients can't use webhooks (403).","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Webhooks"],"summary":"Create a webhook","operationId":"CreateWebhook","description":"The payload URL must be HTTPS. Types: Comment, Client::Approval::Response, Client::Forward, Client::Reply, CloudFile, Document, GoogleDocument, Inbox::Forward, Kanban::Card, Kanban::Step, Message, Question, Question::Answer, Schedule::Entry, Todo, Todolist, Upload, Vault (default: all). Calls are signed: `X-Basecamp-Signature` is the hex HMAC-SHA256 of the body with the webhook's `secret` (returned once, here).","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/webhooks/{webhookId}":{"get":{"tags":["Webhooks"],"summary":"Get a webhook","operationId":"GetWebhook","description":"With its 25 most recent deliveries (request + response).","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Webhooks"],"summary":"Update a webhook","operationId":"UpdateWebhook","description":"Types: Comment, Client::Approval::Response, Client::Forward, Client::Reply, CloudFile, Document, GoogleDocument, Inbox::Forward, Kanban::Card, Kanban::Step, Message, Question, Question::Answer, Schedule::Entry, Todo, Todolist, Upload, Vault (default: all). `active: true` re-enables a webhook that was switched off after failed deliveries.","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Webhooks"],"summary":"Delete a webhook","operationId":"DeleteWebhook","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/buckets/{bucketId}/webhooks/{webhookId}":{"get":{"tags":["Webhooks"],"summary":"Get a webhook (legacy bucket route)","operationId":"GetWebhookLegacy","description":"With its 25 most recent deliveries (request + response).","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Webhooks"],"summary":"Update a webhook (legacy bucket route)","operationId":"UpdateWebhookLegacy","description":"Types: Comment, Client::Approval::Response, Client::Forward, Client::Reply, CloudFile, Document, GoogleDocument, Inbox::Forward, Kanban::Card, Kanban::Step, Message, Question, Question::Answer, Schedule::Entry, Todo, Todolist, Upload, Vault (default: all). `active: true` re-enables a webhook that was switched off after failed deliveries.","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"integer"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookUpdate"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Webhooks"],"summary":"Delete a webhook (legacy bucket route)","operationId":"DeleteWebhookLegacy","deprecated":true,"security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"bucketId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"webhookId","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No content"},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/{accountId}/search/hybrid.json":{"get":{"tags":["Search"],"summary":"Search recordings using keywords and embeddings","operationId":"HybridSearch","security":[{"bearerAuth":[]}],"parameters":[{"name":"accountId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"q","in":"query","required":false,"schema":{"type":"string"}},{"name":"project_id","in":"query","required":false,"schema":{"type":"integer"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Recording"}}}}},"401":{"description":"Missing or invalid token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this person","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"webhooks":{}}