Get the Fusion API spec (YAML)
import requests
url = "https://{FUSION HOST}/api/swagger/yaml"
response = requests.get(url)
print(response.text)"<string>"Get Fusion API spec as YAML.
GET
/
swagger
/
yaml
Get the Fusion API spec (YAML)
import requests
url = "https://{FUSION HOST}/api/swagger/yaml"
response = requests.get(url)
print(response.text)"<string>"Response
200 - text/yaml
successful operation
The response is of type string.
Was this page helpful?
⌘I