Skip to main content
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.json())
{
  "resource": "datasource:movies-db",
  "action": "start",
  "accepted": true,
  "message": "Started job datasource:movies-db"
}

Path Parameters

resource
string
required

The job ID.

Body

*/* · object

One of: start, pause, or abort.

The body is of type object.

Response

200 - */*

successful operation

resource
string
action
enum<string>
Available options:
start,
pause,
abort
accepted
boolean
message
string