Version: JavaScript 1.1.0
Query Videos
To access all videos in the library, we have a service called VideoStore
that allows you to manage all your videos.
Note that just like all other network APIs, you will need a valid session to use it. You can ensure that you have a valid session by checking SessionManager.state
is equal to SessionState.CONNECTED
.
#
Fetch single videoSingle videos can be fetched by id with the getVideo()
method:
#
Query listsThe video store can return lists of videos (VideoList
) by calling getVideos()
. VideoList
represents an object with an array of videos (videos
) and total video count (totalCount
).
Here's some request examples: