API Specificationxmb.api.v1.BrowseService
List collections
Returns the boxsets and franchises this server groups titles into.
Required scopes: xmb:user:read
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 <= length <= 128librarySlug?string
Empty is every library on the server.
Length
length <= 128pageSize?integer
Format
int32Range
0 <= value <= 100pageToken?string
Length
length <= 128[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.BrowseService/ListCollections" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"collections": [
"map[librarySlug:films libraryUuid:0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d posterUrl:https://content.xmb.gg/v1/tmdb/t/p/w780/7a8b9c0d1e2f.jpg sortTitle:Dune Collection title:Dune Collection titleCount:2 uuid:2e3f4a5b-6c7d-4e8f-9a0b-1c2d3e4f5a6b watchedCount:1]"
],
"nextPageToken": "NTA",
"totalCount": "3"
}