Get all templates
GET/templates
Get list of all templates
Request
Query Parameters
Responses
- 200
- 400
- 403
- 423
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
]
Widget editor configuration field linked to the translation locales field in JSON format.
UI CSS script that is associated with this template.
Timestamp of when a record is activated.
Timestamp of when a record is created.
Timestamp of when a record is modified.
Description of template.
UI Html markup text that is associated with this template.
Unique identifier of the given template.
Boolean value of is custom template.
Name for the given template.
Website id of the studio template.
Template status.
Possible values: [DRAFT
, ACTIVE
, PAUSED
]
Field to store tags that are associated with this template.
Template CSS script that is associated with this template.
Template HTML markup that is associated with this template.
Template JavaScript code that is associated with this template.
Type of template.
Possible values: [TEMPLATE
, EDITOR
]
Url associated with this template.
Boolean value to indicate if custom data is being used.
Widget editor code that is associated with this template.
[
{
"config": "string",
"cssCode": "string",
"dateActivated": "2024-07-29T15:51:28.071Z",
"dateCreated": "2024-07-29T15:51:28.071Z",
"dateModified": "2024-07-29T15:51:28.071Z",
"description": "string",
"htmlCode": "string",
"id": 0,
"isCustomTemplate": true,
"name": "string",
"siteId": 0,
"status": "DRAFT",
"tags": [
"string"
],
"templateCssCode": "string",
"templateHtmlCode": "string",
"templateJavaScriptCode": "string",
"type": "TEMPLATE",
"url": "string",
"useCustomData": true,
"widgetEditorTemplate": "string"
}
]
Bad Request
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS
, ERROR
]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}