Get zones schema
import requests
url = "https://{FUSION_HOST.com}/api/templating/zones/_schema"
response = requests.get(url)
print(response.text){
"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
}Get zones schema
Retrieve the detailed structure of the contents of a zone.
GET
/
zones
/
_schema
Get zones schema
import requests
url = "https://{FUSION_HOST.com}/api/templating/zones/_schema"
response = requests.get(url)
print(response.text){
"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
}Response
OK
The type of object returned in the response.
Example:
"Templating Zone"
Description of what is returned in the schema response.
Example:
"Templating Template"
Description of the information stored in the schema.
Example:
"Stores configuration of the templates."
Properties stored in the schema.
Show child attributes
Show child attributes
The category of the object in the schema.
The importance (priority) of the object in the schema.
The security status of the objects in the schema. If false, the schema contents are valid. If true, the schema contents are not valid.
Was this page helpful?
⌘I