Python
import requests url = "https://{FUSION HOST}/api/jobs/{resource}/history" response = requests.get(url) print(response.json())
[ { "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.
The job ID.
Return first N history items.
successful operation
Resource reference as a string, such as 'datasource:ratings-db'
Values include ready, running, success, aborted, or failed.
ready
running
success
aborted
failed
Show child attributes
Was this page helpful?