API Specificationxmb.api.v1.TunerService
Set a source's listings
Sets the ordered listings chain for a source's channels, matches every entry's stations and queues the pulls. Channels with their own override keep it.
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
Length
1 <= lengthsourceUuid?string
Format
uuidguideProviderUuids?array<>
The chain, first choice first. Each entry is an existing guide provider on this server (CreateGuideProvider first for a new region or URL), or the source's own device guide. Empty clears the source's listings.
Items
items <= 8[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.TunerService/SetSourceListings" \ -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"
}