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.
Contract
Parameter | Value |
|---|---|
| Section | tasks |
| Authentication | CookieAuth |
| Consumes | application/json |
| Produces | application/json |
Parameters
2 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Canonical positive task ID |
| request | body | yes | object | Task routing agent hostname |
{ "agent": "<string>" }
Responses
8 responses
Status | Description | Type |
|---|---|---|
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>" }