Skip to content
Connect an agent

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

QuestionAnswer
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

FieldTypeRequiredDescription
filestringyes

Responses

StatusMeaningBody
200The picture.none
404The link is not good, or the diagram may not be shown (raster.not_found).ErrorResponse
429Too many requests.ErrorResponse
503Painting pictures is not available on this server (raster.unavailable).ErrorResponse

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools