Python
import requests url = "https://{FUSION HOST}/api/jobs/{resource}/schedule" response = requests.get(url) print(response.json())
{ "resource": "<string>", "enabled": true, "triggers": [ { "enabled": true, "type": "interval", "startTime": "2023-11-07T05:31:56Z", "endTime": "2023-11-07T05:31:56Z", "interval": 123, "repeatUnit": "minute", "value": "<string>", "jobID": "<string>", "runOnSuccess": true, "runOnFailure": true, "runOnAbort": true } ], "default": true }
Get the schedule for the specified job.
The job ID.
successful operation
Resource reference as a string, such as 'datasource:ratings-db'
Show child attributes
Was this page helpful?