API Specificationxmb.api.v1.HubService
Set accepted grabbers
Replaces the set of grabbers this hub will accept files from.
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
Length
1 <= lengthhubUuid?string
Length
1 <= lengthgrabberUuids?array<>
The complete set. Empty is legal and means this hub accepts nothing.
Items
items <= 64[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.HubService/SetHubGrabbers" \ -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 status:HUB_STATUS_ACTIVE tunnelCidr:10.100.0.8/29 uuid:5f0c2a9e-8b1d-4c3a-9e2f-7a6b1c4d8e01 wgListenPort:51820]"
}Rotate hub token POST
Replaces the hub's token. The previous token stops authenticating immediately. **Required scopes:** `xmb:admin`
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`