Available in Classic and VPC
Get the top 10 content by total playback count, sorted in descending order, played through the player. Only data with metadata set during player configuration is aggregated, and the data aggregation criteria vary depending on the interval between the start and end points of the query.
| Time span between start time and end time | Interval |
|---|---|
| 1 day or less | 5-minute interval |
| 2 days or more | 1-day interval |
Request
This section describes the request format. The method and URI are as follows:
| Method | URI |
|---|---|
| GET | /v1/contentsSummary/playCountTop10 |
Request headers
For information about the headers common to all Video Player Enhancement APIs, see Video Player Enhancement request headers.
Request query parameters
You can use the following query parameters with your request:
| Field | Type | Required | Description |
|---|---|---|---|
device |
String | Optional | Player playback environment
|
videoType |
String | Optional | Playback source type
|
startDate |
Date | Optional | Query start date and time
|
endDate |
Date | Optional | Query end date and time
|
Request example
The request example is as follows:
curl --location --request GET 'https://ma-dashboard-api.vpe.naverncp.com/v1/contentsSummary/playCountTop10?device=PC,Mobile&videoType=VOD,LIVE' \
--header 'x-api-key: {API Key}' \
--header 'x-project-id: {Project id}'
Response
This section describes the response format.
Response body
The response body includes the following data:
| Field | Type | Required | Description |
|---|---|---|---|
code |
String | - | Response code |
message |
String | - | Response message |
result |
Array | - | Response result: Top 10 content list by playback count |
result
The following describes result.
| Field | Type | Required | Description |
|---|---|---|---|
title |
String | - | Video title |
url |
String | - | Playback source (URL) |
videoType |
String | - | Playback source type
|
contentsKey |
String | - | Content key ID
|
playCount |
Integer | - | Playback count |
Response status codes
For information about the HTTP status codes common to all Video Player Enhancement APIs, see Common Video Player Enhancement response status codes.
Response example
The response example is as follows:
{
"code": 200,
"message": "contents/summary/playCountTop10 (1d)",
"result": [
{
"title": "NAVER Cloud introduction video",
"url": "https://*********.naverncp.com/hls/*********/vod/JDPCILtJUbYObLmI/media-plus-99/DQEhtI6zHI_,AVC_SD_1Pass_30fps_1,AVC_HD_1Pass_30fps,AVC_FHD_1Pass_30fps,.mp4.smil/master.m3u8",
"videoType": "VOD",
"contentsKey": "4311180d*********3a3edc1",
"playCount": 96
},
{
"title": "NAVER Cloud introduction video",
"url": "https://*********.naverncp.com/hls/*********/endpoint/sample/221027_NAVER_Cloud_intro_Long_ver_AVC_,FHD_2Pass_30fps,HD_2Pass_30fps,SD_2Pass_30fps,.mp4.smil/master.m3u8",
"videoType": "VOD",
"contentsKey": "77da5874*********50ec5ec3",
"playCount": 68
},
{
"title": "HLS VOD (ABR)",
"url": "https://*********.naverncp.com/hls/*********/shorts/11942/encoding_ready_4969619_cOX98LTFqD_shorts,720,1080,p.mp4.smil/master.m3u8",
"videoType": "VOD",
"contentsKey": "943a65c9e*********a560939",
"playCount": 15
},
{
"title": "T78o60iShs",
"url": "https://*********.cdn.ntruss.com/hls/*********/vod/uh4I6Rb9K4D21qp6/media-plus-99/mjuynxNP4c_,AVC_SD_1Pass_30fps_1,AVC_HD_1Pass_30fps,AVC_FHD_1Pass_30fps,.mp4.smil/master.m3u8",
"videoType": "VOD",
"contentsKey": "6e5d39*********5521b38",
"playCount": 14
},
{
"title": "test_video",
"url": "https://*********.cdn.ntruss.com/hls/*********/vod/YFKvarKMQkLtQuNs/media-plus-99/cJ1yLeBPz5_,AVC_SD_1Pass_30fps_1,AVC_HD_1Pass_30fps,AVC_FHD_1Pass_30fps,.mp4.smil/master.m3u8",
"videoType": "VOD",
"contentsKey": "e044d4*********039e89",
"playCount": 9
},
{
"title": "testVod164215 (720p)",
"url": "https://*********.cdn.ntruss.com/hls/*********/vod/XNduB8Yu0IetNzRK/media-plus-99/gT6kQApRj8_,AVC_SD_1Pass_30fps_1,AVC_HD_1Pass_30fps,AVC_FHD_1Pass_30fps,.mp4.smil/master.m3u8",
"videoType": "VOD",
"contentsKey": "df823e9*********621921c",
"playCount": 9
},
{
"title": "I am not baby",
"url": "https://*********.cdn.ntruss.com/hls/*********/vod/e6d7Z8VbhkkWCOOR/media-plus-99/O3bUOG8uHw_,AVC_SD_1Pass_30fps_1,AVC_HD_1Pass_30fps,AVC_FHD_1Pass_30fps,.mp4.smil/master.m3u8",
"videoType": "VOD",
"contentsKey": "d2154bc*********00a00187",
"playCount": 8
},
{
"title": "bread_-_14239 (540p)",
"url": "https://*********.cdn.ntruss.com/hls/*********/vod/e6d7Z8VbhkkWCOOR/media-plus-99/CjHgIYtutS_,AVC_SD_1Pass_30fps_1,AVC_HD_1Pass_30fps,AVC_FHD_1Pass_30fps,.mp4.smil/master.m3u8",
"videoType": "VOD",
"contentsKey": "1e4a8f0b*********31d8f0044",
"playCount": 8
},
{
"title": "production_id_4407781 (1080p)",
"url": "https://*********.cdn.ntruss.com/hls/*********/vod/u0FaWkyM6ls3LSIf/media-plus-99/MtKMq8KAAb_,AVC_SD_1Pass_30fps_1,AVC_HD_1Pass_30fps,AVC_FHD_1Pass_30fps,.mp4.smil/master.m3u8",
"videoType": "VOD",
"contentsKey": "ba387171*********378fb093a",
"playCount": 8
},
{
"title": "pexels-ivan-stecko-13433624 (1080p)",
"url": "https://*********.cdn.ntruss.com/hls/*********/vod/u0FaWkyM6ls3LSIf/media-plus-99/oxF4SClBT7_,AVC_SD_1Pass_30fps_1,AVC_HD_1Pass_30fps,AVC_FHD_1Pass_30fps,.mp4.smil/master.m3u8",
"videoType": "VOD",
"contentsKey": "ec806ab*********0009697",
"playCount": 8
}
]
}