xmb.api.v1.HubAgentService
HubAgentService is called by the hub binary itself, not by users.
postAnnounce hub
Reports the hub's WireGuard public key and returns its tunnel configuration. Authenticated by the hub token.
postCollect relay dials
Returns the relay rendezvous this hub should dial out to. Authenticated by the hub token.
postShip hub logs
Takes a batch of the hub's own log lines for the owner surfaces. Authenticated by the hub token.
Trigger grabber self-update POST
Asks the running grabber 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 grabber restarting into the new version. **Required scopes:** `xmb:admin`
Announce hub POST
Reports the hub's WireGuard public key and returns its tunnel configuration. Authenticated by the hub token.