Update the status of a scheduled run
curl --request POST \
--url https://api.edges.run/v1/schedules/{scheduled_run_uid}/{action} \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.edges.run/v1/schedules/{scheduled_run_uid}/{action}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.edges.run/v1/schedules/{scheduled_run_uid}/{action}"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"action_id": 123,
"action_name": "<string>",
"user_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspace_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "ACTIVE",
"postponed_until": "2023-11-07T05:31:56Z",
"cron": "<string>",
"timezone": "<string>",
"next_execution_at": "2023-11-07T05:31:56Z",
"last_executed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"parameters": {
"sync_mode": "full"
}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}Schedules
Resume, Pause, or Cancel a Scheduled Run
Pause, resume or cancel a schedule without deleting the runs it has already produced.
POST
/
schedules
/
{scheduled_run_uid}
/
{action}
Update the status of a scheduled run
curl --request POST \
--url https://api.edges.run/v1/schedules/{scheduled_run_uid}/{action} \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.edges.run/v1/schedules/{scheduled_run_uid}/{action}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.edges.run/v1/schedules/{scheduled_run_uid}/{action}"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"action_id": 123,
"action_name": "<string>",
"user_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspace_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "ACTIVE",
"postponed_until": "2023-11-07T05:31:56Z",
"cron": "<string>",
"timezone": "<string>",
"next_execution_at": "2023-11-07T05:31:56Z",
"last_executed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"parameters": {
"sync_mode": "full"
}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}{
"error_label": "<string>",
"error_scope": "input",
"error_ref": "ERR-12345",
"message": "<string>",
"status_code": 123,
"params": {},
"data": {}
}Path Parameters
Response
Returns the scheduled runs
Returns the scheduled runs
