DRM Media

Single DRM media objects

Returns all media metadata and assets (images, tracks, conversions, manifests), formatted as JSON, needed to play a DRM media in a JWX player

For media with a renditions hosting type (CMAF VOD), the thumbnails track is served at /v2/sites/{site_id}/media/{media_id}/thumbstrip.vtt rather than the /strips/{media_id}-120.vtt shown in the examples below.

get/v2/media/{media_id}/drm/{policy_id}

Request

  • Base URL
    https://cdn.jwplayer.com
  • URL
    https://cdn.jwplayer.com/v2/media/{media_id}/drm/{policy_id}
  • Auth
    none declared

Path parameters

policy_idstring required

Eight-character, alphanumeric ID that uniquely identifies the DRM policy

media_idstring required

Eight-character, alphanumeric ID that uniquely identifies the media

This can be found on the video detail page in the dashboard.

Query parameters

sourcesstring[]

The media sources included in the playlist

This is a comma-separated list of values in the order in which they should appear in the playlist.

One can specify sources by adaptive streaming formats (dash, hls), quality levels (ex: 1080p, 720p, 1920px), or legacy template IDs.

Note that mixing the way the sources are specified may have unexpected results.

tokenstring

Signature for requests to the Content API for protected content

It consists of a JSON Web Token (JWT) containing the parameters of the request.

When requested with no signature to prevent unauthorized access to videos, unsigned video URLs are returned.

More information is available in the developer guide.

Response

A JSON object describing a media

object required

Changes

No recorded changes to this operation across all 1 revision of this API.