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

List saved RSVP-TE Path operations

GET
/tasks/{id}/rsvp/paths

Lists one task's durable Path journal, including stopped tasks without a live tracker. Pending operations precede terminal records; remaining order is creation time descending, agent and operation ID. Reads public metadata only, never native actions, private requests, registered URLs or task profiles. Only persisted confirms profile storage. Pagination is bounded to 25 records.

Контракт

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

Параметры

3 параметров

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

Ответы

5 ответов

Статус
Описание
Тип
200
OKobject
400
Invalid task ID or paginationobject
401
Session requiredobject
404
Task not foundobject
500
Task or journal database failureobject
  • {
      "items": [
        {
          "active-lsp-id": 0,
          "agent": "<string>",
          "created-at": "<string>",
          "dispatched": true,
          "expires-at": "<string>",
          "identity": {},
          "mbb": {
            "before-completed": 0,
            "before-rollbacks": 0,
            "previous-active-lsp-id": 0,
            "target-attempt": 0
          },
          "mode": "path",
          "operation-id": "<string>",
          "reason": "<string>",
          "runtime-generation": "<string>",
          "status": "<string>",
          "target-path-revision": 0,
          "task-id": 0,
          "terminal": true,
          "updated-at": "<string>"
        }
      ],
      "limit": 0,
      "offset": 0
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }