Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.discovr.media/llms.txt

Use this file to discover all available pages before exploring further.

AddHistoryPayload

PropertyTypeRequiredDescription
mediaIdstringYesThe media ID with prefix (MV_TMDBID for movies, TV_TMDBID for TV shows)
updatedAtstringNoISO 8601 timestamp indicating when the history entry was last updated
progressnumberNoPlayback progress percentage (0-100)
seasonintegerNoSeason number (required for TV shows)
episodeintegerNoEpisode number (optional for TV shows). When omitted, creates a “Default for Episode” entry that applies to all episodes in the season where episode.air_date < historyItem.updatedAt. This allows updating multiple episodes with a single history entry. Overriding Season Defaults: When provided, creates an explicit episode entry that takes precedence over any season default entries. To unmark an episode completed via season default, create an explicit entry with progress < 80% (which will not be marked as completed).
importedstringNoSource of import (e.g., “trakt”) if this item was imported

AddPlaybackPayload

PropertyTypeRequiredDescription
mediaIdstringYesThe media ID with prefix (MV_TMDBID for movies, TV_TMDBID for TV shows)
progressnumberNoInitial playback progress percentage (0-100)
updatedAtstringNoISO 8601 timestamp for when playback was last updated

AddSimpleListItemPayload

PropertyTypeRequiredDescription
mediaIdstringYesThe media ID with prefix (MV_TMDBID for movies, TV_TMDBID for TV shows)

EditPlaybackPayload

PropertyTypeRequiredDescription
mediaIdstringYesThe media ID with prefix (MV_TMDBID for movies, TV_TMDBID for TV shows)
progressnumberNoNew playback progress percentage (0-100)
updatedAtstringNoISO 8601 timestamp for when playback was last updated
seasonintegerNoSeason number (only for TV shows)
episodeintegerNoEpisode number (only for TV shows)

HistoryItem

PropertyTypeRequiredDescription
idstringYesThe DiscovrID (TV_<tmdbId> or MV_<tmdbId>)
mediaType"movie" | "tv"YesThe type of media
titlestringYesThe title of the media
poster_pathstringYesFull URL to the poster image (original size)
backdrop_pathstringYesFull URL to the backdrop image (original size)
updatedAtstringYesISO 8601 timestamp indicating when the history entry was last updated
progressnumberNoPlayback progress percentage (0-100)
completedbooleanNoWhether the media is considered completed (progress >= 80%)
watched_countintegerYesThe number of times this history entry has been updated
seasonintegerNoSeason number (required for TV shows)
episodeintegerNoEpisode number (required for TV shows)
importedstringNoSource of import (e.g., “trakt”) if this item was imported
createdAtstringYesISO 8601 timestamp indicating when the item was added to the list

HistoryListResponse

PropertyTypeRequiredDescription
itemsHistoryItem[]YesArray of history items
hasMorebooleanYesWhether there are more items available
nextPageTokenstringNoOpaque token to fetch the next page of results

PatchHistoryPayload

PropertyTypeRequiredDescription
progressnumberYesPlayback progress percentage (0-100). Values >= 80% are considered completed, values < 80% are not completed. Use progress: 0 to unmark an episode that was completed via season default.

PlaybackItem

PropertyTypeRequiredDescription
idstringYesThe DiscovrID (TV_<tmdbId> or MV_<tmdbId>)
mediaType"movie" | "tv"YesThe type of media
titlestringYesThe title of the media
poster_pathstringYesFull URL to the poster image (original size)
backdrop_pathstringYesFull URL to the backdrop image (original size)
episode_imagestringNoFull URL to the episode still image (only present for episode-level playback items)
episode_titlestringNoThe title of the episode (only present for episode-level playback items)
progressnumberNoPlayback progress percentage (0-100)
updatedAtstringNoISO 8601 timestamp indicating when playback was last updated
seasonintegerNoSeason number (only for TV shows)
episodeintegerNoEpisode number (only for TV shows)
createdAtstringYesISO 8601 timestamp indicating when the item was first added to the list

PlaybackListResponse

PropertyTypeRequiredDescription
itemsPlaybackItem[]YesArray of playback items
hasMorebooleanYesWhether there are more items available
nextPageTokenstringNoOpaque token to fetch the next page of results

SimpleListItem

PropertyTypeRequiredDescription
idstringYesThe DiscovrID (TV_<tmdbId> or MV_<tmdbId>)
mediaType"movie" | "tv"YesThe type of media
titlestringYesThe title of the media
poster_pathstringYesFull URL to the poster image (original size)
backdrop_pathstringYesFull URL to the backdrop image (original size)
createdAtstringYesISO 8601 timestamp indicating when the item was added to the list

SimpleListResponse

PropertyTypeRequiredDescription
itemsSimpleListItem[]YesArray of list items
hasMorebooleanYesWhether there are more items available
nextPageTokenstringNoOpaque token to fetch the next page of results

SuccessMessage

PropertyTypeRequiredDescription
messagestringYesSuccess message
addedstringNoThe list type the item was added to (for exclusive lists)
removedstringNoThe list type the item was removed from, if any (for exclusive lists)