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

Restore a removed title

POST
/xmb.api.v1.ContentService/RestoreSeries

Lifts one title exclusion, named by the uuid from ListRemovedSeries, and returns the library's excluded files to the matcher. It then queues a library scan, which rebuilds the title from the files still on the hubs. scan_queued is false when the scan could not be queued now; the exclusion is lifted anyway and the next regular scan rebuilds the title. Watch progress deleted with the title is not recovered.

NOT_FOUND for an exclusion not on this server. Requires an administrator of the server. Audited as series.restored.

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
removedSeriesUuid?string
Formatuuid
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.ContentService/RestoreSeries" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "title": "Lost",
  "scanQueued": "true"
}