Skip to content
Connect an agent

Organisations

An organisation pattern's picture

The picture drawn when the pattern was last saved, light or dark, with an organisation diagram's locked-down headers.

GET/orgs/{org}/patterns/{name}/picture

TL;DR

QuestionAnswer
What does it do?An organisation pattern's picture.
What does it take?org, name in the path, and theme, v in the query string.
What does it return?Status 200 with no body.
What can go wrong?401 not signed in, or the key is not valid; 404 no such organisation, pattern or picture, or the caller is not a member of it; 429 too many requests; 503 organisations are not set up on this server. Every failure uses the one error envelope.

What it does

The picture drawn when the pattern was last saved, light or dark, with an organisation diagram's locked-down headers. A pattern saved before pictures were kept has none (404).

Path parameters

FieldTypeRequiredDescription
orgstringyesThe organisation's id or slug.
namestringyesThe name after org:.

Query parameters

FieldTypeRequiredDescription
theme"light" | "dark"noWhich picture: light (the default) or dark.
vstringnoThe save time the list gave, so a new save is a new address. Not read.

Responses

StatusMeaningBody
200The SVG.none
401Not signed in, or the key is not valid.ErrorResponse
404No such organisation, pattern or picture, or the caller is not a member of it.ErrorResponse
429Too many requests.ErrorResponse
503Organisations are not set up on this server.ErrorResponse

See also

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