Classic/VPC 환경에서 이용 가능합니다.
STOPPED
상태인 채널의 정지를 해제하고 다시 시작합니다.
요청
요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.
메서드 | URI |
---|---|
PUT | /api/v2/channels/{channelId}/start |
요청 헤더
VOD Station API에서 공통으로 사용하는 헤더에 대한 정보는 VOD Station 요청 헤더를 참조해 주십시오.
요청 경로 파라미터
요청 경로 파라미터에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
channelId |
String | Required | 채널 아이디
|
요청 예시
요청 예시는 다음과 같습니다.
curl --location --request PUT 'https://vodstation.apigw.ntruss.com/api/v2/channels/vs-20250821095732-*******/start' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
응답
응답 형식을 설명합니다.
응답 바디
응답 바디에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
content |
Object | - | 응답 결과 |
content.disabled |
Boolean | - | Sub Account 비활성화 여부
|
content.id |
String | - | 채널 아이디 |
content.name |
String | - | 채널 이름 |
content.channelStatus |
String | - | 채널 상태
|
content.storageBucketName |
String | - | 채널이 스트리밍할 영상이 저장되어 있는 버킷 이름 |
content.segmentDuration |
Integer | - | 세그먼트당 재생 시간(초) |
content.protocolList |
Array | - | 스트리밍 프로토콜 목록
|
content.createTime |
Integer | - | 채널 생성 시작 일시(초)
|
content.readyTime |
Integer | - | 채널 생성 완료 일시(초)
|
content.cdnCreatedTime |
Integer | - | 채널에 연동하여 자동 생성된 CDN의 생성 일시(초)
|
content.playUrl |
String | - | CDN을 통한 재생 URL 템플릿 |
content.cdnStatus |
String | - | 채널에 연동된 CDN의 상태
|
content.cdnDomain |
String | - | 자동 생성된 Global Edge 도메인 |
content.cdnServiceName |
String | - | 자동 생성된 Global Edge 서비스 이름 |
content.storageBucketStatus |
String | - | 채널에 연동된 Object Storage 버킷의 상태 |
content.originPath |
String | - | 생성한 채널의 원본 경로
|
content.encryptList |
Array | - | 채널의 콘텐츠 보호 설정 정보: encryptList |
content.accessPrivateFiles |
Boolean | - | 버킷 내 비공개 파일 접근 제한 설정 여부
|
content.encryptedBucketName |
String | - | 채널에 연동된 버킷의 암호화된 이름
|
content.segmentDurationOption |
String | - | 세그먼트 분할 방식 설정
|
content.cdn |
Object | - | 자동 생성된 CDN(Global Edge) 정보 |
content.cdn.cdnType |
String | - | CDN 유형
|
content.cdn.cdnDomain |
String | - | 자동 생성된 Global Edge 도메인 |
content.cdn.cdnServiceName |
String | - | 자동 생성된 Global Edge 서비스 이름 |
content.cdn.profileId |
Integer | - | 자동 생성된 Global Edge 프로필 아이디 |
content.cdn.regionType |
String | - | 자동 생성된 Global Edge 서비스 지역 |
content.cdn.cdnInstanceNo |
Integer | - | 자동 생성된 Global Edge 인스턴스 아이디 |
encryptList
encryptList
에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
drmContentId |
String | Optional | DRM 콘텐츠 아이디
|
drmKeyUrl |
String | - | DRM Key URL
|
systemIdList |
Array | - | DRM 시스템 아이디
|
drmTypeCode |
Integer | Optional | DRM 유형
|
drmTypeName |
String | - | DRM 유형 이름 |
protocol |
String | - | 설정된 프로토콜
|
mediaEncryptTypeCode |
Integer | Optional | 설정된 Media Encryption(HLS AES-128) 코드 설정
|
mediaEncryptionTypeName |
String | - | 설정된 Media Encryption(HLS AES-128) 타입 이름
|
응답 상태 코드
VOD Station API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 VOD Station 응답 상태 코드를 참조해 주십시오.
응답 예시
응답 예시는 다음과 같습니다.
{
"content": {
"disabled": false,
"id": "vs-20250821095732-*******",
"name": "ch-media-encrypt",
"channelStatus": "STARTING",
"storageBucketName": "station-000",
"segmentDuration": 10,
"protocolList": [
"HLS"
],
"createTime": 1755737852,
"readyTime": 1755737880,
"cdnCreatedTime": 1755737852,
"playUrl": "https://cpzplvi211650.edge.naverncp.com/[protocol]/[Object Storage Bucket(encryption name)]/[path]/[video filename]/[manifest]",
"cdnStatus": "STOPPED",
"cdnDomain": "cpzplvi211650.edge.naverncp.com",
"cdnServiceName": "edge-vs-20250821095732-*******",
"storageBucketStatus": "RUNNING",
"originPath": "vs2-k1.video.media.ntruss.com/2706412/vs-20250821095732-*******",
"encryptList": [
{
"protocol": "HLS",
"mediaEncryptTypeCode": 1
}
],
"accessPrivateFiles": true,
"encryptedBucketName": "*****VzPmKvIthkozoufHw__",
"segmentDurationOption": "BASIC",
"cdn": {
"cdnType": "GLOBAL_EDGE",
"cdnDomain": "cpzplvi211650.edge.naverncp.com",
"cdnServiceName": "edge-vs-20250821095732-*******",
"profileId": ****,
"regionType": "KOREA",
"cdnInstanceNo": *****
}
}
}