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

Set media file marker

POST
/xmb.api.v1.LibraryService/SetMediaFileMarker

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
Length1 <= length
mediaFileUuid?string
Length1 <= length
kind?string

intro, recap, credits or preview.

Value in"intro" | "recap" | "credits" | "preview"
startMs?string

int64.gte = 0

Formatint64
endMs?string

int64.gt = 0

Formatint64
[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]"
  ]
}