One Click Multi DRM overview

Prev Next

Available in Classic and VPC

One Click Multi DRM is a NAVER Cloud Platform service that encrypts and stores video content to prevent illegal copying and distribution. It supports all major digital rights management (DRM) systems, enabling secure playback of video content regardless of device or platform, and allows for the issuance and management of encryption/decryption keys. The One Click Multi DRM service provides various DRM-related features, such as site management, license issuance, and DRM policy management, in the form of RESTful APIs.

Common One Click Multi DRM settings

This section describes the common request and response formats used in One Click Multi DRM APIs.

Request

The following describes the common request format.

API URL

The request API URL is as follows:

https://multi-drm.apigw.ntruss.com

Request headers

The following describes the request headers.

Field Required Description
x-ncp-apigw-timestamp Required This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
  • Request is considered invalid if the timestamp differs from the current time by more than 5 minutes.
  • Unix timestamp format.
x-ncp-iam-access-key Required Access key issued on NAVER Cloud Platform
x-ncp-apigw-signature-v2 Required Base64-encoded signature that encrypts the request information with a secret key that maps to the access key issued on NAVER Cloud Platform, using the HMAC encryption algorithm (HmacSHA256)
Content-Type Required Request data format
  • application/json
x-ncp-region_code Required Region code
  • KR: Korea (valid value)
x-drm-token Conditional DRM token
  • Token value containing essential data for license issuance
  • Required when issuing licenses and integrating with clients

Response

The following describes the common response format.

Response body

The response body includes the following data:

error

error defines the API call failure information. The following describes error.

Field Type Required Description
error Object - Error code and message
error.code String Required Errors
error.name String Required Error name
error.message String Required Error message

Response status codes

For response status codes common to all One Click Multi DRM APIs, see the following:

Response example

For response examples when a call is successful, see each API specification. The following is a sample response upon a failed call.

{
    "success": false,
    "error": {
        "code": 280000,
        "name": "EXCEPTION",
        "message": "Exception occurred, please try again later."
    }
}

One Click Multi DRM API

The following describes the APIs provided by the One Click Multi DRM service.

Encryption

The following describes the encryption-related APIs.

API Description
Encrypt DRM content Encrypt DRM content.

Site

The following describes the site-related APIs.

API Description
Create site Create One Click Multi DRM site.
Get site log Get event logs from the One Click Multi DRM site.
Get site list Get the list of One Click Multi DRM sites.
Get site Get One Click Multi DRM site details.
Edit sites Edit One Click Multi DRM site information.
Disable site Disable One Click Multi DRM site.
Enable site Enable One Click Multi DRM site.

License

The following describes the license-related APIs.

API Description
Issue license (FairPlay) Issue FairPlay streaming-type licenses.
Issue license (Widevine, PlayReady) Issue Widevine and PlayReady-type licenses.
Get license issuance history Get the history of licenses issued by the site.
Integrate license with client Integrate license with the client (player).

DRM Policy

The following describes the DRM policy-related APIs.

API Description
Create policy Create DRM policy
Duplicate policy Create a new policy by duplicating an existing DRM policy.
Get policy log Get event logs generated by DRM policy.
Get policy list Get DRM policy list.
Get policy Get DRM policy details.
Modify policy Edit DRM policy information.
Delete policy Delete DRM policy.

One Click Multi DRM related resources

NAVER Cloud Platform provides a variety of related resources to help users better understand One Click Multi DRM APIs.