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

List episodes

POST
/xmb.api.v1.ContentService/ListEpisodes

Returns a season's episodes — or a whole title's — with what is here, what is missing and what has not aired.

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
Length1 <= length <= 128
seriesUuid?string
Formatuuid
seasonNumber?|

One season, or every season when it is absent. A screen that opens seasons one at a time should ask for one at a time: a long-running series has more episodes than anybody scrolls through, and all of them is a response nobody reads.

Formatint32
Range0 <= value
pageSize?integer
Formatint32
Range0 <= value <= 500
pageToken?string
Lengthlength <= 128
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.ContentService/ListEpisodes" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "episodes": [
    "map[absoluteNumber:13 airDate:2025-02-07T02:00:00Z episodeNumber:4 files:[map[audioChannels:6 audioCodec:eac3 container:matroska durationMs:2898000 fingerprint:6f1d3b9a2c7e4f8a0b5d1c9e3a7f2b6d8c4e0a1f5b9d3c7e2a6f0b4d8c1e5a9f hdrFormat:sdr height:1080 hubName:nas-attic hubUuid:c41e7d2a-6f3b-4a9e-b2d8-1e5f7a3c9b04 path:TV/Severance (2022)/Season 02/Severance - S02E04 - Woe's Hollow.mkv sizeBytes:4294967296 status:available uuid:0d9c8b7a-6e5f-4d3c-9b2a-1f0e9d8c7b6a videoCodec:h264 width:1920]] runtimeMinutes:48 seasonNumber:2 state:EPISODE_STATE_AVAILABLE title:Woe's Hollow uuid:f1e2d3c4-b5a6-4978-8a6b-5c4d3e2f1a0b]"
  ],
  "nextPageToken": "200"
}