Templates
This API requires Basic HTTP authentication.
The name of the template.
The value is case-insensitive and it returns results that contain this value.
The status of the template.
Possible values are: DRAFT, PUBLISHED or OBSOLETE. The value is case-insensitive. An invalid value results in an error response.
The ID of the asset type.
Whether it should only return the latest version of each template. The interaction with the status parameter is as follows:
- If the
statusparameter is not set, it returns the latest version of each template regardless of the status. - If the
statusparameter is set toPUBLISHED, it returns the latest published version of each template. - If the
statusparameter is set toDRAFT, it returns the latest draft version of each template. - If the
statusparameter is set toOBSOLETE, it returns the latest obsolete version of each template.
The maximum number of resources to retrieve.
If not set, the default limit of 10 is be used. The maximum value for this parameter is 50.
10The cursor pointing to the first resource to be included in the response. This cursor cannot be created and must have been extracted from a response returned by a previous API call.
If this parameter is missing, the API returns the resources starting from the first available resource, at index 0.
Example of a response for listing templates.
A page object containing templates.
The cursor pointing to the next page. If the cursor is missing, there are no additional pages of resources available after the current one.
Y3Vyc29yV2hlblRoZXJlSXNNb3JlRGF0YQoThe request is not valid.
The client is not authenticated.
The user lacks permissions.
There was an error processing the request.
This API requires Basic HTTP authentication.
The ID of the template.
Example of a response for get template.
A base template object.
The ID of the template.
c8643d4d-f9f8-4484-b9c2-d0f3432e295fThe name of the template.
Legal ChecksThe version of the template.
1The status of the template.
PUBLISHEDFlag to indicate if notifications are on or off for the template.
trueThe request is not valid.
The client is not authenticated.
The user lacks permissions.
Resource not found.
There was an error processing the request.
Last updated
Was this helpful?