Read a saved RSVP-TE measurement
POST
/tasks/{id}/rsvp/measurement/queryReturns the validated, lossless agent record saved in PostgreSQL. Terminal results remain available after task stop or core restart and require no live tracker or agent. Nonterminal results are refreshed from the server-registered admission address; a sync-error explicitly marks stale or unconfirmed status. Never starts or resumes traffic.
Контракт
Параметр | Значение |
|---|---|
| Раздел | tasks |
| Авторизация | CookieAuth |
| Принимает | application/json |
| Возвращает | application/json |
Параметры
2 параметров
Имя | Где | Обязательный | Тип | Описание |
|---|---|---|---|---|
| id | path | да | integer | Positive task ID |
| request | body | да | object | Named agent and sealed measurement identity; at most 64 KiB |
{ "agent": "<string>", "measurement-id": "<string>", "runtime-generation": "<string>" }
Ответы
6 ответов
Статус | Описание | Тип |
|---|---|---|
200 | Persisted record; sync-error means saved nonterminal status may be stale | object |
400 | Invalid JSON, identity, ID or timing | object |
401 | Session required | object |
404 | Task or measurement not found | object |
500 | Database error; post-dispatch persistence failure explicitly requires query | object |
502 | Agent authentication, address, transport, redirect, bounded response or contract error | object |
{ "agent": "<string>", "measurement-id": "<string>", "record": {}, "runtime-generation": "<string>", "saved": true, "status": "<string>", "sync-error": "<string>", "terminal": true, "updated-at": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }