Videos are the imported videos grouped under Video Groups. They are very similar to videos, but they are grouped under Videos Groups. On this page, we’ll dive into the different video endpoints you can use to read video information programmatically from the Channels library.
The video model
The video model contains all the information about your imported videos that are part of a Video Group, such as its title, summary, poster art, watch status, duration, etc.
Properties
idstring
The unique identifier for the video.
video_group_idstring
The unique identifier for the video's parent video group.
pathstring
The full path to the video file.
season_numberinteger
The season number of the video.
episode_numberinteger
The episode number of the video.
titlestring
The title of the video's parent show.
video_titlestring
The title of the video.
summarystring
The short summary of the video.
full_summarystring
The full summary of the video.
content_ratingstring
The content rating of the video. This is typically a TV rating such as TV-14, TV-PG, etc.
image_urlstring
The URL of the poster image for the video.
thumbnail_urlstring
The URL of the thumbnail image for the video.
durationfloat
The duration of the video in seconds.
playback_timeinteger
The playback position the video will resume at in seconds.
original_air_datestring
The date the video originated.
genresarray
An array of strings for the genres of the video.
tagsarray
An array of strings for the tags of the video. Tags indicate information about the video such as HD, 4K, CC, Dolby Digital, etc.
labelsarray
An array of strings for the labels of the video. Labels are self assigned strings used for organizing items in the library.
categoriesarray
An array of strings for the categories of the video. Categories describe the type of content the video is such as Internet Video, Concert, etc.
watchedboolean
Whether or not the video has been watched.
favoritedboolean
Whether or not the video has been favorited.
processedboolean
Whether or not the video has completed post-processing.
verifiedboolean
Whether or not the video's commercials have been manually verified.
last_watched_attimestamp
The timestamp of the last time the video was watched.
created_attimestamp
The timestamp of when the video was first added to the library.
updated_attimestamp
The timestamp of when the video was last updated.
GET/api/v1/videos
List all videos
Returns a list of all videos in the library.
Optional Attributes
watchedboolean
Only return videos with watch status corresponding to the passed in value.
favoritedboolean
Only return videos with favorited status corresponding to the passed in value.
verifiedboolean
Only return videos with verified status corresponding to the passed in value.
Sorting Attributes
sortstring
Sort the response based on the passed in value.
Options
date_addeddefault
Sort by the date the video was added to the library.
date_released
Sort by the date the video originated.
date_watched
Sort by the date the video was last watched.
duration
Sort by length of the video.
orderstring
Set the order of the response.
Options
asc
Ascending order.
descdefault
Descending order.
Request
GET/api/v1/videos
curl http://192.168.1.3:8089/api/v1/videos
Response
GET/api/v1/videos/:id
Retrieve a video
This endpoint allows you to retrieve a video by using its unique identifier.