Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.GrabberService

Trigger grabber self-update

POST
/xmb.api.v1.GrabberService/TriggerGrabberUpdate

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

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

serverSlug?string
Length1 <= length
uuid?string
Length1 <= length
checkOnly?boolean

Report what is available without downloading or swapping anything.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.GrabberService/TriggerGrabberUpdate" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "runningVersion": "214",
  "availableVersion": "215",
  "outcome": "UPDATE_OUTCOME_AVAILABLE",
  "detail": "checksum mismatch on the downloaded binary"
}