跳到主要内容

Uploaded Files

Once you upload the necessary assets, you can send a GET request to the following API with various query parameters to get a list of assets.

GET /bv/cms/v1/library/files

The available query parameters are:

Filter nameTypeDescription / Values
current_pageintegerThe current page number of the pagination. The default value is 1.
items_per_pageintegerThe number of items to return per page. The default value is 20.
typestringThe asset type including FILE_TYPE_VIDEO, FILE_TYPE_IMAGE, and FILE_TYPE_SUBTITLE

Here's an example of retrieving a list of video files, limiting the number of items to 10 per page.

/bv/cms/v1/library/files?type=FILE_TYPE_VIDEO&items_per_page=10