Aerovy Platform logo

Get a template

GEThttps://spectra.api.aerovy.com/v2/templates/{templateId}

Returns a single template by id. Requires an API key with the read action scoped to the template.

Loading code example
Loading code example

Authorizations

apiKeystringheaderrequired

API key passed in the header.

Path Parameters

templateIdstringrequired

The template id.

Response

application/json

The template.

templateIdstring
namestring
descriptionstring
targetstring
formatstring
specany
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.

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