특정 배포 패키지에 포함된 동영상 목록을 조회합니다.
조회 결과에는 동영상 목록과 각 동영상의 상세 정보가 출력됩니다. 검색 옵션 및 페이지 옵션을 추가하면 특정 키워드가 포함된 목록만 출력하거나, 목록 수량의 단위를 나누어 출력할 수 있습니다.
- 과도한 API 요청이 발생하는 경우 사용량이 제한될 수 있습니다.
- 또한 현재 제공 중인 API의 종류 및 내용은 더 나은 API 서비스 제공을 위해 변경 및 업데이트될 수 있습니다.
Request URL
GET https://api.wecandeo.com/info/v1/videos.json?key={API key}&pkg={Package ID}
Request Parameters
Parameter Name | Type | Description |
---|---|---|
key (Required) | String | API KEY |
pkg (Required) | Integer | 배포 패키지 ID |
search_item | String | 검색 옵션 - title : 제목 - series : 시리즈 - author : 원작자 - copyright : 저작권 - content : 내용 - tag : 태그 - etc : 기타 |
keyword | String | 검색 단어 |
sort_item | String | 정렬 항목 - id : 아이디 - title : 제목 - duration : 재생시간 - filesize : 파일크기 |
sort_direction | String | 정렬 옵션 - desc : 내림차순 - asc : 오름차순 |
pagesize | Integer | 조회 결과 페이지당 동영상 목록 수량 |
page | Integer | 조회할 페이지 번호 |
Response Example
{
videoInfoList: {
apiVideoSearchOption: {
filter: “all”,
keyword: “”,
search_item: “”,
fromDate: “”,
toDate: “”,
sort_item: “”,
sort_direction: “ASC”
},
errorInfo: {
errorCode: “None”,
errorMessage: “”
},
videoInfoList: [{
id: 5732681,
content: “This Video is Video Pack Sample.”,
duration: 64932,
tag: “”,
v_width: 960,
v_height: 540,
cdate: “2015-07-14 14:35:17.0”,
title: “Sample Video”,
series: “PORORO”,
author: “ICONIX”,
copyright: “WECANDEO”,
rate: “All”,
etc: “Not allow to publish except for test.”,
thumbnail_url: “https://timgs.wecandeo.com/thumb/default/video/3509_32f84_00000.jpg”,
org_access_key: “kiskSOZIPJ36qrt5uWt0AZJBY628u4jlP”,
filesize: 30628292,
v_framerate: 29.97,
cid: null,
access_key: “BOKNS9AQWrFDVnV6rhC2Ca0gpF3OhwV3hiseZ8pv2OmLuipP30bVKv7gieie”,
encoding_success: “Y”
}],
paging: {
page: 1,
pagesize: 10,
totalpage: 1,
totalcount: 1
}
}
}
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) |