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

Re-identify media file

POST
/xmb.api.v1.LibraryService/ReidentifyMediaFile

Says a file is not the series it was matched to: drops the delivery hint, refuses the delivering grab's episode rows, and either lets the next scan place the file by its name or pins it to a chosen series.

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
rematch?boolean

Let the matcher decide again, with no hint: the file goes back to pending and the next scan places it by its name.

seriesUuid?string

This file belongs to this series. Recorded as the file's hint, which every future match reads first, so no automated pass may move it.

Length1 <= length
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.LibraryService/ReidentifyMediaFile" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "mediaFileUuid": "6e8a0c2d-4f1b-4d3e-9a5c-7b9d1f3e5a7c",
  "matchState": "pending",
  "grabEpisodesRefused": "1",
  "scan": "map[lockKey:library-scan:server:12 queuedAt:2026-10-22T09:30:00Z serverSlug:thompson-home status:TASK_RUN_STATUS_QUEUED taskKey:library.scan taskName:Library scan trigger:TASK_RUN_TRIGGER_MANUAL triggeredBy:luke uuid:1f3b5d7e-9a2c-4e4f-8b6d-0c2e4a6c8e3f]"
}