List imported variables
import requests
url = "https://{FUSION HOST}/api/objects/substitutions"
payload = {}
headers = {"Content-Type": "application/zip"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"properties": [
{
"id": "<string>",
"schema": {
"type": "<string>",
"title": "<string>",
"description": "<string>",
"hints": [
"<string>"
]
}
}
],
"values": {},
"zipFileToken": "<string>"
}Returns variables declared in an imported zip file.
POST
/
objects
/
substitutions
List imported variables
import requests
url = "https://{FUSION HOST}/api/objects/substitutions"
payload = {}
headers = {"Content-Type": "application/zip"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"properties": [
{
"id": "<string>",
"schema": {
"type": "<string>",
"title": "<string>",
"description": "<string>",
"hints": [
"<string>"
]
}
}
],
"values": {},
"zipFileToken": "<string>"
}Was this page helpful?
⌘I