Start/pause/abort a job
import requests
url = "https://{FUSION HOST}/api/jobs/{resource}/actions"
payload = {}
headers = {"Content-Type": "*/*"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"resource": "datasource:movies-db",
"action": "start",
"accepted": true,
"message": "Started job datasource:movies-db"
}Start, pause, or abort the specified job.
POST
/
jobs
/
{resource}
/
actions
Start/pause/abort a job
import requests
url = "https://{FUSION HOST}/api/jobs/{resource}/actions"
payload = {}
headers = {"Content-Type": "*/*"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"resource": "datasource:movies-db",
"action": "start",
"accepted": true,
"message": "Started job datasource:movies-db"
}Was this page helpful?
⌘I