Organisations
A library picture as a PNG, for Google Slides and Docs
The address a placed diagram is fetched from by Google, with a token Plotwork signed that works for five minutes.
GET
/raster/{file}TL;DR
| Question | Answer |
|---|---|
| What does it do? | A library picture as a PNG, for Google Slides and Docs. |
| What does it take? | file in the path. |
| What does it return? | Status 200 with no body. |
| What can go wrong? | 404 the link is not good, or the diagram may not be shown (raster.not_found); 429 too many requests; 503 painting pictures is not available on this server (raster.unavailable). Every failure uses the one error envelope. |
What it does
The address a placed diagram is fetched from by Google, with a token Plotwork signed that works for five minutes.
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
file | string | yes |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The picture. | none |
| 404 | The link is not good, or the diagram may not be shown (raster.not_found). | ErrorResponse |
| 429 | Too many requests. | ErrorResponse |
| 503 | Painting pictures is not available on this server (raster.unavailable). | 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 |