Skip to main content
GET
/
videolibrary
/
{id}
/
drm
/
statistics
Get Video Library DRM Statistics
curl --request GET \
  --url https://api.bunny.net/videolibrary/{id}/drm/statistics \
  --header 'AccessKey: <api-key>'
{
  "TotalLicensesIssued": 123,
  "LicensesIssuedChart": {}
}

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Path Parameters

id
integer<int64>
required

The ID of the video library for which the DRM statistics will be returned

Query Parameters

dateFrom
string<date-time>

(Optional) The start date of the statistics. If no value is passed, the last 14 days will be returned

dateTo
string<date-time>

(Optional) The end date of the statistics. If no value is passed, current date will be used

Response

Returns the statistics for the video library with the given ID

TotalLicensesIssued
integer<int64>
required
LicensesIssuedChart
object