import requests
url = "https://{FUSION HOST}/api/history/{service}"
response = requests.get(url)
print(response.text){
"events": [
{
"start": "2014-05-16T14:11:48.849Z",
"end": "2014-05-16T14:11:48.849Z",
"source": "index-pipelines::v1",
"type": "start",
"status": "ok",
"details": null,
"error": null
},
{
"start": "2014-05-16T14:12:48.845Z",
"end": "2014-05-16T14:12:48.845Z",
"source": "index-pipelines::v1",
"type": "start",
"status": "ok",
"details": null,
"error": null
}
]
}Return information about a service.
import requests
url = "https://{FUSION HOST}/api/history/{service}"
response = requests.get(url)
print(response.text){
"events": [
{
"start": "2014-05-16T14:11:48.849Z",
"end": "2014-05-16T14:11:48.849Z",
"source": "index-pipelines::v1",
"type": "start",
"status": "ok",
"details": null,
"error": null
},
{
"start": "2014-05-16T14:12:48.845Z",
"end": "2014-05-16T14:12:48.845Z",
"source": "index-pipelines::v1",
"type": "start",
"status": "ok",
"details": null,
"error": null
}
]
}The name of a service.
Time range in Solr format. Default value is [NOW-30DAYS/DAY TO NOW].
Maximum number of history elements to retrieve. Default value is 50. For values greater than 500, only 500 history elements will be retrieved.
successful operation
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?