POST /api/v1/runs/schedules/{schedule_id}/fire
Fire Now
fire now (same seam as the tick-loop / an external Cloud Scheduler).
Авторизация: нужен Authorization: Bearer <token>
curl -sS -X POST "https://entherium.duckdns.org:8443/api/v1/runs/schedules/<schedule_id>/fire" \ -H "Authorization: Bearer <token>"Ответ 200
Заголовок раздела «Ответ 200»В контракте нет примера для этого ответа; схема: ScheduleFireResult. Поля — в интерактивном обозревателе.
Возвращает
Заголовок раздела «Возвращает»ScheduleFireResult — Successful Response
| Поле | Тип | Описание |
|---|---|---|
errors | массив string | |
fired | integer | |
run_guids | массив integer | |
schedule_id | integer | |
skipped | integer |
Параметры
Заголовок раздела «Параметры»| Параметр | Где | Обязателен | Тип | По умолчанию | Ограничения | Описание |
|---|---|---|---|---|---|---|
schedule_id | path | да | integer | — | — | |
Idempotency-Key | header | нет | string | — | uuid | Optional. |
| Код | Смысл | Тело |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Тело любой ошибки — {detail, code?, request_id, doc_url}: request_id — что цитировать, doc_url ведёт в Справочник ошибок.