동영상의 자막 파일을 조회합니다.

 

Request URL 

GET http://api.wecandeo.com/info/v1/video/caption.json?key={API key}&access_key={access_key}

Request Parameters

Parameter Name Type Description
key (Required) String API Key
access_key (Required) String 원본 키 (Original Key – Video Access Key_Level 1)

Response Example

{
caption: {
errorInfo: {
errorCode: “None”,
errorMessage: “”
},
caption: [
{
id: 1267,
language_code: “ko”,
filename: “Sample Caption-KR.vtt”,
format: “VTT”,
language: “한국어”,
url: “http://api.wecandeo.com/captionfile?key=kiskSOZIPJ36qrt5uWt0AZPtIdZ3aUmfaJIad3IVz7aDSvmQXIQaoipQieie”
},
{
id: 1268,
language_code: “en”,
filename: “Sample Caption-EN.vtt”,
format: “VTT”,
language: “English”,
url: “http://api.wecandeo.com/captionfile?key=kiskSOZIPJ36qrt5uWt0AZPtIdZ3aUmfaJIad3IVz7aDS2pw5tc73uQieie”
},
{
id: 1269,
language_code: “zh”,
filename: “Sample Caption-CN.vtt”,
format: “VTT”,
language: “中文”,
url: “http://api.wecandeo.com/captionfile?key=kiskSOZIPJ36qrt5uWt0AZPtIdZ3aUmfaJIad3IVz7aBXVXFXRiiEE0Qieie”
},
{
id: 1270,
language_code: “ja”,
filename: “Sample Caption-JP.vtt”,
format: “VTT”,
language: “日本語”,
url: “http://api.wecandeo.com/captionfile?key=kiskSOZIPJ36qrt5uWt0AZPtIdZ3aUmfaJIad3IVz7aB6RA1ipmGvtMAieie”
}
]
}
}

Response Data Value

Name Type Description
id Integer 자막 파일 ID
filename String 자막 파일 이름
language_code String 자막 언어 코드명
language String 자막 언어 표기명
format String 자막 파일 포맷
url String 자막 파일 URL