Get a job's run history
import requests
url = "https://{FUSION HOST}/api/jobs/{resource}/history"
response = requests.get(url)
print(response.text)[
{
"resource": "datasource:movies-db",
"startTime": "2017-05-17T21:01:46.743Z",
"endTime": "2017-05-17T21:02:05.720Z",
"status": "success"
},
{
"resource": "datasource:movies-db",
"startTime": "2017-05-17T20:58:10.503Z",
"endTime": "2017-05-17T20:58:42.020Z",
"status": "success"
}
]Get the run history for the specified job.
GET
/
jobs
/
{resource}
/
history
Get a job's run history
import requests
url = "https://{FUSION HOST}/api/jobs/{resource}/history"
response = requests.get(url)
print(response.text)[
{
"resource": "datasource:movies-db",
"startTime": "2017-05-17T21:01:46.743Z",
"endTime": "2017-05-17T21:02:05.720Z",
"status": "success"
},
{
"resource": "datasource:movies-db",
"startTime": "2017-05-17T20:58:10.503Z",
"endTime": "2017-05-17T20:58:42.020Z",
"status": "success"
}
]Path Parameters
The job ID.
Query Parameters
Return first N history items.
Response
200 - */*
successful operation
Resource reference as a string, such as 'datasource:ratings-db'
Values include ready, running, success, aborted, or failed.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?
⌘I