Python
import requests url = "http://api/apollo/jobs/{resource}/schedule" payload = { "resource": { "type": "APPKIT_APP", "id": "<string>", "canonicalName": "<string>", "uri": "<string>" } } headers = {"Content-Type": "application/json"} response = requests.put(url, json=payload, headers=headers) print(response.text)
{ "resource": { "type": "APPKIT_APP", "id": "<string>", "canonicalName": "<string>", "uri": "<string>" }, "enabled": false, "triggers": [ { "enabled": false, "type": "<string>" } ], "default": false }
The job ID
JSON-formatted configuration values
Show child attributes
successful operation
Was this page helpful?