curl --request GET \
--url https://{FUSION_HOST.com}/api/templating/templates/_schema
{
"type": "Templating Template",
"title": "Templating Template",
"description": "Stores configuration of the templates.",
"properties": {
"dirty": true,
"zoneIds": [
"ab6d0e24-9e7a-35h9-a2e7-5hjl72b8a3ea, 2abc1e65-162d-3a8e-76f0-6a962e0f43c5"
],
"metadata": {},
"isStaging": true,
"startTime": "2023-11-07T05:31:56Z",
"app": "application-id",
"isPublished": true,
"triggers": {
"exact": true,
"filters": [
{
"inheritable": true,
"key": "key1",
"value": "value1"
}
],
"matchMode": "all",
"search": "<string>",
"urlContext": "<string>",
"urlPath": "<string>"
}
},
"category": "<string>",
"categoryPriority": 123,
"unsafe": true,
"all": true,
"isMarkedForDeletion": true,
"endTime": "2024-08-24T14:15:22Z",
"dirtyZoneIds": [
"a3e0e22-9e6a-45h9-a2e7-5hjk72b9a3ea, 5avc1e65-162d-5b8e-92f0-6a962e0f43c5"
],
"templateDirty": false,
"neverPublished": false,
"name": "your-app-name",
"priority": 10,
"id": "6a163bd4-5098-466c-22aa-40bf68294303"
}
Retrieve the detailed structure of the contents of a template.
curl --request GET \
--url https://{FUSION_HOST.com}/api/templating/templates/_schema
{
"type": "Templating Template",
"title": "Templating Template",
"description": "Stores configuration of the templates.",
"properties": {
"dirty": true,
"zoneIds": [
"ab6d0e24-9e7a-35h9-a2e7-5hjl72b8a3ea, 2abc1e65-162d-3a8e-76f0-6a962e0f43c5"
],
"metadata": {},
"isStaging": true,
"startTime": "2023-11-07T05:31:56Z",
"app": "application-id",
"isPublished": true,
"triggers": {
"exact": true,
"filters": [
{
"inheritable": true,
"key": "key1",
"value": "value1"
}
],
"matchMode": "all",
"search": "<string>",
"urlContext": "<string>",
"urlPath": "<string>"
}
},
"category": "<string>",
"categoryPriority": 123,
"unsafe": true,
"all": true,
"isMarkedForDeletion": true,
"endTime": "2024-08-24T14:15:22Z",
"dirtyZoneIds": [
"a3e0e22-9e6a-45h9-a2e7-5hjk72b9a3ea, 5avc1e65-162d-5b8e-92f0-6a962e0f43c5"
],
"templateDirty": false,
"neverPublished": false,
"name": "your-app-name",
"priority": 10,
"id": "6a163bd4-5098-466c-22aa-40bf68294303"
}
OK
The response is of type object
.
Was this page helpful?