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

Get a source's listings

POST
/xmb.api.v1.TunerService/GetSourceListings

The source's listings chain in fallback order, and how many channels each entry supplies.

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

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.TunerService/GetSourceListings" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "listings": [
    "map[carries:46 primaryFor:46 provider:map[kind:GUIDE_PROVIDER_KIND_PLATFORM name:Freeview East Midlands uuid:9d1f3b5a-7c2e-4a6b-8f0d-1e3a5c7b9d24] rank:0]",
    "map[carries:48 primaryFor:2 provider:map[kind:GUIDE_PROVIDER_KIND_SOURCE_NATIVE name:HDHomeRun guide uuid:c5e7a9b1-3d4f-4b6c-8e0a-2f4b6d8e0a37] rank:1]"
  ],
  "channels": "48",
  "withListings": "48",
  "withoutListings": "0"
}