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

Request a title

POST
/xmb.api.v1.RequestService/CreateRequest

Records what the caller wants, or adds them to a request already standing. Creates no library rows — approving does that.

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 <= 128
record*

A provider's record, named the way the cache tier names one.

category?string

Same as GetCatalogueTitle: optional, and inferred when absent. The screen that asks is the screen that was just looking at the title, so it usually knows — but a client should not have to.

Value in"LIBRARY_CATEGORY_UNSPECIFIED" | "LIBRARY_CATEGORY_MOVIE" | "LIBRARY_CATEGORY_TV" | "LIBRARY_CATEGORY_ANIME" | "LIBRARY_CATEGORY_OTHER" | "LIBRARY_CATEGORY_ANIME_FILM"
scope?

What is being asked for.

A set of episodes rather than "the series", always. "Get me season 2" and "get me the one I missed" are the same request with different contents, and the difference has to survive being written down: every screen restates the scope back to the person who chose it, and an operator approving one is answering for exactly this.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.RequestService/CreateRequest" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{    "record": "map[provider:tvdb providerId:75682]"  }'
{
  "request": "map[category:LIBRARY_CATEGORY_TV episodeCount:4 firstAskedAt:2026-10-18T19:04:12Z fulfilledCount:0 posterUrl:https://content.xmb.gg/v1/tmdb/t/p/w500/bones-poster.jpg record:map[provider:tvdb providerId:75682] requesters:[map[askedAt:2026-10-18T19:04:12Z avatarUrl:https://auth.xeonr.io/avatars/3.png displayName:luke initials:LU userId:3]] scope:map[seasons:[map[episodeNumbers:[1 2 3 4] seasonNumber:2]]] status:REQUEST_STATUS_PENDING title:Bones totalRequesters:1 uuid:f1a3c5e7-9b1d-4f3a-8c5e-7a9b1d3f5c7e year:2005]",
  "allowance": "map[limit:5 remaining:2]",
  "opened": "false",
  "added": "3"
}