{"openapi":"3.1.0","info":{"title":"Elasticr support portal API","version":"1.0.0","description":"Requests, comments and attachments of your company in the Elasticr support portal, for integrations (Jira, Asana, n8n…) and AI assistants (MCP at /mcp). Authenticate with \"Authorization: Bearer <token>\" — an integration token your company's administrator creates in the portal under Integrations."},"servers":[{"url":"https://elasticr-portal-api.fra.appwrite.run"}],"paths":{"/v1/me":{"get":{"operationId":"get_me","summary":"Who this token is","description":"The company, the integration, its projects and permissions, and when the token expires.","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/projects":{"get":{"operationId":"list_projects","summary":"List projects","description":"The projects this integration may work with.","x-required-scope":"requests:read","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/projects/{projectId}/request-types":{"get":{"operationId":"list_request_types","summary":"List request types of a project","description":"The request types a request may have, with their custom fields (key, label, kind, options, required).","x-required-scope":"requests:read","security":[{"bearerAuth":[]}],"parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","maxLength":36}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/statuses":{"get":{"operationId":"list_statuses","summary":"List request statuses","description":"Every status a request can be in, as customers see it: key, name, category (todo, in_progress, done, canceled) and whether it is final. Keys are stable; names may change.","x-required-scope":"requests:read","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/requests":{"get":{"operationId":"list_requests","summary":"List requests","description":"Requests of the integration's projects, without their descriptions (get_request has them). To sync, poll with updatedSince = the previous answer's nextUpdatedSince and order updated_asc, follow nextCursor to the end, and de-duplicate by key + updatedAt: internal bookkeeping can also move updatedAt. Poll at most every 5 minutes.","x-required-scope":"requests:read","security":[{"bearerAuth":[]}],"parameters":[{"name":"projectId","in":"query","required":false,"schema":{"type":"string","maxLength":36}},{"name":"status","in":"query","required":false,"description":"Status keys (repeat or comma-separate).","schema":{"type":"array","maxItems":20,"items":{"type":"string","maxLength":40}},"style":"form","explode":true},{"name":"category","in":"query","required":false,"schema":{"type":"string","enum":["todo","in_progress","done","canceled"]}},{"name":"open","in":"query","required":false,"description":"true = not in a final status; false = final.","schema":{"type":"boolean"}},{"name":"updatedSince","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"createdSince","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"q","in":"query","required":false,"description":"Words of the summary.","schema":{"type":"string","minLength":2,"maxLength":100}},{"name":"order","in":"query","required":false,"description":"Default updated_desc (REST: updated_asc when updatedSince is given).","schema":{"type":"string","enum":["updated_asc","updated_desc","created_desc"]}},{"name":"limit","in":"query","required":false,"description":"Page size (REST default 50, max 100; MCP max 20).","schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"The nextCursor of the previous page, with the same filters.","schema":{"type":"string","maxLength":400}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create_request","summary":"Raise a request","description":"Raises a request in one of the integration's projects. It shows as raised by this integration; pass onBehalfOf so a person of your company follows it.","x-required-scope":"requests:create","security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Retries with the same key return the first result instead of acting twice.","schema":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string","maxLength":36},"typeId":{"type":"string","maxLength":36,"description":"From list_request_types."},"title":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":65000,"description":"Plain text."},"priority":{"type":"string","enum":["low","normal","high","critical"]},"language":{"type":"string","enum":["cs","en"]},"fields":{"type":"object","maxProperties":60,"description":"Custom field values by key (strings)."},"applicationIds":{"type":"array","maxItems":10,"items":{"type":"string","maxLength":36}},"attachments":{"type":"array","maxItems":10,"items":{"type":"string","maxLength":36},"description":"Ids of files uploaded with upload_attachment (POST /v1/attachments) in the last 24 hours."},"onBehalfOf":{"type":"string","maxLength":254,"description":"E-mail of a portal user of your company with access to the project: they are added as a watcher, so a person is notified and can follow the request."},"idempotencyKey":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$","description":"MCP only: retries with the same key act once (REST: the Idempotency-Key header)."}},"required":["projectId","typeId","title"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/requests/{key}":{"get":{"operationId":"get_request","summary":"Get a request","description":"One request with its description, custom fields, attachments and SLA.","x-required-scope":"requests:read","security":[{"bearerAuth":[]}],"parameters":[{"name":"key","in":"path","required":true,"description":"The request key, e.g. SUP-1042.","schema":{"type":"string","pattern":"^[A-Za-z]{2,10}-[0-9]{1,9}$"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/requests/{key}/comments":{"get":{"operationId":"get_comments","summary":"List the comments of a request","description":"The public conversation of a request, oldest first. changedSince returns comments created or edited since then (with nextUpdatedSince for the next poll); removed ones are in GET /v1/removals.","x-required-scope":"requests:read","security":[{"bearerAuth":[]}],"parameters":[{"name":"key","in":"path","required":true,"description":"The request key, e.g. SUP-1042.","schema":{"type":"string","pattern":"^[A-Za-z]{2,10}-[0-9]{1,9}$"}},{"name":"changedSince","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","required":false,"description":"Page size (REST default 50, max 100; MCP max 20).","schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"The nextCursor of the previous page, with the same filters.","schema":{"type":"string","maxLength":400}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"add_comment","summary":"Add a comment to a request","description":"Adds a public comment (support and everyone following the request see it). A comment on a request waiting for you, or a resolved one, moves it back to support as the portal does.","x-required-scope":"requests:comment","security":[{"bearerAuth":[]}],"parameters":[{"name":"key","in":"path","required":true,"description":"The request key, e.g. SUP-1042.","schema":{"type":"string","pattern":"^[A-Za-z]{2,10}-[0-9]{1,9}$"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Retries with the same key return the first result instead of acting twice.","schema":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","maxLength":65000,"description":"Plain text."},"attachments":{"type":"array","maxItems":10,"items":{"type":"string","maxLength":36},"description":"Ids of files uploaded with upload_attachment (POST /v1/attachments) in the last 24 hours."},"onBehalfOf":{"type":"string","maxLength":254,"description":"E-mail of a portal user of your company with access to the project: they are added as a watcher, so a person is notified and can follow the request."},"idempotencyKey":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$","description":"MCP only: retries with the same key act once (REST: the Idempotency-Key header)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/comments":{"get":{"operationId":"list_comments","summary":"List comments across requests","description":"Comments of every request of the integration's projects created or edited since changedSince — one call per poll instead of one per request.","x-required-scope":"requests:read","security":[{"bearerAuth":[]}],"parameters":[{"name":"projectId","in":"query","required":false,"schema":{"type":"string","maxLength":36}},{"name":"changedSince","in":"query","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","required":false,"description":"Page size (REST default 50, max 100; MCP max 20).","schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"The nextCursor of the previous page, with the same filters.","schema":{"type":"string","maxLength":400}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/removals":{"get":{"operationId":"list_removals","summary":"List removed comments","description":"Public comments that left the conversation since `since` (hidden by support, moved to an internal note, or deleted) — delete them from your copy. Kept for 30 days.","x-required-scope":"requests:read","security":[{"bearerAuth":[]}],"parameters":[{"name":"since","in":"query","required":true,"schema":{"type":"string","format":"date-time"}},{"name":"limit","in":"query","required":false,"description":"Page size (REST default 50, max 100; MCP max 20).","schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"The nextCursor of the previous page, with the same filters.","schema":{"type":"string","maxLength":400}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/requests/{key}/transitions":{"get":{"operationId":"list_transitions","summary":"List the moves available on a request","description":"The transitions the customer side may run on this request now (e.g. confirm a solution, say it is not solved), with whether a comment is required.","x-required-scope":"requests:read","security":[{"bearerAuth":[]}],"parameters":[{"name":"key","in":"path","required":true,"description":"The request key, e.g. SUP-1042.","schema":{"type":"string","pattern":"^[A-Za-z]{2,10}-[0-9]{1,9}$"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/requests/{key}/transitions/{transitionId}":{"post":{"operationId":"transition_request","summary":"Move a request","description":"Runs one of the moves list_transitions offers (e.g. confirm a solution, which closes the request). A move that needs a comment takes it here.","x-required-scope":"requests:transition","security":[{"bearerAuth":[]}],"parameters":[{"name":"key","in":"path","required":true,"description":"The request key, e.g. SUP-1042.","schema":{"type":"string","pattern":"^[A-Za-z]{2,10}-[0-9]{1,9}$"}},{"name":"transitionId","in":"path","required":true,"schema":{"type":"string","maxLength":60}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Retries with the same key return the first result instead of acting twice.","schema":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"comment":{"type":"string","maxLength":65000},"fields":{"type":"object","maxProperties":60},"attachments":{"type":"array","maxItems":10,"items":{"type":"string","maxLength":36},"description":"Ids of files uploaded with upload_attachment (POST /v1/attachments) in the last 24 hours."},"idempotencyKey":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$","description":"MCP only: retries with the same key act once (REST: the Idempotency-Key header)."}},"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/requests/{key}/attachments/{fileId}":{"get":{"operationId":"get_attachment","summary":"Download an attachment","description":"The file of a request or of one of its public comments.","x-required-scope":"attachments:read","security":[{"bearerAuth":[]}],"parameters":[{"name":"key","in":"path","required":true,"description":"The request key, e.g. SUP-1042.","schema":{"type":"string","pattern":"^[A-Za-z]{2,10}-[0-9]{1,9}$"}},{"name":"fileId","in":"path","required":true,"schema":{"type":"string","maxLength":36}}],"responses":{"200":{"description":"The file","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/attachments":{"post":{"operationId":"upload_attachment","summary":"Upload an attachment","description":"Stores a file for 24 hours; name its id in attachments of create_request, add_comment or transition_request to attach it. REST: the raw bytes as the body (up to 10 MB), the file name in ?filename=, its type in Content-Type.","x-required-scope":"attachments:write","security":[{"bearerAuth":[]}],"parameters":[{"name":"filename","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Retries with the same key return the first result instead of acting twice.","schema":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$"}}],"requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The request is not valid (see error.details).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, malformed, revoked or expired token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The token lacks the scope, or the company has no access.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found, or not visible to this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests; wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Scopes: `requests:read` — Read the projects, request types, statuses, requests and public comments.; `requests:create` — Raise new requests.; `requests:comment` — Add public comments to requests.; `requests:transition` — Move requests through the transitions a customer may run (confirm, reopen…).; `attachments:read` — Download the attachments of requests and comments.; `attachments:write` — Upload attachments for new requests and comments."}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","requestId"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"code":{"type":"string"},"message":{"type":"string"}}}},"requestId":{"type":"string"}}}}}}}}