curl --request GET \
--url https://video.bunnycdn.com/library/{libraryId}/collections/{collectionId} \
--header 'AccessKey: <api-key>'{
"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/{collectionId} \
--header 'AccessKey: <api-key>'{
"videoLibraryId": 123,
"guid": "<string>",
"name": "<string>",
"videoCount": 123,
"totalSize": 123,
"previewVideoIds": "<string>",
"previewImageUrls": [
"<string>"
]
}AccessKey based authentication
The details of the requested collection
The video library ID that contains the collection
The unique ID of the collection
The name of the collection
The number of videos that the collection contains
The total storage size of the collection
The IDs of videos to be used as preview icons
The URLs of preview images of videos in the collection
Was this page helpful?