Get the service status
import requests
url = "https://{FUSION HOST}/api/query-rewrite/status"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"node": "<string>",
"messages": [
{
"date": "2023-11-07T05:31:56Z",
"message": "<string>"
}
]
}
]Get the service status
Check the status of the Query Rewrite service.
GET
/
query-rewrite
/
status
Get the service status
import requests
url = "https://{FUSION HOST}/api/query-rewrite/status"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"node": "<string>",
"messages": [
{
"date": "2023-11-07T05:31:56Z",
"message": "<string>"
}
]
}
]Authorizations
Basic authAPI key
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Was this page helpful?
⌘I