Classic/VPC 환경에서 이용 가능합니다.
숏클립의 상세 정보를 조회합니다.
요청
요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.
메서드 | URI |
---|---|
GET | /api/v2/channels/{channelId}/shortclip/{id} |
요청 헤더
Live Station API에서 공통으로 사용하는 헤더에 대한 정보는 Live Station 요청 헤더를 참조해 주십시오.
요청 경로 파라미터
요청 경로 파라미터에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
channelId |
String | Required | 채널 아이디
|
id |
String | Required | 숏클립 아이디
|
요청 예시
요청 예시는 다음과 같습니다.
curl --location --request GET 'https://livestation.apigw.ntruss.com/api/v2/channels/ls-20250814******-zTwK2/shortclip/1418' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'x-ncp-region_code: KR' \
--header 'Content-Type: application/json'
응답
응답 형식을 설명합니다.
응답 바디
응답 바디에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
content |
Object | - | 응답 결과 |
content.channelId |
String | - | 채널 아이디 |
content.snapshotId |
String | - | 스냅샷 아이디 |
content.shortclip |
Object | - | 숏클립 정보 |
content.shortclip.id |
Integer | - | 숏클립 아이디 |
content.shortclip.status |
String | - | 숏클립 상태
|
content.shortclip.createdTime |
Integer | - | 숏클립 생성 일시(밀리초)
|
content.shortclip.updatedTime |
Integer | - | 숏클립 업데이트 일시(밀리초)
|
content.shortclip.fileSize |
Integer | - | 숏클립 파일 크기(Byte) |
content.shortclip.duration |
Integer | - | 숏클립 재생 시간(밀리초) |
content.shortclip.output |
Object | - | 저장 정보 |
content.shortclip.output.accessControl |
String | - | 숏클립 파일 저장 버킷 공개 범위
|
content.shortclip.output.bucketName |
String | - | 숏클립 파일 저장 버킷 이름 |
content.shortclip.output.filePath |
String | - | 저장 상세 경로 |
content.shortclip.output.fileName |
String | - | 숏클립 파일 이름 |
응답 상태 코드
Live Station API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Live Station 응답 상태 코드를 참조해 주십시오.
응답 예시
응답 예시는 다음과 같습니다.
{
"content": {
"channelId": "ls-20250814******-zTwK2",
"snapshotId": 7566,
"shortclip": {
"id": 1418,
"status": "COMPLETED",
"createdTime": 1755577843872,
"updatedTime": 1755577844296,
"fileSize": 810943,
"duration": 10006,
"output": {
"accessControl": "PRIVATE",
"bucketName": "mybucket",
"filePath": "/shortclip",
"fileName": "1418-1755577843872.mp4"
}
}
}
}