Refresh Item Metadata
Trigger a metadata refresh for a specific item.Endpoint
POST
/Items/{itemId}/RefreshPath Parameters
The item ID to refresh.
Query Parameters
Metadata refresh mode: None, ValidationOnly, Default, FullRefresh.
Image refresh mode: None, ValidationOnly, Default, FullRefresh.
Whether to replace all metadata. Only applicable if mode is FullRefresh.
Whether to replace all images. Only applicable if mode is FullRefresh.
Whether to regenerate trickplay images. Only applicable if mode is FullRefresh.
Authorization
Requires elevation policy (administrator access).Response Codes
204- No Content: Metadata refresh queued successfully404- Not Found: Item not found
Update Item Metadata
Update metadata fields for an item.cURL
Endpoint
POST /Items/{itemId}
Path Parameters
The item ID.
Request Body
Item name/title.
Original title in source language.
Forced sort name for custom ordering.
Item description/plot summary.
Short tagline.
Array of genre names.
Array of custom tags.
Array of studio objects with Name property.
Year of production.
Date the item premiered.
End date (for series).
Community rating (0-10).
Critic rating.
Official content rating (PG, PG-13, etc).
Custom rating.
External provider IDs (Tmdb, Imdb, Tvdb, etc).
Array of person objects with Name, Role, and Type properties.
Whether metadata is locked from changes.
Specific metadata fields that are locked.
Authorization
Requires elevation policy (administrator access).Response Codes
204- No Content: Item updated successfully404- Not Found: Item not found
Get Metadata Editor Info
Retrieve metadata editor information for an item.cURL
Endpoint
GET /Items/{itemId}/MetadataEditor
Path Parameters
The item ID.
Response
Available parental rating options.
Available country options.
Available culture/language options.
External ID provider information.
Current content type.
Available content type options.
Authorization
Requires elevation policy (administrator access).Response Codes
200- Success: Metadata editor info returned404- Not Found: Item not found
Remote Search
Search external metadata providers for media information.Search Movies
Movie
POST /Items/RemoteSearch/Movie
Search Series
Series
POST /Items/RemoteSearch/Series
Search Music Album
Album
POST /Items/RemoteSearch/MusicAlbum
Other available endpoints:
/Items/RemoteSearch/Trailer/Items/RemoteSearch/MusicVideo/Items/RemoteSearch/MusicArtist/Items/RemoteSearch/BoxSet/Items/RemoteSearch/Book/Items/RemoteSearch/Person
Request Body
Search criteria object.
Optional existing item ID.
Specific provider to search.
Include disabled providers in search.
Response
Array of search result objects.
Response Codes
200- Success: Search results returned
Apply Search Result
Apply a remote search result to an item and refresh metadata.cURL
Endpoint
POST /Items/RemoteSearch/Apply/{itemId}
Path Parameters
The item ID to update.
Query Parameters
Whether to replace all existing images.
Request Body
RemoteSearchResult object from search results.Authorization
Requires elevation policy (administrator access).Response Codes
204- No Content: Search result applied and metadata refreshed404- Not Found: Item not found
Get External ID Info
Retrieve external ID information for an item.cURL
Endpoint
GET /Items/{itemId}/ExternalIdInfos
Path Parameters
The item ID.
Response
Array of ExternalIdInfo objects describing available external ID providers.Authorization
Requires elevation policy (administrator access).Response Codes
200- Success: External ID info returned404- Not Found: Item not found
Update Content Type
Update the content type for an item.cURL
Endpoint
POST /Items/{itemId}/ContentType
Path Parameters
The item ID.
Query Parameters
Content type: movies, tvshows, music, books, homevideos, musicvideos, photos, or empty for inherit.
Authorization
Requires elevation policy (administrator access).Response Codes
204- No Content: Content type updated404- Not Found: Item not found
Library Options
Manage metadata options for libraries.Get Library Options Info
Get
GET /Libraries/AvailableOptions
Query Parameters
Library content type to get options for.
Whether this is for a new library.
Response
Available metadata fetcher plugins per item type.
Available image fetcher plugins per item type.
Available metadata saver plugins.
Available local metadata reader plugins.
Available subtitle fetcher plugins.
Options organized by item type.
Authorization
Requires first-time setup or default policy.Response Codes
200- Success: Library options returned