Create a bot executor cron job
POST/v1/bot-executor-cron-jobs/create/
Creates a bot executor cron job.
Request
- application/json
Body
required
name stringrequired
expression stringrequired
bot_id uuidrequired
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
suspended
- Suspendedrunning
- Running
id uuidrequired
bot_id uuidrequired
name stringrequired
status stringrequired
Possible values: [suspended
, running
]
expression stringrequired
execution_stream_address stringrequired
created date-timerequired
modified date-timerequired
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"bot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"status": "suspended",
"expression": "string",
"execution_stream_address": "string",
"created": "2024-01-02T07:21:22.168Z",
"modified": "2024-01-02T07:21:22.168Z"
}
Loading...