API Specificationxmb.api.v1.LiveService
Record
Creates a recording rule: one airing, a series, or a manual window. Needs a paired hub.
Required scopes: xmb:user:write
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 <= lengthrule*
dropRecordingUuids?array<>
Recordings to drop to make room, from CheckRecordingConflicts.
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.LiveService/CreateRecordingRule" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{ "rule": "map[channelUuid:5f0c2b9e-3a71-4d8e-9b42-1c6e8a7d0f13 createdAt:2026-10-20T18:42:11Z enabled:true keepCount:5 kind:RECORDING_RULE_KIND_SERIES libraryUuid:9c1e3a5b-7d9f-4b1d-8e3a-5c7e9a1b3d5f newOnly:true postPadS:300 prePadS:60 priority:0 seriesKey:tvdb:75682 title:Bones uuid:4a6c8e0b-2d4f-4b6a-9c8e-0f2a4c6e8b1d]" }'{
"rule": "map[channelUuid:5f0c2b9e-3a71-4d8e-9b42-1c6e8a7d0f13 createdAt:2026-10-20T18:42:11Z enabled:true keepCount:5 kind:RECORDING_RULE_KIND_SERIES libraryUuid:9c1e3a5b-7d9f-4b1d-8e3a-5c7e9a1b3d5f newOnly:true postPadS:300 prePadS:60 priority:0 seriesKey:tvdb:75682 title:Bones uuid:4a6c8e0b-2d4f-4b6a-9c8e-0f2a4c6e8b1d]",
"recording": "map[category:PROGRAMME_CATEGORY_DRAMA channelUuid:5f0c2b9e-3a71-4d8e-9b42-1c6e8a7d0f13 codec:h264 missingSeconds:0 playable:false programmeUuid:c3a1e5f7-2b4d-4c6e-8a0b-d1f3e5a7c9b2 resolution:1920x1080 ruleUuid:4a6c8e0b-2d4f-4b6a-9c8e-0f2a4c6e8b1d sizeBytes:2684354560 state:RECORDING_STATE_SCHEDULED subtitle:The Girl in Suite 2103 title:Bones uuid:7d9f1b3e-5a2c-4e8d-a6f0-b2c4e6a8d1f3 windowEnd:2026-10-22T21:05:00Z windowStart:2026-10-22T19:59:00Z]"
}