Перейти к основному содержимому

List saved RSVP-TE runtime stream operations for one agent

GET
/tasks/{id}/rsvp/streams

Lists bounded public create/delete receipts for a task, including stopped tasks and operations recovered after Core restart. Pending records precede terminal records. Persisted create records expose the native local flow ID and stream name needed for deletion; a persisted delete identifies its create operation. Private stream configuration, registered Agent URL and task profiles are never returned. This route sends no native mutation.

Контракт

Параметр
Значение
Разделtasks
АвторизацияCookieAuth
Принимаетapplication/json
Возвращаетapplication/json

Параметры

4 параметров

Имя
Где
Обязательный
Тип
Описание
idpathдаintegerCanonical positive task ID
agentqueryдаstringRouting agent hostname
offsetqueryнетintegerCanonical page offset
limitqueryнетintegerPage size

Ответы

5 ответов

Статус
Описание
Тип
200
OKobject
400
Invalid task ID, agent or paginationobject
401
Session requiredobject
404
Task not foundobject
500
Task or journal database failureobject
  • {
      "items": [
        {
          "agent": "<string>",
          "created-at": "<string>",
          "dispatched": true,
          "expected-create-operation-id": "<string>",
          "expires-at": "<string>",
          "flow-id": 0,
          "identity": {
            "accept-detour": true,
            "endpoint": "<string>",
            "ext-tunnel-id": "<string>",
            "instance": 0,
            "kind": "p2p",
            "lsp-id": 0,
            "p2mp-id": 0,
            "send-detour": true,
            "sender": "<string>",
            "tunnel-id": 0
          },
          "mode": "<string>",
          "operation-id": "<string>",
          "reason": "<string>",
          "rsvp-wire-flow-id": 0,
          "runtime-generation": "<string>",
          "status": "<string>",
          "stream-name": "<string>",
          "task-id": 0,
          "terminal": true,
          "updated-at": "<string>"
        }
      ],
      "limit": 0,
      "offset": 0
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }