curl --request GET \
--url https://video.bunnycdn.com/library/{libraryId}/videos/{videoId}/resolutions \
--header 'AccessKey: <api-key>'{
"success": true,
"message": "<string>",
"statusCode": 123,
"data": {
"videoId": "<string>",
"videoLibraryId": 123,
"availableResolutions": [
"<string>"
],
"configuredResolutions": [
"<string>"
],
"playlistResolutions": [
{
"resolution": "<string>",
"path": "<string>"
}
],
"storageResolutions": [
{
"resolution": "<string>",
"path": "<string>"
}
],
"mp4Resolutions": [
{
"resolution": "<string>",
"path": "<string>"
}
],
"storageObjects": [
{
"guid": "<string>",
"storageZoneName": "<string>",
"path": "<string>",
"objectName": "<string>",
"length": 123,
"lastChanged": "2023-11-07T05:31:56Z",
"serverId": 123,
"isDirectory": true,
"userId": "<string>",
"contentType": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"storageZoneId": 123,
"checksum": "<string>",
"replicatedZones": "<string>"
}
],
"oldResolutions": [
{
"guid": "<string>",
"storageZoneName": "<string>",
"path": "<string>",
"objectName": "<string>",
"length": 123,
"lastChanged": "2023-11-07T05:31:56Z",
"serverId": 123,
"isDirectory": true,
"userId": "<string>",
"contentType": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"storageZoneId": 123,
"checksum": "<string>",
"replicatedZones": "<string>"
}
],
"hasBothOldAndNewResolutionFormat": true,
"hasOriginal": true
}
}curl --request GET \
--url https://video.bunnycdn.com/library/{libraryId}/videos/{videoId}/resolutions \
--header 'AccessKey: <api-key>'{
"success": true,
"message": "<string>",
"statusCode": 123,
"data": {
"videoId": "<string>",
"videoLibraryId": 123,
"availableResolutions": [
"<string>"
],
"configuredResolutions": [
"<string>"
],
"playlistResolutions": [
{
"resolution": "<string>",
"path": "<string>"
}
],
"storageResolutions": [
{
"resolution": "<string>",
"path": "<string>"
}
],
"mp4Resolutions": [
{
"resolution": "<string>",
"path": "<string>"
}
],
"storageObjects": [
{
"guid": "<string>",
"storageZoneName": "<string>",
"path": "<string>",
"objectName": "<string>",
"length": 123,
"lastChanged": "2023-11-07T05:31:56Z",
"serverId": 123,
"isDirectory": true,
"userId": "<string>",
"contentType": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"storageZoneId": 123,
"checksum": "<string>",
"replicatedZones": "<string>"
}
],
"oldResolutions": [
{
"guid": "<string>",
"storageZoneName": "<string>",
"path": "<string>",
"objectName": "<string>",
"length": 123,
"lastChanged": "2023-11-07T05:31:56Z",
"serverId": 123,
"isDirectory": true,
"userId": "<string>",
"contentType": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"storageZoneId": 123,
"checksum": "<string>",
"replicatedZones": "<string>"
}
],
"hasBothOldAndNewResolutionFormat": true,
"hasOriginal": true
}
}AccessKey based authentication
Was this page helpful?