Video Groups are the titled items that group your imported Videos. They are very similar to Shows, but they group together imported Videos. Video Groups are full of their own metadata. On this page, we’ll dive into the different endpoints you can use to read video group information programmatically from the Channels library.
The video groups model
The video group model contains all the information about your Video Groups in your library, such as their name, poster art, last watched date, etc. Additionally, you can fetch all of the videos of a video group using the nested endpoint.
Properties
idstring
The unique identifier for the Video Group.
namestring
The name of the Video Group.
summarystring
The summary of the Video Group.
image_urlstring
The URL of the poster image for the Video Group.
release_yearstring
The year the Video Group was originated.
release_datestring
The date the Video Group was originated.
genresarray
An array of strings for the genres of the Video Group.
categoriesarray
An array of strings for the categories of the Video Group. Categories describe the type of content the Video Group is such as Intenet Videos, Concert, etc.
labelsarray
An array of strings for the labels of the Video Group. Labels are self assigned strings used for organizing items in the library.
video_countinteger
The number of videos contained in the Video Group.
number_unwatchedinteger
The number of unwatched videos for the Video Group.
favoritedboolean
Whether or not the Video Group has been favorited.
last_watched_attimestamp
The date of the last time a video of the Video Group was watched.
created_attimestamp
The date when the Video Group was first added to the library.
updated_attimestamp
The date when the Video Group was last updated.
GET/api/v1/video_groups
List all video groups
Returns a list of all Video Groups in the library.
Optional Attributes
watchedboolean
Only return video groups with their complete watch status corresponding to the passed in value.
favoritedboolean
Only return video groups with their favorited status corresponding to the passed in value.
Sorting Attributes
sortstring
Sort the response based on the passed in value.
Options
alphadefault
Sort by the title of the video group.
date_added
Sort by the date the video group was added to the library.
date_released
Sort by the date the video group originated.
date_watched
Sort by the date the video group was last watched.
date_updated
Sort by date the video group was last updated.
orderstring
Set the order of the response.
Options
ascdefault
Ascending order.
desc
Descending order.
Request
GET/api/v1/video_groups
curl http://192.168.1.3:8089/api/v1/video_groups
Response
GET/api/v1/video_groups/:id
Retrieve a video group
This endpoint allows you to retrieve a video group by using its unique identifier.