curl --request GET \
--url https://video.bunnycdn.com/library/{libraryId}/collections \
--header 'AccessKey: <api-key>'{
"totalItems": 123,
"currentPage": 123,
"itemsPerPage": 123,
"items": [
{
"videoLibraryId": 123,
"guid": "<string>",
"name": "<string>",
"videoCount": 123,
"totalSize": 123,
"previewVideoIds": "<string>",
"previewImageUrls": [
"<string>"
]
}
]
}curl --request GET \
--url https://video.bunnycdn.com/library/{libraryId}/collections \
--header 'AccessKey: <api-key>'{
"totalItems": 123,
"currentPage": 123,
"itemsPerPage": 123,
"items": [
{
"videoLibraryId": 123,
"guid": "<string>",
"name": "<string>",
"videoCount": 123,
"totalSize": 123,
"previewVideoIds": "<string>",
"previewImageUrls": [
"<string>"
]
}
]
}AccessKey based authentication
The list of videos for the current parameters
Was this page helpful?