Skip to Content
Xeonr Developer Docs

Get tuner sources

POST
/xmb.api.v1.TunerAgentService/GetTunerSources

Returns the tuner's sources with their secrets and enabled channels. Authenticated by the tuner token.

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

tunerToken?string
Length20 <= length
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.TunerAgentService/GetTunerSources" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "sources": [
    "map[channels:[map[channelUuid:4a6c8e0f-1b3d-4f5a-9c7e-2d4f6a8b0c12 guideId:101 number:101 streamUrl:http://192.168.1.50:5004/auto/v101]] config:map[base_url:http://192.168.1.50 device_id:1051ABCD] kind:SOURCE_KIND_HDHOMERUN secret: tunerCount:4 uuid:1b8d4e6f-2a9c-4f3e-8d7b-5c6a0e1f2b93]"
  ],
  "sourcesVersion": "9f2c4e6a8b0d1e3f",
  "timeshiftMinutes": "60"
}