Schedules
Enable Schedule
Documentation
- Introduction
- Quickstart
- Examples
API Reference
Miscellaneous
Schedules
Enable Schedule
This endpoint re-enables a job schedule
POST
/
api
/
schedules
/
{schedule_id}
/
enable
curl --location --request POST 'https://scheduler.booper.dev/api/schedules/be930087-25b6-4227-ac9e-57048ba3bda0/enable' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>'
{
"data": {
"id": "99fe99fe-2b31-4dd2-a52a-67d25b66a609",
"name": null,
"description": null,
"inserted_at": "2023-08-27T02:11:19",
"disabled_at": null,
"user_id": "bd2aa099-6eb7-4dbb-9178-32141def1355"
"frequency": {
"repeat_every": [2, "minutes"]
},
"args": {
"body": {
"channel": "toast",
"content": "Hello world!"
},
"headers": {},
"method": "post",
"repeat_every": [2, "minutes"],
"schedule_in": [30, "seconds"],
"url": "https://scheduler.booper.dev/api/broadcast"
}
}
}
Path
The schedule ID.
Headers
API key
curl --location --request POST 'https://scheduler.booper.dev/api/schedules/be930087-25b6-4227-ac9e-57048ba3bda0/enable' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>'
{
"data": {
"id": "99fe99fe-2b31-4dd2-a52a-67d25b66a609",
"name": null,
"description": null,
"inserted_at": "2023-08-27T02:11:19",
"disabled_at": null,
"user_id": "bd2aa099-6eb7-4dbb-9178-32141def1355"
"frequency": {
"repeat_every": [2, "minutes"]
},
"args": {
"body": {
"channel": "toast",
"content": "Hello world!"
},
"headers": {},
"method": "post",
"repeat_every": [2, "minutes"],
"schedule_in": [30, "seconds"],
"url": "https://scheduler.booper.dev/api/broadcast"
}
}
}
curl --location --request POST 'https://scheduler.booper.dev/api/schedules/be930087-25b6-4227-ac9e-57048ba3bda0/enable' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>'
{
"data": {
"id": "99fe99fe-2b31-4dd2-a52a-67d25b66a609",
"name": null,
"description": null,
"inserted_at": "2023-08-27T02:11:19",
"disabled_at": null,
"user_id": "bd2aa099-6eb7-4dbb-9178-32141def1355"
"frequency": {
"repeat_every": [2, "minutes"]
},
"args": {
"body": {
"channel": "toast",
"content": "Hello world!"
},
"headers": {},
"method": "post",
"repeat_every": [2, "minutes"],
"schedule_in": [30, "seconds"],
"url": "https://scheduler.booper.dev/api/broadcast"
}
}
}