curl --request GET \
--url https://{FUSION_HOST.com}/api/templating/zones/_schema/{type}
{
"type": "Templating Zone",
"title": "Templating Template",
"description": "Stores configuration of the templates.",
"properties": {
"dirty": true,
"metadata": {},
"neverPublished": false,
"isStaging": true,
"isPublished": true,
"inTemplates": [
"e123f4bc-5e7e-46dd-9be8-71a4f73e511a, 8084969c-bd23-40f7-9acf-c68d6798bec2, 441eb3be-7de6-470a-8141-e416a15c7db1, fb148491-b39e-46d1-af33-44cd964d8ee0"
],
"name": "Results List",
"id": "6a163bd4-5098-466c-22aa-40bf68294303",
"type": "result-list",
"tags": [
"zones-controller"
],
"isOmitFilters": false,
"queryProfile": "query-profile",
"uiTreatment": "<string>"
},
"category": "<string>",
"categoryPriority": 123,
"unsafe": true
}
Retrieve the detailed structure of the contents of a zone using ZONE_TYPE or TEMPLATE_TYPE.
curl --request GET \
--url https://{FUSION_HOST.com}/api/templating/zones/_schema/{type}
{
"type": "Templating Zone",
"title": "Templating Template",
"description": "Stores configuration of the templates.",
"properties": {
"dirty": true,
"metadata": {},
"neverPublished": false,
"isStaging": true,
"isPublished": true,
"inTemplates": [
"e123f4bc-5e7e-46dd-9be8-71a4f73e511a, 8084969c-bd23-40f7-9acf-c68d6798bec2, 441eb3be-7de6-470a-8141-e416a15c7db1, fb148491-b39e-46d1-af33-44cd964d8ee0"
],
"name": "Results List",
"id": "6a163bd4-5098-466c-22aa-40bf68294303",
"type": "result-list",
"tags": [
"zones-controller"
],
"isOmitFilters": false,
"queryProfile": "query-profile",
"uiTreatment": "<string>"
},
"category": "<string>",
"categoryPriority": 123,
"unsafe": true
}
The type of object returned in the response. The zone type or template type can be used to return zone schema. An example value of zone type is "Templating Zone". An example value of template type is "landing".
OK
The response is of type object
.
Was this page helpful?