Create a new schedule.
post/midgard/v0.1/scheduler
Create a new scheduled action.Request
Authorization
X-AT
header
apiKey
Body
application/json
scenarioIdID of the scenario to schedule.
integer
applicationIdID of the application to schedule.
integer
actionTypeRequired if using `applicationId` or `stackItemId`.
string
stackItemIdID of the stack item to schedule.
integer
cronExpression
string
timeZoneNot yet implemented
string
timeZoneOffsetNot yet implemented
string
metadataNot yet implemented
object
object {}
type
string
once
Response
201New schedule created successfully.
400Returned when the schedule data is invalid or prerequisites fail.
403User is not allowed to access this resource.
404Returned when the target entity (Scenario, Application, or StackItem) was not found.
Shell cURL
shellShow schema
json