Skip to Content
Xeonr Developer Docs
API SpecificationGrabbers

Update a grabber

POST
/xmb.api.v1.GrabberService/UpdateGrabber

Renames a grabber. Surrounding whitespace is trimmed, and an empty name leaves the current one, so the call is a no-op without one. The grabber's default hub is no longer set here: where a grabber delivers is decided by the hubs that pair with it (accepted_by_hub_uuids).

Returns the grabber as it now stands. NOT_FOUND for a grabber not on this server. The caller must be an administrator of the server. Audited as grabber.updated.

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
Length1 <= length
uuid?string
Length1 <= length
name?string
Lengthlength <= 128
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.GrabberService/UpdateGrabber" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "grabber": "map[acceptedByHubUuids:[c41e7d2a-6f3b-4a9e-b2d8-1e5f7a3c9b04] agentVersion:214 externalAddresses:[203.0.113.47] internalAddresses:[10.0.0.5] lastHandshakeAt:2026-10-22T09:29:41Z lastSeenAt:2026-10-22T09:30:00Z name:seedbox-fra observedEndpoint:203.0.113.47:51820 peerLinks:[map[connected:true endpoint:192.168.1.20:51820 endpointKind:PEER_CANDIDATE_KIND_LAN lastHandshakeAt:2026-10-22T09:29:41Z peerKind:NODE_KIND_HUB peerName:nas-attic peerUuid:c41e7d2a-6f3b-4a9e-b2d8-1e5f7a3c9b04 reportedAt:2026-10-22T09:30:00Z]] status:GRABBER_STATUS_ACTIVE storage:map[budgetBytes:2000398934016 committedBytes:412316860416 obligationHoldBytes:53687091200 releasableBytes:107374182400 typedBudgetBytes:4000000000000] tunnelCidr:10.100.0.24/29 uuid:9b2f4c1e-7a3d-4e8f-8c6b-2a1d5e7f3c90 wgListenPort:51820 wgPublicKey:mE0bF3tq8nQ1Zr5yV7uXc2Hk9Ld4Wp6Sa0Gj3Ne8Ty4=]"
}