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.text)
{ "resource": "datasource:movies-db", "action": "start", "accepted": true, "message": "Started job datasource:movies-db" }
Start, pause, or abort the specified job.
Documentation IndexFetch the complete documentation index at: https://doc.lucidworks.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
Use this file to discover all available pages before exploring further.
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?