Share hub
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
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
Slug of the hub's HOME server. Sharing is initiated from the home side.
1 <= length <= 128Public identifier of the hub being shared.
uuidSlug of the server being granted use of the hub. The caller must be an administrator of BOTH servers — sharing grants nothing the caller could not have set up by registering a hub on the target themselves.
1 <= length <= 128Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.HubService/ShareHub" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"hub": "map[acceptedGrabberUuids:[c81e4b2a-3f5d-4a7c-b9e0-1d2f3a4b5c6d] agentVersion:214 canIngest:true canTranscode:true createdAt:2026-03-14T18:02:11Z internalAddresses:[192.168.1.40] lastHandshakeAt:2026-10-22T09:29:41Z lastSeenAt:2026-10-22T09:30:00Z name:Living room NAS observedEndpoint:203.0.113.24:51820 primaryIp:10.100.0.8 serverSlug:thompson-home sharedWithServerSlugs:[thompson-cottage] status:HUB_STATUS_ACTIVE tunnelCidr:10.100.0.8/29 uuid:5f0c2a9e-8b1d-4c3a-9e2f-7a6b1c4d8e01 wgListenPort:51820]"
}Set hub settings POST
Replaces this hub's configuration overrides. Keys outside the settable list are refused rather than silently dropped. **Required scopes:** `xmb:admin`
Trigger hub self-update POST
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`