curl -X GET \
-H "Authorization: Bearer alf_your_key_here" \
/api/v1/schedules
[
{
"scheduleId": "curator-hourly",
"info": {
"spec": {
"cronExpressions": ["0 * * * *"]
},
"workflowType": {
"name": "CuratorWorkflow"
},
"paused": false
}
},
{
"scheduleId": "janitor-daily",
"info": {
"spec": {
"cronExpressions": ["0 2 * * *"]
},
"workflowType": {
"name": "JanitorWorkflow"
},
"paused": false
}
}
]
Retrieve all workflow schedules
curl -X GET \
-H "Authorization: Bearer alf_your_key_here" \
/api/v1/schedules
[
{
"scheduleId": "curator-hourly",
"info": {
"spec": {
"cronExpressions": ["0 * * * *"]
},
"workflowType": {
"name": "CuratorWorkflow"
},
"paused": false
}
},
{
"scheduleId": "janitor-daily",
"info": {
"spec": {
"cronExpressions": ["0 2 * * *"]
},
"workflowType": {
"name": "JanitorWorkflow"
},
"paused": false
}
}
]
curl -X GET \
-H "Authorization: Bearer alf_your_key_here" \
/api/v1/schedules
[
{
"scheduleId": "curator-hourly",
"info": {
"spec": {
"cronExpressions": ["0 * * * *"]
},
"workflowType": {
"name": "CuratorWorkflow"
},
"paused": false
}
},
{
"scheduleId": "janitor-daily",
"info": {
"spec": {
"cronExpressions": ["0 2 * * *"]
},
"workflowType": {
"name": "JanitorWorkflow"
},
"paused": false
}
}
]
Was this page helpful?