Available in Classic and VPC
Get the history of licenses issued by the site.
Request
This section describes the request format. The method and URI are as follows:
| Method | URI |
|---|---|
| GET | /api/v1/license/statistics |
Request headers
For information about the headers common to all One Click Multi DRM APIs, see One Click Multi DRM request headers.
Request query parameters
You can use the following query parameters with your request:
| Field | Type | Required | Description |
|---|---|---|---|
siteId |
String | Required | Site ID
|
searchCondition |
String | Optional | Search conditions
|
searchKeyword |
String | Optional | Search keyword |
startTime |
Integer | Optional | Query start date and time (millisecond)
|
endTime |
Integer | Optional | Query end date and time (millisecond)
|
pageNo |
Integer | Optional | Page number
|
pageSize |
Integer | Optional | Number of items per page
|
status |
String | Optional | Filter by license issuance success status.
|
Request example
The request example is as follows:
curl --location --request GET 'https://multi-drm.apigw.ntruss.com/api/v1/license/statistics?siteId=drm-20250903141775-*****&searchCondition=drmType&searchKeyword=Widevine&startTime=1699605801000&endTime=1700469801000&pageNo=1&pageSize=20&status=success' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'Content-Type: application/json' \
--header 'x-ncp-region_code: KR'
Response
This section describes the response format.
Response body
The response body includes the following data:
| Field | Type | Required | Description |
|---|---|---|---|
success |
Boolean | - | API processing result
|
content |
Array | - | License issuance hisgtory list: content |
total |
Integer | - | Total response count |
content
The following describes content.
| Field | Type | Required | Description |
|---|---|---|---|
siteId |
String | - | Site ID |
userId |
String | - | User ID
|
licenseStatus |
String | - | License issuance success status
|
drmType |
String | - | DRM type
|
contentId |
String | - | Playback content ID
|
deviceId |
String | - | License request device ID |
deviceModel |
String | - | License request device model |
platformName |
String | - | License request platform name |
licenseCreatedTime |
Integer | - | License issuance date and time (millisecond)
|
Response status codes
For information about the response status codes common to all One Click Multi DRM APIs, see One Click Multi DRM response status codes.
Response example
The response example is as follows:
{
"success": true,
"content": [
{
"siteId": "drm-20250814105413-*****",
"userId": "6642e243357b8f2e****************",
"licenseStatus": "success",
"drmType": "Widevine",
"contentId": "ajfxle*******",
"deviceId": "afd1576e71a3092b****************",
"deviceModel": "ChromeCDM-Win-x64-2024-11-14",
"platformName": "PLATFORM_WINDOWS",
"licenseCreatedTime": 1757571734000
}
],
"total": 1
}