Read profile-indexed RSVP-TE protocol sessions
POST
/tasks/{id}/rsvp/protocol/sessions/queryReads all 1-64 RSVP instances of one task-owned routing agent in saved profile order with at most eight concurrent reads. Each index addresses a protocol instance, not an LSP. A failed instance read is marked unavailable while healthy rows remain visible; all reads failing returns 502, and mixed runtime generations return 409. Per-row completion times and local CPF counts describe a non-atomic snapshot; they are not IxNetwork StateCounts.
Контракт
Параметр | Значение |
|---|---|
| Раздел | tasks |
| Авторизация | CookieAuth |
| Принимает | application/json |
| Возвращает | application/json |
Параметры
2 параметров
Имя | Где | Обязательный | Тип | Описание |
|---|---|---|---|---|
| id | path | да | integer | Canonical positive task ID |
| request | body | да | object | Task routing agent hostname |
{ "agent": "<string>" }
Ответы
8 ответов
Статус | Описание | Тип |
|---|---|---|
200 | OK | object |
400 | Invalid request | object |
401 | Session required | object |
403 | Agent not registered for this task | object |
404 | Task not found | object |
409 | Task, agent or profile unavailable | object |
500 | Task lookup failed | object |
502 | Agent read or response contract error | object |
{ "agent": "<string>", "cpf-counts": { "aborted": 0, "running": 0, "stopped": 0, "tearing-down": 0, "total": 0, "unavailable": 0 }, "partial": true, "profile-revision": "<string>", "runtime-generation": "<string>", "sessions": [ { "cpf-state": "<string>", "index": 0, "instance": 0, "read-completed-at": "<string>", "read-error": "<string>", "router-id": "<string>", "runtime-generation": "<string>" } ], "snapshot-atomic": true, "task-id": 0 }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }