Get site log

Prev Next

Available in Classic and VPC

Get event logs of a site.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET /api/v1/sites/siteLog

Request query parameters

You can use the following query parameters with your request:

Field Type Required Description
pageNo Integer Optional Page number
  • 1-N (default: 1)
pageSize Integer Optional Number of items per page
  • 1-100
siteId String Required Site ID

Request headers

For information about the headers common to all One Click Multi DRM APIs, see One Click Multi DRM request headers.

Request example

The request example is as follows:

curl --location --request GET 'https://multi-drm.apigw.ntruss.com/api/v1/sites/siteLog?pageNo=1&pageSize=20&siteId=drm-20250903141775-*****' \
--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
  • true | false
    • true: Succeeded
    • false: Failed
content Array - Event log list: content
total Integer - Total response count

content

The following describes content.

Field Type Required Description
siteId String - Site ID
description String - Log details
timestamp Integer - Event occurrence date and time (millisecond)
  • Unix timestamp format

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-20250903141775-*****",
            "description": "Site 288,242 - myDrmSite Fairplay streaming certificate upload failed, please contact the customer center for details",
            "timestamp": 1756877409829
        },
        {
            "siteId": "drm-20250903141775-*****",
            "description": "Site 288,241 - myDrmSite has been issued",
            "timestamp": 1756877409587
        },
        {
            "siteId": "drm-20250903141775-*****",
            "description": "Site 288,238 - myDrmSite creation in progress",
            "timestamp": 1756876670521
        }
    ],
    "total": 3
}