API Specificationxmb.api.v1.HubService
List shared hubs
Returns the hubs other servers have shared with this one, in the reduced shape a sharing server may see.
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
Slug of the server whose shared hubs to list.
Length
1 <= length <= 128[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.HubService/ListSharedHubs" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"hubs": [
"map[acceptedGrabberUuids:[c81e4b2a-3f5d-4a7c-b9e0-1d2f3a4b5c6d] acceptedTunerUuids:[e2b9d4c1-7a3f-4e8b-9c0d-5f6a7b8c9d10] canIngest:true canTranscode:true homeServerName:Thompson Home lastHandshakeAt:2026-10-22T09:29:41Z lastSeenAt:2026-10-22T09:30:00Z name:Living room NAS status:HUB_STATUS_ACTIVE uuid:5f0c2a9e-8b1d-4c3a-9e2f-7a6b1c4d8e01]"
]
}List hubs POST
Returns the authenticated caller's media hubs within the given server. **Required scopes:** `xmb:admin`
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`