API Specificationxmb.api.v1.HubService
Measure hub tunnel
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
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
uuid?string
peerGrabberUuid?string
Peer grabber to blast at, through the real tunnel. Empty means the hub dials its own listener: no network, just the stack.
seconds?integer
connections?integer
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.HubService/MeasureHubTunnel" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"report": "map[bytesSent:1258291200 connectMs:23.6 cpuCores:0.92 detail:4 connections for 10s to grabber Seedbox mibPerSecond:118.4]"
}