특정 동영상의 상세 정보를 조회합니다.
- 과도한 API 요청이 발생하는 경우 사용량이 제한될 수 있습니다.
- 또한 현재 제공 중인 API의 종류 및 내용은 더 나은 API 서비스 제공을 위해 변경 및 업데이트될 수 있습니다.
Request URL
GET https://api.wecandeo.com/info/v1/video/detail.json?key={API key}&access_key={access_key}&pkg={package ID}
Request Parameters
Parameter Name | Type | Description |
---|---|---|
key (Required) | String | API KEY |
access_key (Required) | String | 원본 키 (Original Key – Video Access Key_Level 1) |
pkg (Required) | String | 배포 패키지 ID |
Response Example
{
videoDetail: {
errorInfo: {
errorCode: “None”,
errorMessage: “”
},
videoUrl: “https://api.wecandeo.com/video?k=BOKNS9AQWrFDVnV6rhC2CVmWJo6TnBxcAgsn4FBBUvyvhpTS1Mjisr1AZjC6OIC6l”,
videoInfo: {
id: 5732681,
content: “This Video is Video Pack Sample.”,
duration: 64932,
tag: “”,
cdate: “2015-07-14 14:35:17.0”,
v_width: 960,
v_height: 540,
v_framerate: 29.97,
filesize: 30628292,
cid: null,
title: “Sample Video”,
series: “PORORO”,
author: “ICONIX”,
copyright: “WECANDEO”,
rate: “All”,
etc: “Not allow to publish except for test.”,
org_access_key: “kiskSOZIPJ36qrt5uWt0AZJBY628u4jlP”,
thumbnail_url: “https://timgs.wecandeo.com/thumb/default/video/3509_32f84_00000.jpg”,
access_key: “BOKNS9AQWrFDVnV6rhC2Ca0gpF3OhwV3hiseZ8pv2OmLuipP30bVKv7gieie”,
encoding_success: “Y”
},
thumbnails: [{
selected: true,
seq: 1,
url: “https://timgs.wecandeo.com/thumb/default/video/3509_32f84_00000.jpg”,
playtime: 1
},
{
selected: false,
seq: 2,
url: “https://timgs.wecandeo.com/thumb/default/video/3509_32f84_00001.jpg”,
playtime: 31
},
{
selected: false,
seq: 3,
url: “https://timgs.wecandeo.com/thumb/default/video/3509_32f84_00002.jpg”,
playtime: 61
},
{
selected: false,
seq: 4,
url: “https://timgs.wecandeo.com/thumb/default/video/3509_32f84_00003.jpg”,
playtime: 91
},
{
selected: false,
seq: 5,
url: “https://timgs.wecandeo.com/thumb/default/video/3510_01f4b_00000.jpg”,
playtime: 121
},
{
selected: false,
seq: 6,
url: “https://timgs.wecandeo.com/thumb/default/video/3510_01f4b_00001.jpg”,
playtime: 151
}
],
viralClickUrl: null
}
}
Response Data Value
Name | Type | Description |
---|---|---|
org_access_key | String | 원본 키 (Original Key – Video Access Key_Level 1) |
access_key | String | 동영상 키 (Video Key – Video Access Key_Level 2) |
videoUrl | String | 동영상 URL (Video Url – Video File_Url Level 2) |
id | Integer | 동영상 ID |
filesize | Integer | 동영상 원본 파일 용량 (byte) |
duration | integer | 동영상 재생 시간 길이 (milli second) |
cdate | String | 동영상 업로드 날짜, 시각 |