curl --location --request GET 'https://test.your-api-server.com/api/mes/scheduling/507f1f77bcf86cd799439011/actions' \
--header 'Authorization: Bearer <token>'{
"msg": "Acciones permitidas para el schedule",
"currentState": "DRAFT",
"allowedActions": [
"schedule",
"cancel",
"update",
"delete"
],
"allowedTransitions": [
{
"action": "schedule",
"toState": "SCHEDULED",
"endpoint": "PUT /api/mes/scheduling/{_id}/schedule"
},
{
"action": "cancel",
"toState": "CANCELLED",
"endpoint": "PUT /api/mes/scheduling/{_id}/cancel"
}
]
}