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

Read one durable RSVP-TE label pool Apply operation

POST
/tasks/{id}/rsvp/label-pool/query

Reads admission and terminal status after a client timeout or Core restart. Only persisted means the new task profile was saved. Uncertain or conflict requires inspecting the live protocol state before another edit. This route never dispatches a mutation and hides the private agent address and stored task profiles.

Контракт

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

Параметры

2 параметров

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

Ответы

5 ответов

Статус
Описание
Тип
200
OKobject
400
Invalid task ID or operation referenceobject
401
Session requiredobject
404
Task or label pool operation not foundobject
500
Database failureobject
  • {
      "agent": "<string>",
      "created-at": "<string>",
      "dispatched": true,
      "expected-label-range-start": 0,
      "expires-at": "<string>",
      "instance": 0,
      "label-range-start": 0,
      "operation-id": "<string>",
      "reason": "<string>",
      "runtime-generation": "<string>",
      "status": "<string>",
      "task-id": 0,
      "terminal": true,
      "updated-at": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }