cURL
curl --request GET \ --url https://api.trysiren.io/api/v1/public/template \ --header 'Authorization: <authorization>'
{ "data": { "totalElements": 0, "totalPages": 0, "size": 0, "content": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "string", "description": "string", "variables": [ { "name": "string", "defaultValue": "string" } ], "tags": [ "string" ], "draftVersion": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "version": 0, "status": "PUBLISHED_LATEST", "publishedAt": "2024-08-30T07:31:07.380Z" }, "publishedVersion": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "version": 0, "status": "PUBLISHED_LATEST", "publishedAt": "2024-08-30T07:31:07.380Z" }, "templateVersions": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "version": 0, "status": "PUBLISHED_LATEST", "publishedAt": "2024-08-30T07:31:07.380Z" } ] } ], "number": 0, "sort": { "empty": true, "unsorted": true, "sorted": true }, "numberOfElements": 0, "first": true, "last": true, "pageable": { "offset": 0, "sort": { "empty": true, "unsorted": true, "sorted": true }, "pageNumber": 0, "paged": true, "pageSize": 0, "unpaged": true }, "empty": true }, "error": null, "errors": null, "meta": null }
Fetch all templates with filtering and pagination
Bearer {{apiToken}}
BAD_REQUEST
200
400
401
404
Was this page helpful?