Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.HubService

Get hub settings

POST
/xmb.api.v1.HubService/GetHubSettings

Returns this hub's configuration overrides and the keys that may be set.

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
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.HubService/GetHubSettings" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "settings": "map[HUB_WG_MTU:1280]",
  "settable": [
    "map[defaultValue:1380 description:Tunnel MTU. Lower it when a path fragments — the usual cause of heavy packet loss over WireGuard. key:HUB_WG_MTU requiresRestart:true]"
  ]
}