Register hub
Registers a new media hub under the given server and allocates its tunnel block.
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
Display name for the hub.
1 <= length <= 128Slug of the server the hub belongs to.
1 <= length <= 128Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.HubService/RegisterHub" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"hub": "map[createdAt:2026-03-14T18:02:11Z name:Living room NAS primaryIp:10.100.0.8 serverSlug:thompson-home status:HUB_STATUS_PENDING tunnelCidr:10.100.0.8/29 uuid:5f0c2a9e-8b1d-4c3a-9e2f-7a6b1c4d8e01]"
}Measure hub tunnel POST
Asks the hub to write synthetic bytes at a discard listener — its own (stack-only) or a peer's (through the real path) — and report the rate. Runs for a few seconds and answers synchronously. **Required scopes:** `xmb:admin`
Restart hub POST
Asks the running hub to re-exec into its current binary, which is how configuration changes take effect. The hub drops off the tunnel for a few seconds. **Required scopes:** `xmb:admin`