Read a saved RSVP-TE Path operation
POST
/tasks/{id}/rsvp/path/queryReads the durable operation scoped to task, agent and operation ID. Available after core restart and task stop, without a live tracker. Only terminal status persisted confirms the task profile was saved. admitted/confirming are not completion; uncertain requires a fresh runtime query before any new operation. Does not dispatch or retry native actions and hides private requests, addresses and profiles.
Контракт
Параметр | Значение |
|---|---|
| Раздел | tasks |
| Авторизация | CookieAuth |
| Принимает | application/json |
| Возвращает | application/json |
Параметры
2 параметров
Имя | Где | Обязательный | Тип | Описание |
|---|---|---|---|---|
| id | path | да | integer | Task ID |
| request | body | да | object | Agent and 32 lowercase hex digit operation ID |
{ "agent": "<string>", "operation-id": "<string>" }
Ответы
5 ответов
Статус | Описание | Тип |
|---|---|---|
200 | OK | object |
400 | Invalid task ID or reference | object |
401 | Session required | object |
404 | Task or operation not found | object |
500 | Database failure | object |
{ "active-lsp-id": 0, "agent": "<string>", "created-at": "<string>", "dispatched": true, "expires-at": "<string>", "identity": {}, "mbb": { "before-completed": 0, "before-rollbacks": 0, "previous-active-lsp-id": 0, "target-attempt": 0 }, "mode": "path", "operation-id": "<string>", "reason": "<string>", "runtime-generation": "<string>", "status": "<string>", "target-path-revision": 0, "task-id": 0, "terminal": true, "updated-at": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }