v1
latestOpenAPI 3.1.02026-07-24251250397.8 KBdrm
List DRM policies
Lists DRM policies for a site
get/v2/sites/{site_id}/drm_policies/
Path parameters
site_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the site
Query parameters
pageinteger
Sets the page number for pagination. First page is 1.
page_lengthinteger
Sets the page length (number of items you get in the response) for pagination
If page_length is not specified, the default value will be set.
Default: 10
Response
Site DRM policy resources retrieved
Example response
{
"page": 1,
"page_length": 10,
"total": 1,
"drm_policies": [
{
"schema": "https://schema.jwplayer.com/types/thumbnail.json",
"id": "Ny05CEfj",
"created": "2019-09-25T15:29:11.042095+00:00",
"last_modified": "2019-09-25T15:29:11.042095+00:00",
"metadata": {
"name": "Low",
"max_width": 720,
"widevine_security": "sw_secure_crypto",
"playready_security": 2000,
"digital_output_protection": "not_required",
"license_duration": 300,
"playback_duration": 3600
}
}
]
}