Python
import requests url = "https://{FUSION HOST}/api/jobs/{resource}/actions" payload = {} headers = {"Content-Type": "*/*"} response = requests.post(url, json=payload, headers=headers) print(response.json())
{ "resource": "datasource:movies-db", "action": "start", "accepted": true, "message": "Started job datasource:movies-db" }
Start, pause, or abort the specified job.
The job ID.
One of: start, pause, or abort.
start
pause
abort
The body is of type object.
object
successful operation
Was this page helpful?