Announce grabber
Reports the grabber's WireGuard public key and storage, and returns its tunnel configuration. Authenticated by the grabber token.
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
20 <= length <= 128Current WireGuard public key (base64, 32 bytes). Generated fresh at boot; a changed key is a rotation and replaces the previous one.
44 <= length <= 44length <= 64The UDP port the WireGuard device is bound to — stable, and configured rather than ephemeral, so peers have something to dial.
int320 <= value <= 65535Private addresses on the grabber's own interfaces. The platform rejects anything here that is not actually private, so a misconfigured node cannot publish a routable address as though it were a LAN one.
items <= 32Routable addresses, when somebody has forwarded a port deliberately.
items <= 32The disk, as the grabber computes it.
Endpoints the operator says this grabber is reachable at, "host:port". See AnnounceHubRequest.advertised_endpoints — the one thing nothing can discover, present for the forward that changes the port number, empty for almost everyone.
items <= 8The state of this grabber's WireGuard session to each node peer. The handshake is the probe; this is how its result reaches the platform.
items <= 128The machine's resources as the grabber sees them — HubResources verbatim, because the machine underneath is the same kind of machine and two vocabularies for one meaning would drift. Absent from a grabber older than the field; the platform records a gap, never a zero.
What the torrent client is doing, as of this announce.
This process lifetime's identity — the SAME id log shipping stamps on its batches. The boundary the platform splits cumulative counters on; see AnnounceHubRequest.boot_id.
length <= 64Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.GrabberAgentService/AnnounceGrabber" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"uuid": "9b2f4c1e-7a3d-4e8f-8c6b-2a1d5e7f3c90",
"tunnelCidr": "10.100.0.24/29",
"primaryIp": "10.100.0.24",
"gateways": [
"map[endpoint:gw-ams1.xmb.xeonr.io:51820 tunnelIp:10.100.0.1 wgPublicKey:Qx7rT2mV9kP4nB8cZ1wF6yH3jL5sD0aG2eR7uK9iM4o=]"
],
"nodePeers": [
"map[candidates:[map[endpoint:192.168.1.20:51820 kind:PEER_CANDIDATE_KIND_LAN]] tunnelCidr:10.100.0.16/29 uuid:c41e7d2a-6f3b-4a9e-b2d8-1e5f7a3c9b04 wgPublicKey:Hb3kN8pQ2xR6tV1yZ5cF9mJ4wL7sA0dG3eU8iK2oP6n=]"
],
"settings": "map[GRABBER_MAX_CONCURRENT_DELIVERIES:2 GRABBER_UPLOAD_LIMIT_BYTES_PER_SEC:12500000]",
"serverSlug": "cabin",
"telemetry": "map[expiresIn:3600s token:<lantern-ingest-token> url:https://lantern.xeonr.io/v1/ingest]",
"controlAuth": "map[audiences:[https://xmb.gg urn:xeonr:auth:application:08fc3508-988f-4074-ae5d-b7fd72c38e0b] enforce:true issuer:https://auth.xeonr.io scopes:[xmb:nodes:admin] subjects:[urn:xeonr:auth:uid:service_account:14]]"
}