Get settings schema
import requests
url = "https://{FUSION_HOST.com}/api/templating/settings/_schema"
response = requests.get(url)
print(response.text)HttpResponse<String> response = Unirest.get("https://{FUSION_HOST.com}/api/templating/settings/_schema")
.asString();const options = {method: 'GET'};
fetch('https://{FUSION_HOST.com}/api/templating/settings/_schema', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://{FUSION_HOST.com}/api/templating/settings/_schema")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodypackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{FUSION_HOST.com}/api/templating/settings/_schema"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{FUSION_HOST.com}/api/templating/settings/_schema",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}curl --request GET \
--url https://{FUSION_HOST.com}/api/templating/settings/_schema{
"type": "object",
"title": "General settings of the template service.",
"description": "Stores common application configuration of templating service.",
"properties": {
"id": {
"type": "<string>",
"title": "<string>",
"description": "<string>"
},
"app": {
"type": "<string>",
"title": "<string>",
"description": "<string>"
},
"hierarchyFields": {
"type": "array",
"title": "Hierarchy fields",
"description": "<string>",
"items": {
"type": "object",
"properties": {
"field": {
"type": "<string>",
"title": "<string>",
"description": "<string>"
}
},
"separator": {
"type": "<string>",
"title": "<string>",
"description": "<string>"
}
}
}
},
"category": "<string>",
"categoryPriority": "<string>",
"unsafe": true
}This response has no body data.This response has no body data.This response has no body data.Get settings schema
Retrieve the configuration schema for settings.
GET
/
settings
/
_schema
Get settings schema
import requests
url = "https://{FUSION_HOST.com}/api/templating/settings/_schema"
response = requests.get(url)
print(response.text)HttpResponse<String> response = Unirest.get("https://{FUSION_HOST.com}/api/templating/settings/_schema")
.asString();const options = {method: 'GET'};
fetch('https://{FUSION_HOST.com}/api/templating/settings/_schema', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://{FUSION_HOST.com}/api/templating/settings/_schema")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodypackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{FUSION_HOST.com}/api/templating/settings/_schema"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{FUSION_HOST.com}/api/templating/settings/_schema",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}curl --request GET \
--url https://{FUSION_HOST.com}/api/templating/settings/_schema{
"type": "object",
"title": "General settings of the template service.",
"description": "Stores common application configuration of templating service.",
"properties": {
"id": {
"type": "<string>",
"title": "<string>",
"description": "<string>"
},
"app": {
"type": "<string>",
"title": "<string>",
"description": "<string>"
},
"hierarchyFields": {
"type": "array",
"title": "Hierarchy fields",
"description": "<string>",
"items": {
"type": "object",
"properties": {
"field": {
"type": "<string>",
"title": "<string>",
"description": "<string>"
}
},
"separator": {
"type": "<string>",
"title": "<string>",
"description": "<string>"
}
}
}
},
"category": "<string>",
"categoryPriority": "<string>",
"unsafe": true
}This response has no body data.This response has no body data.This response has no body data.Response
OK
The type of object returned in the response.
Description of what is returned in the schema response.
Example:
"General settings of the template service."
Description of the information stored in the schema.
Example:
"Stores common application configuration of templating service."
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