Manage videos
The IndexesClient.VideosClient
class provides methods to manage the videos you’ve uploaded to the platform.
Methods
Retrieve video information
Description: This method retrieves information about the specified video.
Function signature and example:
Parameters:
Return value: Returns a VideosRetrieveResponse
object representing the retrieved video.
The VideosRetrieveResponse
class contains the following properties:
The VideosRetrieveResponseSystemMetadata
class contains the following properties:
The VideosRetrieveResponseEmbedding
class contains the following properties:
The VideosRetrieveResponseEmbeddingVideoEmbedding
class contains the following properties:
The TranscriptionDataItem
class contains the following properties:
API Reference: Retrieve video information.
List videos
Description: This method returns a list of the videos in the specified index. By default, the platform returns your videos sorted by creation date, with the newest at the top of the list.
Function signature and example:
Parameters:
Return value: Returns a SyncPager[VideoVector]
object that allows you to iterate through the paginated list of videos in the specified index.
The SyncPager[T]
class contains the following properties and methods:
The VideoVector
class contains the following properties:
The VideoVectorSystemMetadata
class contains the following properties:
API Reference: List videos page.
Update video information
Description: This method updates the title and metadata of a video.
Function signature and example:
Parameters:
Return value: None
. The method doesn’t return any value.
API Reference: Update video information.
Delete video information
Description: This method deletes all the information about the specified video. This action cannot be undone.
Function signature and example:
Parameters:
Return value: None
. The method doesn’t return any value.
API Reference: Delete video information.