Search metadata
Searches the configured metadata providers, for choosing what an unidentified item is.
Required scopes: xmb:admin
Authorization
BearerAuth An access token issued by the xeonr identity provider.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
1 <= lengthWhat to search for. Free text, because the whole point is that whatever was parsed out of the path was not right.
1 <= lengthWhich services to ask. Empty asks the ones the library's category uses.
Search as this library: its provider policy decides who is asked, so the identify sheet never offers a candidate from a service the library turned off. Absent keeps the category's full set — the behaviour every caller had before the field existed.
uuidResponse Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.LibraryService/SearchMetadata" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"candidates": [
"map[posterUrl:https://artworks.thetvdb.com/banners/v4/series/371980/posters/example.jpg provider:tvdb providerId:371980 score:0.97 title:Severance year:2022]"
]
}Rescan library POST
Queues a scan of the server's hubs. A scan already running for the server is waited on rather than duplicated. **Required scopes:** `xmb:admin`
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`