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

Register a tuner

POST
/xmb.api.v1.TunerService/RegisterTuner

Creates a tuner and allocates it a tunnel block. The token is retrieved separately.

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

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.TunerService/RegisterTuner" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "tuner": "map[name:Living room HDHomeRun status:TUNER_STATUS_PENDING tunnelCidr:10.100.4.8/29 uuid:7c9e2f14-6a3b-4d58-b0e1-3f2a8c5d9e61]"
}