API Specificationxmb.api.v1.TunerService
Set recording defaults
Sets padding, destination library and timeshift length for the server.
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 <= lengthdefaults*
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.TunerService/SetRecordingDefaults" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{ "defaults": "map[libraryUuid:8f0b2d4e-6a1c-4c3e-a5b7-9d1f3e5a7b80 postPadS:300 prePadS:120 timeshiftMinutes:60]" }'{
"defaults": "map[libraryUuid:8f0b2d4e-6a1c-4c3e-a5b7-9d1f3e5a7b80 postPadS:300 prePadS:120 timeshiftMinutes:60]"
}Set accepted tuners POST
Replaces the set of tuners this hub accepts recordings from. **Required scopes:** `xmb:admin`
Set a source's listings POST
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`