View site logs
- Print
- PDF
View site logs
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
One Click Multi DRM provides an API to view the log generated from the created site.
Requests
GET https://multi-drm.apigw.ntruss.com/api/v1/sites/siteLog?pageNo={pageNo}&pageSizeNo={pageSizeNo}&siteId={siteId}
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
pageNo | No | Integer | No restriction | Page index to view |
pageSizeNo | No | Integer | 1-100 | Number of site logs to include when viewing lists For example, when 60 site logs are created with pageSizeNo 30, the viewing of site log list is done in 30 site logs per page |
siteId | Yes | String | No restriction | ID of the site to view |
Request headers
Header name | Requirement status | Description |
---|---|---|
x-ncp-apigw-timestamp | YES | This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 (UTC) If the time difference compared to the API Gateway server is 5 minutes or longer, then the request is considered invalid x-ncp-apigw-timestamp:{Timestamp} |
x-ncp-iam-access-key | YES | Value of access key ID issued in the NAVER Cloud Platform portalx-ncp-iam-access-key:{Sub Account Access Key} |
x-ncp-apigw-signature-v2 | YES | Signature encrypted with the access key ID value and secret keyx-ncp-apigw-signature-v2:{API Gateway Signature} |
Content-Type | YES | Specifies the request body content type as application/jsonContent-Type: application/json |
x-ncp-region_code | YES | Region code (KR) |
Response
Field name | Requirement status | Type | Remarks |
---|---|---|---|
siteId | Yes | String | Unique ID of the created site |
description | Yes | String | Event occurred in the created site |
timestamp | Yes | Timestamp | Time when event occurred |
Examples
Response example
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 26 Feb 2021 09:53:32 GMT
Content-Type: application/json;charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
x-ncp-trace-id: 36c9k60om4p3238cpmc9gm4cj4
{
"content" : [
{
"siteId" : "1234",
"description" : "",
"timestamp" : 1585572599000
},
{
"siteId" : "2453",
"description" : "",
"timestamp" : 1585572599000
},
{
"siteId" : "5678",
"description" : "",
"timestamp" : 1585572599000
},
],
"total" : 3
}
Was this article helpful?