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

Update library

POST
/xmb.api.v1.LibraryService/UpdateLibrary

Changes a library's settings, such as the quality profile its titles inherit by default.

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
libraryUuid?string
Formatuuid
defaultQualityProfileUuid?|

The profile every series in this library inherits unless it names its own. When present it must name a profile rather than clear one: a library with no default would leave the searcher nothing to score against, which is a state the seed data exists to prevent.

Formatuuid
metadataProviders?array<>

The provider list, whole, in the order the ladder should ask. Empty leaves the setting alone. Refused when a name is not one this deployment can ask for this category, or when nothing in the list is enabled — a library whose ladder asks nobody silently stops identifying.

Itemsitems <= 16
artwork?array<>

Artwork provider order, for the kinds being changed. Empty leaves the setting alone. Refused when a kind is not one artwork comes in, or a provider is not one this deployment can ask.

Itemsitems <= 8
subtitles?|

The subtitle policy, whole. Absent leaves the setting alone. Refused when the mode is not off/suggest/automatic, or a provider is not one the retrieval service knows.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.LibraryService/UpdateLibrary" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "library": "map[artwork:[map[kind:poster providers:[tmdb tvdb]]] category:LIBRARY_CATEGORY_TV createdAt:2026-03-14T18:02:11Z defaultQualityProfileName:HD 1080p defaultQualityProfileUuid:9a1c3e5f-2b4d-4c6e-8f0a-1b3d5f7a9c2e metadataProviders:[map[enabled:true name:tvdb specialises:true] map[enabled:true name:tmdb specialises:false]] name:TV Shows ord:1 paths:[map[createdAt:2026-03-14T18:02:11Z hubName:Living room NAS hubUuid:5f0c2a9e-8b1d-4c3a-9e2f-7a6b1c4d8e01 path:TV uuid:0d4f8a2b-6c1e-4f3a-9b7d-2e5c8a1f4b6d]] slug:tv subtitles:map[allowForced:true allowHearingImpaired:false allowMachineTranslated:false languages:[en] mode:suggest providers:[map[configured:true displayName:OpenSubtitles enabled:true name:opensubtitles quotaBound:true]] trustedOnly:false] uuid:7b2e9c4d-1a3f-4b5c-8d6e-9f0a1b2c3d4e]"
}