Retrieve the JSON schema
import requests
url = "https://{FUSION HOST}/api/index-profiles/_schema"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text){
"title": "<string>",
"description": "<string>",
"required": [
"<string>"
],
"properties": {},
"additionalProperties": {},
"minProperties": 123,
"maxProperties": 123,
"definitions": {},
"category": "<string>",
"categoryPriority": 123,
"hints": [
"<string>"
],
"unsafe": true,
"default": {},
"oneOf": [
{
"title": "<string>",
"description": "<string>",
"default": {},
"category": "<string>",
"categoryPriority": 123,
"hints": [
"<string>"
],
"unsafe": true
}
],
"propertyGroups": [
{
"label": "<string>",
"properties": [
"<string>"
]
}
]
}Retrieve the JSON schema
Get the JSON configuration schema for index profiles.
GET
/
index-profiles
/
_schema
Retrieve the JSON schema
import requests
url = "https://{FUSION HOST}/api/index-profiles/_schema"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text){
"title": "<string>",
"description": "<string>",
"required": [
"<string>"
],
"properties": {},
"additionalProperties": {},
"minProperties": 123,
"maxProperties": 123,
"definitions": {},
"category": "<string>",
"categoryPriority": 123,
"hints": [
"<string>"
],
"unsafe": true,
"default": {},
"oneOf": [
{
"title": "<string>",
"description": "<string>",
"default": {},
"category": "<string>",
"categoryPriority": 123,
"hints": [
"<string>"
],
"unsafe": true
}
],
"propertyGroups": [
{
"label": "<string>",
"properties": [
"<string>"
]
}
]
}Authorizations
Basic authAPI key
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response
OK
Configuration properties.
Available options:
string, number, integer, boolean, object, array, null, ref Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?
⌘I