Organisations
Read the picture a request is about
The proposed picture of a new version, or the diagram's own for a publish and a share.
GET
/orgs/{org}/approvals/{id}/svgTL;DR
| Question | Answer |
|---|---|
| What does it do? | Read the picture a request is about. |
| What does it take? | org, id in the path. |
| What does it return? | Status 200 with no body. |
| What can go wrong? | 401 not signed in; 403 the caller does not approve (orgs.forbidden); 404 no such organisation, request or picture; 429 too many requests; 503 organisations are not set up on this server. Every failure uses the one error envelope. |
What it does
The proposed picture of a new version, or the diagram's own for a publish and a share. Approvers only.
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
org | string | yes | The organisation's id or its slug. |
id | string | yes |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The SVG. | none |
| 401 | Not signed in. | ErrorResponse |
| 403 | The caller does not approve (orgs.forbidden). | ErrorResponse |
| 404 | No such organisation, request or picture. | ErrorResponse |
| 429 | Too many requests. | ErrorResponse |
| 503 | Organisations are not set up on this server. | ErrorResponse |
See also
| Doc | Why |
|---|---|
| API reference | Every endpoint, and the error envelope |
| Schemas | Every request and response type |
| Tool reference | The operations as callable tools |