Documentation menu

Templates

2 operations.

MethodEndpointDescription
GET/api/v1/templatesSearch the template library by keyword, category, and tags
GET/api/v1/templates/{templateId}Fetch a template bundle by id

Search the template library by keyword, category, and tags

GET/api/v1/templates

Parameters

query

NameTypeRequiredDescription
qstringoptionalSearches the template library using this text query. Applies to Search the template library by keyword, category, and tags.
categorystringoptionalFilters templates to the requested category. Applies to Search the template library by keyword, category, and tags.
tagsarray<string>optionalFilters templates to entries carrying all requested tags. Applies to Search the template library by keyword, category, and tags.
limitintegeroptionalSets the maximum number of resources returned in this page. Applies to Search the template library by keyword, category, and tags.
cursorstringoptionalOpaque cursor returned by the previous page; omit it to read the first page. Applies to Search the template library by keyword, category, and tags.

Responses

StatusDescriptionBody
200Response for status 200
application/json
object
  • templates (required): array<object>
  • pagination (required): object
400Bad Request
application/json
PublicApiError
  • error (required): object
401Authentication failed. Possible reasons: - Authorization header is not provided - Invalid credentials
application/json
PublicApiError
  • error (required): object
403Access denied. The authenticated user does not have permission to perform this action.
application/json
PublicApiError
  • error (required): object
422Request validation failed. Check the request body, query parameters, or path parameters.
application/json
PublicApiError
  • error (required): object
500The server could not complete the request.
application/json
PublicApiError
  • error (required): object

Fetch a template bundle by id

GET/api/v1/templates/{templateId}

Parameters

path

NameTypeRequiredDescription
templateIdstringrequiredIdentifies the template being addressed. Applies to Fetch a template bundle by id.

Responses

StatusDescriptionBody
200Response for status 200
application/json
object
  • data (required): object
400The request is malformed or cannot be processed.
application/json
PublicApiError
  • error (required): object
401Authentication failed. Possible reasons: - Authorization header is not provided - Invalid credentials
application/json
PublicApiError
  • error (required): object
403Access denied. The authenticated user does not have permission to perform this action.
application/json
PublicApiError
  • error (required): object
404Template not found.
application/json
PublicApiError
  • error (required): object
422Request validation failed. Check the request body, query parameters, or path parameters.
application/json
PublicApiError
  • error (required): object
500The server could not complete the request.
application/json
PublicApiError
  • error (required): object