API Specificationxmb.api.v1.LibraryService
Set media file marker
Pins an intro or credits range on a file by hand. A manual marker outranks every automated source and is never overwritten by a later pass.
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
Length
1 <= lengthmediaFileUuid?string
Length
1 <= lengthkind?string
intro, recap, credits or preview.
Value in
"intro" | "recap" | "credits" | "preview"startMs?string
int64.gte = 0
Format
int64endMs?string
int64.gt = 0
Format
int64[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.LibraryService/SetMediaFileMarker" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"markers": [
"map[confidence:1 endMs:121000 kind:intro resolved:true source:manual startMs:61000]"
]
}Search subtitles POST
Asks the shared retrieval service what subtitles exist for a file, ranked under its library's policy, with what the nightly pass last decided. **Required scopes:** `xmb:user:read`
Update library POST
Changes a library's settings, such as the quality profile its titles inherit by default. **Required scopes:** `xmb:admin`