import requests
url = "https://{FUSION HOST}/api/data-models/_schema"
response = requests.get(url)
print(response.text){
"type": "String",
"title": "<string>",
"description": "<string>",
"required": [
"<string>"
],
"properties": {},
"additionalProperties": {},
"minProperties": 123,
"maxProperties": 123,
"definitions": {},
"category": "<string>",
"categoryPriority": 123,
"enum": [
{}
],
"hints": [
"<string>"
],
"unsafe": true,
"default": {},
"oneOf": [
{
"type": "String",
"title": "<string>",
"description": "<string>",
"enum": [
{}
],
"default": {},
"category": "<string>",
"categoryPriority": 123,
"hints": [
"<string>"
],
"unsafe": true,
"oneOf": "<unknown>"
}
],
"propertyGroups": [
{
"label": "<string>",
"properties": [
"<string>"
]
}
]
}Fetch the JSON schema for data models.
import requests
url = "https://{FUSION HOST}/api/data-models/_schema"
response = requests.get(url)
print(response.text){
"type": "String",
"title": "<string>",
"description": "<string>",
"required": [
"<string>"
],
"properties": {},
"additionalProperties": {},
"minProperties": 123,
"maxProperties": 123,
"definitions": {},
"category": "<string>",
"categoryPriority": 123,
"enum": [
{}
],
"hints": [
"<string>"
],
"unsafe": true,
"default": {},
"oneOf": [
{
"type": "String",
"title": "<string>",
"description": "<string>",
"enum": [
{}
],
"default": {},
"category": "<string>",
"categoryPriority": 123,
"hints": [
"<string>"
],
"unsafe": true,
"oneOf": "<unknown>"
}
],
"propertyGroups": [
{
"label": "<string>",
"properties": [
"<string>"
]
}
]
}successful operation
String, Number, Integer, Boolean, Object, Array, Null, Ref Show child attributes
Show child attributes
String, Number, Integer, Boolean, Object, Array, Null, Ref Show child attributes
String, Number, Integer, Boolean, Object, Array, Null, Ref Show child attributes
Show child attributes
String, Number, Integer, Boolean, Object, Array, Null, Ref Show child attributes
String, Number, Integer, Boolean, Object, Array, Null, Ref Show child attributes
Was this page helpful?