Skip to content
Connect an agent

Hosting

List the diagrams of one of your series

The account's diagrams published with this series id, by their place in the series.

GET/user/diagrams/series/{seriesId}

TL;DR

QuestionAnswer
What does it do?List the diagrams of one of your series.
What does it take?seriesId in the path.
What does it return?Status 200 with a body of type HostedDiagramSeries.
What can go wrong?400 the series id is not letters, digits, - and _; 401 not signed in; 429 too many requests; 503 hosting is not set up on this server. Every failure uses the one error envelope.

What it does

The account's diagrams published with this series id, by their place in the series. An unknown series is an empty list.

Path parameters

FieldTypeRequiredDescription
seriesIdstringyesThe series id the parts were published with.

Responses

StatusMeaningBody
200The diagrams of the series.HostedDiagramSeries
400The series id is not letters, digits, - and _.ErrorResponse
401Not signed in.ErrorResponse
429Too many requests.ErrorResponse
503Hosting is not set up on this server.ErrorResponse

Response body

A 200 answer has the type HostedDiagramSeries.

FieldTypeRequiredDescription
itemsHostedDiagram[]yesBy place in the series, then newest first should two share a place.
items[].idstringyesThe handle for managing the diagram (delete). It is not in the link.
items[].urlstringyesThe public address of the SVG. Anyone with the link can see it; the token in it cannot be guessed.
items[].namestring | nullyesThe label given at publish, or null.
items[].folderstring | nullyesThe folder it is filed in, such as Payments/Checkout, or null for the top level.
items[].scheme"light" | "dark" | "auto"yesThe color scheme it was drawn in: light, dark, or auto.
items[].bytesintegeryesSize of the stored SVG in bytes.
items[].createdAtintegeryesWhen it was first published, in milliseconds since the epoch.
items[].publishedAtintegeryesWhen it was last published, in milliseconds since the epoch. Publishing the same diagram again moves it.
items[].expiresAtinteger | nullyesWhen it will be deleted, in milliseconds since the epoch, or null when the plan keeps diagrams until you delete them.
items[].lockedbooleanyesTrue while the diagram is locked: it cannot be deleted, renamed or moved until you unlock it. A lock does not stop it expiring on a plan that expires diagrams.
items[].lockedAtinteger | nullyesWhen it was locked, in milliseconds since the epoch, or null when it is not locked.
items[].seriesDiagramSeriesyesIts place in a series (the parts of one split import), or null when it is in none.
items[].series.idstringyesThe series id the parts were published with.
items[].series.indexintegeryesIts place in the series, from 1; 0 is the whole import combined into one diagram.
items[].series.totalinteger | nullyesHow many parts the publisher said the series has, or null.

See also

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