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

Update a recording rule

POST
/xmb.api.v1.LiveService/UpdateRecordingRule

Changes padding, priority, retention or enablement.

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
Length1 <= length
rule*
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.LiveService/UpdateRecordingRule" \  -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]"
}