Create an app
import requests
url = "https://{FUSION HOST}/api/apps"
payload = {
"id": "MyNewApp",
"name": "My new app",
"description": "A really great new app"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "MyNewApp",
"name": "My new app",
"description": "A really great new app"
}Create a new Fusion app.
POST
/
apps
Create an app
import requests
url = "https://{FUSION HOST}/api/apps"
payload = {
"id": "MyNewApp",
"name": "My new app",
"description": "A really great new app"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "MyNewApp",
"name": "My new app",
"description": "A really great new app"
}Body
application/json
Was this page helpful?
⌘I