{"openapi":"3.1.0","info":{"title":"init.Tasks API","version":"1.0.0","description":"The init.Tasks public REST API. Every content field is end-to-end encrypted; a grant carries the user’s key for the life of a request so the server can read on their behalf (spec/110 §11). Errors are RFC 9457 problem+json."},"servers":[{"url":"https://api.inittasks.com/v1"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A personal access token (`itk_…`), an OAuth access token, or a first-party session JWT. A missing or invalid credential is 401 with `WWW-Authenticate: Bearer resource_metadata=…`."}}},"security":[{"bearerAuth":[]}],"paths":{"/me":{"get":{"summary":"The calling credential and its subject id","operationId":"get_me","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/containers":{"get":{"summary":"List containers","operationId":"get_containers","security":[{"bearerAuth":["containers:read"]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":4096}},{"name":"updated_since","in":"query","required":false,"schema":{"type":"string","maxLength":24}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","enum":["area","project","subproject"]}},{"name":"parent_id","in":"query","required":false,"schema":{"type":"string","maxLength":64}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","archived"]}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`account_too_large` — https://devs.inittasks.com/errors/account_too_large","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"post":{"summary":"Create a container","operationId":"post_containers","security":[{"bearerAuth":["containers:write"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"kind":{"type":"string","enum":["area","project","subproject"]},"name":{"type":"string","minLength":1,"maxLength":256},"parentId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"subtitle":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":100000},{"type":"null"}]},"symbol":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"colorHex":{"anyOf":[{"type":"string","maxLength":16,"pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"deadline":{"anyOf":[{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["low","medium","high"]},{"type":"null"}]},"id":{"type":"string","maxLength":64,"pattern":"^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"}},"required":["kind","name"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"409":{"description":"`duplicate_id` — https://devs.inittasks.com/errors/duplicate_id · `conflict` — https://devs.inittasks.com/errors/conflict","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/containers/{id}":{"get":{"summary":"One container","operationId":"get_containers__id_","security":[{"bearerAuth":["containers:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"patch":{"summary":"Change a container (not parentId/kind — use /move)","operationId":"patch_containers__id_","security":[{"bearerAuth":["containers:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"subtitle":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":100000},{"type":"null"}]},"symbol":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"colorHex":{"anyOf":[{"type":"string","maxLength":16,"pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"deadline":{"anyOf":[{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["low","medium","high"]},{"type":"null"}]},"status":{"type":"string","enum":["active","archived"]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"409":{"description":"`duplicate_id` — https://devs.inittasks.com/errors/duplicate_id · `conflict` — https://devs.inittasks.com/errors/conflict","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"delete":{"summary":"Delete permanently (cascades)","operationId":"delete_containers__id_","security":[{"bearerAuth":["containers:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/containers/{id}/move":{"post":{"summary":"Re-parent and reorder","operationId":"post_containers__id__move","security":[{"bearerAuth":["containers:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"parentId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"kind":{"type":"string","enum":["area","project","subproject"]},"after":{"type":"string","maxLength":64},"before":{"type":"string","maxLength":64}},"required":["parentId"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"409":{"description":"`duplicate_id` — https://devs.inittasks.com/errors/duplicate_id · `conflict` — https://devs.inittasks.com/errors/conflict","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/containers/{id}/trash":{"post":{"summary":"Trash a container","operationId":"post_containers__id__trash","security":[{"bearerAuth":["containers:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/containers/{id}/restore":{"post":{"summary":"Restore a container","operationId":"post_containers__id__restore","security":[{"bearerAuth":["containers:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/todos":{"get":{"summary":"List to-dos","operationId":"get_todos","security":[{"bearerAuth":["todos:read"]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":4096}},{"name":"updated_since","in":"query","required":false,"schema":{"type":"string","maxLength":24}},{"name":"parent_id","in":"query","required":false,"schema":{"type":"string","maxLength":64}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["open","someday","done"]}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}}]}},{"name":"when_from","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"when_to","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"deadline_from","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"deadline_to","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"include_trashed","in":"query","required":false,"schema":{"type":"string","enum":["true","false"]}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`account_too_large` — https://devs.inittasks.com/errors/account_too_large","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"post":{"summary":"Create a to-do (unknown tags are created)","operationId":"post_todos","security":[{"bearerAuth":["todos:write"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":512},"parentId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"subtitle":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":100000},{"type":"null"}]},"tags":{"maxItems":64,"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"whenDate":{"anyOf":[{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"deadline":{"anyOf":[{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"status":{"type":"string","enum":["open","someday","done"]},"priority":{"anyOf":[{"type":"string","enum":["low","medium","high"]},{"type":"null"}]},"colorHex":{"anyOf":[{"type":"string","maxLength":16,"pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"colorStyle":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}]},"reminderTime":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"recurrenceRule":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"id":{"type":"string","maxLength":64,"pattern":"^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"}},"required":["title"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"409":{"description":"`duplicate_id` — https://devs.inittasks.com/errors/duplicate_id · `conflict` — https://devs.inittasks.com/errors/conflict","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/todos/{id}":{"get":{"summary":"One to-do","operationId":"get_todos__id_","security":[{"bearerAuth":["todos:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"patch":{"summary":"Change a to-do (not parentId/status — use the actions)","operationId":"patch_todos__id_","security":[{"bearerAuth":["todos:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":512},"subtitle":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":100000},{"type":"null"}]},"tags":{"anyOf":[{"maxItems":64,"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},{"type":"null"}]},"whenDate":{"anyOf":[{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"deadline":{"anyOf":[{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["low","medium","high"]},{"type":"null"}]},"colorHex":{"anyOf":[{"type":"string","maxLength":16,"pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]},"colorStyle":{"anyOf":[{"type":"string","maxLength":8},{"type":"null"}]},"reminderTime":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}]},"recurrenceRule":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"409":{"description":"`duplicate_id` — https://devs.inittasks.com/errors/duplicate_id · `conflict` — https://devs.inittasks.com/errors/conflict","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"delete":{"summary":"Delete permanently","operationId":"delete_todos__id_","security":[{"bearerAuth":["todos:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/todos/{id}/complete":{"post":{"summary":"Complete (spawns the next occurrence when recurring)","operationId":"post_todos__id__complete","security":[{"bearerAuth":["todos:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/todos/{id}/uncomplete":{"post":{"summary":"Un-complete","operationId":"post_todos__id__uncomplete","security":[{"bearerAuth":["todos:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/todos/{id}/someday":{"post":{"summary":"Park","operationId":"post_todos__id__someday","security":[{"bearerAuth":["todos:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/todos/{id}/anytime":{"post":{"summary":"Detach and unschedule","operationId":"post_todos__id__anytime","security":[{"bearerAuth":["todos:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/todos/{id}/move":{"post":{"summary":"Re-parent and reorder","operationId":"post_todos__id__move","security":[{"bearerAuth":["todos:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"parentId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"after":{"type":"string","maxLength":64},"before":{"type":"string","maxLength":64}},"required":["parentId"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"409":{"description":"`duplicate_id` — https://devs.inittasks.com/errors/duplicate_id · `conflict` — https://devs.inittasks.com/errors/conflict","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/todos/{id}/trash":{"post":{"summary":"Trash a to-do","operationId":"post_todos__id__trash","security":[{"bearerAuth":["todos:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/todos/{id}/restore":{"post":{"summary":"Restore a to-do","operationId":"post_todos__id__restore","security":[{"bearerAuth":["todos:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/inbox":{"get":{"summary":"List inbox items","operationId":"get_inbox","security":[{"bearerAuth":["inbox:read"]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":4096}},{"name":"updated_since","in":"query","required":false,"schema":{"type":"string","maxLength":24}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["open","archived","someday","moved"]}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","enum":["text","url","file","image"]}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`account_too_large` — https://devs.inittasks.com/errors/account_too_large","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"post":{"summary":"Capture text or a URL (the API fetches the title)","operationId":"post_inbox","security":[{"bearerAuth":["inbox:write"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"kind":{"type":"string","enum":["text","url"]},"text":{"type":"string","maxLength":2048},"url":{"type":"string","maxLength":2048},"whenDate":{"anyOf":[{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"id":{"type":"string","maxLength":64,"pattern":"^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"}},"required":["kind"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"409":{"description":"`duplicate_id` — https://devs.inittasks.com/errors/duplicate_id · `conflict` — https://devs.inittasks.com/errors/conflict","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/inbox/{id}":{"get":{"summary":"One inbox item","operationId":"get_inbox__id_","security":[{"bearerAuth":["inbox:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/inbox/{id}/move":{"post":{"summary":"Sort an item onto a container","operationId":"post_inbox__id__move","security":[{"bearerAuth":["inbox:write","todos:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"parentId":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/inbox/{id}/archive":{"post":{"summary":"Archive an item","operationId":"post_inbox__id__archive","security":[{"bearerAuth":["inbox:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/inbox/{id}/someday":{"post":{"summary":"Park an item","operationId":"post_inbox__id__someday","security":[{"bearerAuth":["inbox:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/tags":{"get":{"summary":"List tags","operationId":"get_tags","security":[{"bearerAuth":["tags:read"]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":4096}},{"name":"updated_since","in":"query","required":false,"schema":{"type":"string","maxLength":24}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"post":{"summary":"Create a tag, or return the existing one","operationId":"post_tags","security":[{"bearerAuth":["tags:write"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64},"colorHex":{"anyOf":[{"type":"string","maxLength":16,"pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["name"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/tags/{id}":{"patch":{"summary":"Change a tag colour (renaming is refused)","operationId":"patch_tags__id_","security":[{"bearerAuth":["tags:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"colorHex":{"anyOf":[{"type":"string","maxLength":16,"pattern":"^#?[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["colorHex"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"delete":{"summary":"Delete a tag and remove it from every to-do","operationId":"delete_tags__id_","security":[{"bearerAuth":["tags:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/attachments":{"get":{"summary":"List attachments","operationId":"get_attachments","security":[{"bearerAuth":["attachments:read"]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":4096}},{"name":"updated_since","in":"query","required":false,"schema":{"type":"string","maxLength":24}},{"name":"parent_id","in":"query","required":false,"schema":{"type":"string","maxLength":64}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"post":{"summary":"Create a url/text/note attachment","operationId":"post_attachments","security":[{"bearerAuth":["attachments:write"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"parentType":{"type":"string","enum":["todo","container","inbox"]},"parentId":{"type":"string","minLength":1,"maxLength":64},"kind":{"type":"string","enum":["url","text","note"]},"url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"text":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"title":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"id":{"type":"string","maxLength":64,"pattern":"^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"}},"required":["parentType","parentId","kind"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"409":{"description":"`duplicate_id` — https://devs.inittasks.com/errors/duplicate_id · `conflict` — https://devs.inittasks.com/errors/conflict","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/attachments/{id}":{"get":{"summary":"One attachment","operationId":"get_attachments__id_","security":[{"bearerAuth":["attachments:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"patch":{"summary":"Change an attachment","operationId":"patch_attachments__id_","security":[{"bearerAuth":["attachments:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}]},"url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"text":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"delete":{"summary":"Delete an attachment","operationId":"delete_attachments__id_","security":[{"bearerAuth":["attachments:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/attachments/{id}/file":{"get":{"summary":"The decrypted bytes of a file attachment","operationId":"get_attachments__id__file","security":[{"bearerAuth":["attachments:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/filters":{"get":{"summary":"List filters","operationId":"get_filters","security":[{"bearerAuth":["filters:read"]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":4096}},{"name":"updated_since","in":"query","required":false,"schema":{"type":"string","maxLength":24}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"post":{"summary":"Create a filter (criteria uses tag names)","operationId":"post_filters","security":[{"bearerAuth":["filters:write"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"criteria":{"type":"string","minLength":1,"maxLength":10000},"symbol":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]},"id":{"type":"string","maxLength":64,"pattern":"^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"}},"required":["name","criteria"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"409":{"description":"`duplicate_id` — https://devs.inittasks.com/errors/duplicate_id · `conflict` — https://devs.inittasks.com/errors/conflict","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/filters/{id}":{"get":{"summary":"One filter","operationId":"get_filters__id_","security":[{"bearerAuth":["filters:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"patch":{"summary":"Change a filter","operationId":"patch_filters__id_","security":[{"bearerAuth":["filters:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"criteria":{"type":"string","minLength":1,"maxLength":10000},"symbol":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"delete":{"summary":"Delete a filter","operationId":"delete_filters__id_","security":[{"bearerAuth":["filters:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/filters/{id}/todos":{"get":{"summary":"Evaluate a filter with the engine","operationId":"get_filters__id__todos","security":[{"bearerAuth":["filters:read","todos:read"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/views/overview":{"get":{"summary":"The overview view","operationId":"get_views_overview","security":[{"bearerAuth":["todos:read","containers:read"]}],"parameters":[{"name":"today","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/views/today":{"get":{"summary":"The today view","operationId":"get_views_today","security":[{"bearerAuth":["todos:read","containers:read"]}],"parameters":[{"name":"today","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/views/upcoming":{"get":{"summary":"The upcoming view","operationId":"get_views_upcoming","security":[{"bearerAuth":["todos:read","containers:read"]}],"parameters":[{"name":"today","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/views/anytime":{"get":{"summary":"The anytime view","operationId":"get_views_anytime","security":[{"bearerAuth":["todos:read","containers:read"]}],"parameters":[{"name":"today","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/views/someday":{"get":{"summary":"The someday view","operationId":"get_views_someday","security":[{"bearerAuth":["todos:read","containers:read"]}],"parameters":[{"name":"today","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/views/logbook":{"get":{"summary":"The logbook view","operationId":"get_views_logbook","security":[{"bearerAuth":["todos:read","containers:read"]}],"parameters":[{"name":"today","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"from","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/search":{"get":{"summary":"Search everything","operationId":"get_search","security":[{"bearerAuth":["todos:read","containers:read"]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":4096}},{"name":"updated_since","in":"query","required":false,"schema":{"type":"string","maxLength":24}},{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":512}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/trash":{"get":{"summary":"List trashed roots","operationId":"get_trash","security":[{"bearerAuth":["todos:read"]}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"delete":{"summary":"Empty the trash","operationId":"delete_trash","security":[{"bearerAuth":["todos:write"]}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/settings":{"get":{"summary":"Read settings (platform blobs are never exposed)","operationId":"get_settings","security":[{"bearerAuth":["settings:read"]}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"patch":{"summary":"Change settings","operationId":"patch_settings","security":[{"bearerAuth":["settings:write"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"weekStart":{"anyOf":[{"type":"string","const":"monday"},{"type":"string","const":"sunday"},{"type":"null"}]}},"required":["weekStart"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/keys":{"get":{"summary":"List personal access tokens","operationId":"get_keys","security":[{"bearerAuth":["sessions:read"]}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"post":{"summary":"Create a personal access token (first-party only)","operationId":"post_keys","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/keys/{id}":{"delete":{"summary":"Revoke a personal access token","operationId":"delete_keys__id_","security":[{"bearerAuth":["sessions:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/grants":{"get":{"summary":"List connected apps","operationId":"get_grants","security":[{"bearerAuth":["sessions:read"]}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/grants/{id}":{"delete":{"summary":"Disconnect an app","operationId":"delete_grants__id_","security":[{"bearerAuth":["sessions:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/sessions":{"get":{"summary":"List sessions","operationId":"get_sessions","security":[{"bearerAuth":["sessions:read"]}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/sessions/{id}":{"delete":{"summary":"End a session","operationId":"delete_sessions__id_","security":[{"bearerAuth":["sessions:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/webhooks":{"post":{"summary":"Subscribe to events (the secret is shown once)","operationId":"post_webhooks","security":[{"bearerAuth":["webhooks:write"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string","minLength":1,"maxLength":2048},"events":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","enum":["todo.created","todo.updated","todo.deleted","container.created","container.updated","container.deleted","inbox.created","inbox.updated","inbox.deleted","tag.created","tag.updated","tag.deleted","filter.created","filter.updated","filter.deleted","attachment.created","attachment.updated","attachment.deleted","webhook.ping","webhook.disabled"]}},"description":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}]}},"required":["url","events"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"get":{"summary":"List subscriptions","operationId":"get_webhooks","security":[{"bearerAuth":["webhooks:write"]}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/webhooks/{id}":{"get":{"summary":"One subscription","operationId":"get_webhooks__id_","security":[{"bearerAuth":["webhooks:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"patch":{"summary":"Change url, events or active","operationId":"patch_webhooks__id_","security":[{"bearerAuth":["webhooks:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"url":{"type":"string","minLength":1,"maxLength":2048},"events":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","enum":["todo.created","todo.updated","todo.deleted","container.created","container.updated","container.deleted","inbox.created","inbox.updated","inbox.deleted","tag.created","tag.updated","tag.deleted","filter.created","filter.updated","filter.deleted","attachment.created","attachment.updated","attachment.deleted","webhook.ping","webhook.disabled"]}},"active":{"type":"boolean"},"description":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}]}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"422":{"description":"`validation_failed` — https://devs.inittasks.com/errors/validation_failed","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}},"delete":{"summary":"Delete a subscription","operationId":"delete_webhooks__id_","security":[{"bearerAuth":["webhooks:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/webhooks/{id}/rotate-secret":{"post":{"summary":"New secret; the old one verifies for 24 h","operationId":"post_webhooks__id__rotate-secret","security":[{"bearerAuth":["webhooks:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/webhooks/{id}/ping":{"post":{"summary":"Deliver a webhook.ping event","operationId":"post_webhooks__id__ping","security":[{"bearerAuth":["webhooks:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/webhooks/{id}/deliveries":{"get":{"summary":"The last 100 delivery attempts","operationId":"get_webhooks__id__deliveries","security":[{"bearerAuth":["webhooks:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}},"/webhooks/{id}/deliveries/{did}/redeliver":{"post":{"summary":"Queue the same event again","operationId":"post_webhooks__id__deliveries__did__redeliver","security":[{"bearerAuth":["webhooks:write"]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success"},"401":{"description":"`unauthorized` — https://devs.inittasks.com/errors/unauthorized · `grant_revoked` — https://devs.inittasks.com/errors/grant_revoked · `grant_expired` — https://devs.inittasks.com/errors/grant_expired","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"403":{"description":"`forbidden_scope` — https://devs.inittasks.com/errors/forbidden_scope","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"429":{"description":"`rate_limited` — https://devs.inittasks.com/errors/rate_limited","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}},"500":{"description":"`internal` — https://devs.inittasks.com/errors/internal","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"instance":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"pointer":{"type":"string"},"message":{"type":"string"}},"required":["pointer","message"]}}},"required":["type","title","status"]}}}}}}}}}