Refresh Item Metadata
Trigger a metadata refresh for a specific item.Endpoint
string
required
POST
string
required
/Items/{itemId}/RefreshPath Parameters
string (GUID)
required
The item ID to refresh.
Query Parameters
string
default:"None"
Metadata refresh mode: None, ValidationOnly, Default, FullRefresh.
string
default:"None"
Image refresh mode: None, ValidationOnly, Default, FullRefresh.
boolean
default:"false"
Whether to replace all metadata. Only applicable if mode is FullRefresh.
boolean
default:"false"
Whether to replace all images. Only applicable if mode is FullRefresh.
boolean
default:"false"
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
string (GUID)
required
The item ID.
Request Body
string
Item name/title.
string
Original title in source language.
string
Forced sort name for custom ordering.
string
Item description/plot summary.
string
Short tagline.
string[]
Array of genre names.
string[]
Array of custom tags.
object[]
Array of studio objects with Name property.
integer
Year of production.
string (ISO 8601)
Date the item premiered.
string (ISO 8601)
End date (for series).
number
Community rating (0-10).
number
Critic rating.
string
Official content rating (PG, PG-13, etc).
string
Custom rating.
object
External provider IDs (Tmdb, Imdb, Tvdb, etc).
object[]
Array of person objects with Name, Role, and Type properties.
boolean
Whether metadata is locked from changes.
string[]
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
string (GUID)
required
The item ID.
Response
array
Available parental rating options.
array
Available country options.
array
Available culture/language options.
array
External ID provider information.
string
Current content type.
array
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
object
required
Search criteria object.
string (GUID)
Optional existing item ID.
string
Specific provider to search.
boolean
Include disabled providers in search.
Response
array
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
string (GUID)
required
The item ID to update.
Query Parameters
boolean
default:"true"
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
string (GUID)
required
The item ID.
Response
Array of ExternalIdInfo objects describing available external ID providers.array
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
string (GUID)
required
The item ID.
Query Parameters
string
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
string
Library content type to get options for.
boolean
default:"false"
Whether this is for a new library.
Response
array
Available metadata fetcher plugins per item type.
array
Available image fetcher plugins per item type.
array
Available metadata saver plugins.
array
Available local metadata reader plugins.
array
Available subtitle fetcher plugins.
array
Options organized by item type.
Authorization
Requires first-time setup or default policy.Response Codes
200- Success: Library options returned