Menu

List a template's versions

GET/v1/templates/{id}/versions

Requires an API key with the templates:read scope. About keys and scopes

Published versions, newest first, without their content. The newest is the one sends use.

Path parameters

idstringrequired

uuid

Query parameters

limitintegeroptional

min > 0 · max 100 · default 20

cursorstringoptional

1–2048 characters

Returns

Returns 200 OK with a list of TemplateVersionListItem objects in data, and the next page's cursor in meta (see pagination). Otherwise returns an error; Errors lists every code and which to retry.

versionintegerrequired

The version number, from 1.

min > 0 · max 9007199254740991

publishedByUserIdstring | nullrequired

Who published it; null when published through an API key, or by a member since removed.

uuid

publishedAtstringrequired

When this version was published.

date-time