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

Answer a request

POST
/xmb.api.v1.RequestService/DecideRequest

Approves a request, which creates the title with nothing behind it, or declines it with a reason.

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
requestUuid?string
Formatuuid
decision?not unknown

Which way. There is no item selector: see the method comment.

Value in"REQUEST_DECISION_UNSPECIFIED" | "REQUEST_DECISION_APPROVE" | "REQUEST_DECISION_DECLINE"
reason?string

Only meaningful on a decline, and shown verbatim to everyone who asked. Optional to type, which is a product decision rather than a schema one — "optional, but they will wonder", as the sheet puts it.

Lengthlength <= 512
libraryPathUuid?string

WHERE IT GOES, and under which quality rules. Approving is what creates the title, so this is the only moment the two can be chosen before anything acts on them — and until they were here, neither was chosen at all: the series landed in the category's default library with that library's default profile, and its FOLDER was left unset entirely.

A title with no folder cannot be grabbed for. Every acquisition path refuses it with "this title has no folder chosen yet", so an approved request sat there, wanted by the searcher and undownloadable, until an operator noticed and set one by hand.

Both are required on an approve and ignored on a decline. The approve dialog pre-selects the library's only path when it has one, and the library's default profile, so the ordinary case is still one click.

Lengthlength <= 64
qualityProfileUuid?string
Lengthlength <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.RequestService/DecideRequest" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "request": "map[category:LIBRARY_CATEGORY_TV decidedAt:2026-10-19T10:15:00Z episodeCount:4 firstAskedAt:2026-10-18T19:04:12Z fulfilledCount:1 myScope:map[seasons:[map[episodeNumbers:[1 2 3 4] seasonNumber:2]]] myStatus:REQUEST_STATUS_APPROVED 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] map[askedAt:2026-10-19T08:30:00Z displayName:amara initials:AM userId:7]] scope:map[seasons:[map[episodeNumbers:[1 2 3 4] seasonNumber:2]]] search:map[attempts:4 lastAttemptAt:2026-10-22T06:00:00Z lastReason:12 releases seen, none acceptable — 9 wrong season, 3 below the quality profile nextSearchAt:2026-10-22T18:00:00Z stuck:false] seriesUuid:3c5e7a9b-1d3f-4a5c-8e7a-9b1d3f5c7e9a status:REQUEST_STATUS_APPROVED title:Bones totalRequesters:2 uuid:f1a3c5e7-9b1d-4f3a-8c5e-7a9b1d3f5c7e year:2005]"
}