Skip to Content
Xeonr Developer Docs

Authorise a delivery

POST
/xmb.api.v1.GrabberAgentService/AuthoriseDelivery

Validates the grab, mints per-file ingest grants and builds the candidate ladder. Authenticated by the grabber token.

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

grabberToken?string
Length1 <= length
grabUuid?string
Length1 <= length
entries?array<>

What it intends to send — the manifest PrepareDelivery would have reported, pushed instead of polled for.

Itemsitems <= 512
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.GrabberAgentService/AuthoriseDelivery" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "grants": [
    "map[destinationPath:TV/Severance (2022)/Season 02/Severance - S02E05 - Trojan's Horse.mkv sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 sizeBytes:4831838208 sourcePath:Severance.S02E05.Trojans.Horse.1080p.ATVP.WEB-DL.DDP5.1.Atmos.H.264-NTb/Severance.S02E05.1080p.mkv token:<signed-ingest-grant>]"
  ],
  "candidates": [
    "map[address:192.168.1.20:8443 peerUuid:c41e7d2a-6f3b-4a9e-b2d8-1e5f7a3c9b04 rung:DELIVERY_RUNG_LAN]"
  ],
  "retryAfter": "2026-10-22T09:45:00Z",
  "refusal": "this grab was cancelled",
  "settled": "true"
}