GET/spaces/api/v1/spaces/templates/all.json
get all global and local templates
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
- Code
- 404
- Type
- object
- Schema
- Description
- 404 Not Found
- Code
- 500
- Type
- object
- Schema
- Description
- 500 Internal Server Error
200 OK
AllTemplates
{
"global_templates": [
{
"Global": {
"globalTemplates": [
{
"globaltemplate": {
"LinkedInstallation": {
"installation": {
"id": 0,
"meta": {},
"type": "string"
}
},
"bannerURL": "string",
"content": "string",
"contentRevision": 0,
"description": "string",
"iconURL": "string",
"id": 0,
"isFullWidth": true,
"name": "string",
"state": "active"
}
}
]
},
"Installation": {
"templates": [
{
"template": {
"content": "string",
"contentRevision": 0,
"createdAt": "2024-09-06T11:47:13.090Z",
"createdBy": {
"id": 0,
"meta": {},
"type": "string"
},
"deletedAt": "2024-09-06T11:47:13.090Z",
"deletedBy": {
"id": 0,
"meta": {},
"type": "string"
},
"description": "string",
"iconURL": "string",
"id": 0,
"isFullWidth": true,
"name": "string",
"state": "active",
"templateCount": 0,
"templateLastUsed": "2024-09-06T11:47:13.090Z",
"updatedAt": "2024-09-06T11:47:13.090Z",
"updatedBy": {
"id": 0,
"meta": {},
"type": "string"
}
}
}
]
}
}
]
}