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

Read one saved RSVP-TE runtime stream operation

POST
/tasks/{id}/rsvp/stream/query

Reads a durable stream create/delete journal after Core restart. Only terminal persisted confirms task profile change. A persisted create includes the native local flow ID. This route never sends a native mutation.

Контракт

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

Параметры

2 параметров

Имя
Где
Обязательный
Тип
Описание
idpathдаintegerTask ID
requestbodyдаobjectAgent and operation ID
  • {
      "agent": "<string>",
      "operation-id": "<string>"
    }

Ответы

5 ответов

Статус
Описание
Тип
200
OKobject
400
Invalid operation referenceobject
401
Session requiredobject
404
Task or stream operation not foundobject
500
Database failureobject
  • {
      "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>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }