Trigger hub self-update
Asks the running hub 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 hub restarting into the new version.
Required scopes: xmb:admin
Authorization
BearerAuth An access token issued by the xeonr identity provider.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Public identifier of the hub.
uuidSlug of the server the hub belongs to.
1 <= length <= 128Report what is available without downloading or swapping anything.
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.HubService/TriggerHubUpdate" \ -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": "check_only set; release 215 not downloaded"
}Share hub POST
Grants another server the use of this hub — streaming, library paths and its own grabber pairings. The caller must administer both servers. Machine-level administration stays with the home server. **Required scopes:** `xmb:admin`
Unshare hub POST
Withdraws a server's use of a shared hub, removing its library paths, filings and grabber pairings on it. The home server unshares from a tenant; a tenant detaches itself. **Required scopes:** `xmb:admin`