Authorization: Bearer ********************
curl --location --request GET 'https://api.servebolt.io/v1/cronjobs/' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
{
"data": {
"type": "cronjobs",
"id": "283",
"attributes": {
"active": true,
"disabled": false,
"command": "bash myscript.sh",
"comment": "my script",
"schedule": "* * * * *",
"notifications": "none"
},
"relationships": {
"environment": {
"links": {
"related": "https://xxx/v1/environments/1785"
},
"data": {
"type": "environments",
"id": "1785"
}
}
},
"links": {
"self": "https://xxx/v1/cronjobs/283"
}
}
}