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.
|
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
|
x-ncp-region_code |
Required | Region code
|
x-drm-token |
Conditional | DRM token
|
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:
- Common Ncloud API response status codes: Information on common response status codes of NAVER Cloud Platform
- One Click Multi DRM error codes: Error codes used in One Click Multi DRM APIs
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.
- One Click Multi DRM API guides
- Create signature: How to create a signature to add to the request header
- Sub Account user guide: How to issue the access key to be added to the request header
- Common Ncloud response status codes: Information on common response status codes of NAVER Cloud Platform used by the One Click Multi DRM service
- One Click Multi DRM service guides
- One Click Multi DRM user guide: How to use the One Click Multi DRM service in the NAVER Cloud Platform console
- Ncloud user environment guide: Explore VPC and Classic environments and supported services.
- Pricing and features: View pricing details and key capabilities.
- Latest service news: Stay informed about service updates and news.
- FAQ: Get answers to common One Click Multi DRM questions.
- Contact Support: Get help if you can't find what you need in the API guide.