Aerovy Platform logo

List templates

GEThttps://spectra.api.aerovy.com/v2/templates

Lists the calling organization's templates, optionally filtered by target/format and status. Requires an API key with the read action.

Loading code example
Loading code example

Authorizations

apiKeystringheaderrequired

API key passed in the header.

Query Parameters

targetstring

Optional target filter (e.g. `ThingData`).

formatstring

Optional format filter (e.g. `JsonPointer`).

continuationTokenstring

Opaque token from a prior page; omit for the first page.

pageLimitinteger | string<int32>

Page size.

Pattern: ^-?(?:0|[1-9]\d*)$
statusstringdefault: active

Lifecycle filter: `active` (default), `deleted`, or `all`.

Default: "active"

Response

application/json

A page of templates.

itemsarray<object>
items.templateIdstring
items.namestring
items.descriptionstring
items.targetstring
items.formatstring
items.specany
items.specUnparseableboolean

True when the stored spec was not valid JSON (corrupt/legacy row); JsonElement? TemplateResponse.Spec is then null. Reads stay forgiving so one poisoned row can't blank a whole list page.

items.tagsarray<string>
items.revisioninteger | string<int32>
Pattern: ^-?(?:0|[1-9]\d*)$
items.isDeletedboolean
items.createdAtstring<date-time>
items.updatedAtnull | string<date-time>
items.createdBystring
items.updatedBynull | string
continuationTokennull | string
hasMoreboolean