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