API Specificationxmb.api.v1.TunerService
Override a channel's listings
Gives one channel its own listings chain, or returns it to its source's.
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 <= lengthchannelUuid?string
Format
uuidlistings?array<>
The channel's own chain, first choice first. Empty with inherit=false means no listings for this channel.
Items
items <= 8inherit?boolean
Drop the override and follow the source's chain again.
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.TunerService/SetChannelListings" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"listings": [
"map[guideProviderUuid:9d1f3b5a-7c2e-4a6b-8f0d-1e3a5c7b9d24 rank:0 stationKey:0e2a4c6e-8b1d-4f3a-a5c7-1b3d5f7a9c02]",
"map[guideProviderUuid:c5e7a9b1-3d4f-4b6c-8e0a-2f4b6d8e0a37 rank:1 stationKey:101]"
],
"listingsOverridden": "true"
}