Skip to Content
Xeonr Developer Docs
API Specification

xmb.api.v1.GrabberService

GrabberService is the owner's side: registering a node and getting its credential.

postDelete a grabber

Removes a grabber. Its tunnel block is released for reuse. **Required scopes:** `xmb:admin`

postGet a grabber

Returns one grabber. **Required scopes:** `xmb:admin`

postGet grabber release channel

Returns the version the grabber release channel currently publishes — what a self-updating grabber converges on. **Required scopes:** `xmb:admin`

postGet grabber settings

Returns this grabber's configuration overrides and the keys that may be set. **Required scopes:** `xmb:admin`

postGet a grabber token

Returns the grabber's token in plaintext, for configuring the binary. **Required scopes:** `xmb:admin`

postList grabbers

Returns the grabbers on a server with their status, storage and last contact. **Required scopes:** `xmb:admin`

postMeasure grabber tunnel

Asks the grabber to write synthetic bytes at a discard listener — its own (stack-only) or a hub's (through the real path) — and report the rate. Runs for a few seconds and answers synchronously. **Required scopes:** `xmb:admin`

postRegister a grabber

Creates a grabber and allocates it a tunnel block. The token is retrieved separately. **Required scopes:** `xmb:admin`

postRestart grabber

Asks the running grabber to re-exec into its current binary, which is how configuration changes take effect. **Required scopes:** `xmb:admin`

postRotate a grabber token

Replaces the grabber's token. The previous one stops working at once. **Required scopes:** `xmb:admin`

postSet grabber settings

Replaces this grabber's configuration overrides. Keys outside the settable list are refused rather than silently dropped. **Required scopes:** `xmb:admin`

postTrigger grabber self-update

Asks the running grabber to check its release channel now and swap itself for the published binary. Synchronous up to the swap: failures come back in the response, and an UPDATING outcome is followed by the grabber restarting into the new version. **Required scopes:** `xmb:admin`