Start, pause, or abort a job
import requests
url = "https://{FUSION_HOST}/job-config/jobs/{resource}/actions"
payload = {
"action": "start",
"comment": "Start the job"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"resource": "task:refresh-autocomplete-blob2",
"action": "start",
"accepted": true,
"message": "Job has been started"
}Start, pause, or abort a job
Start, pause, or abort the specified job.
POST
/
job-config
/
jobs
/
{resource}
/
actions
Start, pause, or abort a job
import requests
url = "https://{FUSION_HOST}/job-config/jobs/{resource}/actions"
payload = {
"action": "start",
"comment": "Start the job"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"resource": "task:refresh-autocomplete-blob2",
"action": "start",
"accepted": true,
"message": "Job has been started"
}Path Parameters
The job ID, prefixed with the job type, as in spark:my-spark-job.
Query Parameters
The app to which a job belongs, formatted as app:APP_NAME.
Body
application/json
Was this page helpful?
⌘I