Skip to main content
GET
/
library
/
{libraryId}
/
videos
/
{videoId}
/
resolutions
Video resolutions info
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
  }
}

Authorizations

AccessKey
string
header
required

AccessKey based authentication

Path Parameters

libraryId
integer<int64>
required
videoId
string
required

Response

The resolutions info.

success
boolean

Determines if the request was successful

message
string | null

Response message description

statusCode
integer<int32>

The response status code

data
object