Explicitly resume unstarted members of a durable RSVP-TE Apply group
POST
/tasks/{id}/rsvp/batch/resumeCreates one new parent operation from saved, private Path/topology/stream members proven not-sent. Earlier mixed/topology children, including remote-agent stream children, must form a persisted profile revision chain; failed or ambiguous outcomes prevent continuation. The new parent uses fresh deterministic child IDs. The original operation is never replayed; one continuation per parent is enforced transactionally.
Контракт
Параметр | Значение |
|---|---|
| Раздел | tasks |
| Авторизация | CookieAuth |
| Принимает | application/json |
| Возвращает | application/json |
Параметры
2 параметров
Имя | Где | Обязательный | Тип | Описание |
|---|---|---|---|---|
| id | path | да | integer | Canonical positive task ID |
| request | body | да | object | Original parent ID, new operation ID and current profile revision |
{ "agent": "<string>", "expected-profile-revision": "<string>", "operation-id": "<string>", "parent-operation-id": "<string>" }
Ответы
8 ответов
Статус | Описание | Тип |
|---|---|---|
202 | New persisted group operation | object |
400 | Invalid resume request | object |
401 | Session required | object |
403 | Agent not registered for this task | object |
404 | Task or original operation not found | object |
409 | Original outcome, profile or continuation conflicts | object |
500 | Database failure | object |
502 | Invalid registered agent address | object |
{ "action": "<string>", "agent": "<string>", "created-at": "<string>", "cursor": 0, "members": [ { "agent": "<string>", "child-operation-id": "<string>", "identity": {}, "mode": "<string>", "observed-at": "<string>", "phase": "<string>", "reason": "<string>", "runtime-generation": "<string>", "status": "<string>" } ], "operation-id": "<string>", "profile-revision": "<string>", "resume-of": "<string>", "status": "<string>", "task-id": 0, "terminal": true, "updated-at": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }