Available in Classic and VPC
Get the channel list.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /api/v2/channels |
Request headers
For information about the headers common to all VOD Station APIs, see VOD Station request headers.
Request query parameters
You can use the following query parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
pageNo |
Integer | Optional | Page number
|
pageSizeNo |
Integer | Optional | Number of items per page
|
Request example
The request example is as follows:
curl --location --request GET 'https://vodstation.apigw.ntruss.com/api/v2/channels?pageNo=1&pageSizeNo=20' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
content |
Array | - | Channel list: content |
total |
Integer | - | Total response count |
content
The following describes content
.
Field | Type | Required | Description |
---|---|---|---|
disabled |
Boolean | - | Whether Sub Account is disabled
|
id |
String | - | Channel ID |
name |
String | - | Channel name |
channelStatus |
String | - | Channel status
|
storageBucketName |
String | - | Name of the bucket where the video the channel will stream is stored |
segmentDuration |
Integer | - | Playback time per segment (second) |
protocolList |
Array | - | List of streaming protocols
|
createTime |
Integer | - | Channel creation start date and time (millisecond)
|
readyTime |
Integer | - | Channel creation completion date and time (millisecond)
|
cdnCreatedTime |
Integer | - | Date and time when the CDN was automatically created in integration with the channel
|
stopTime |
Integer | - | Channel stop date and time (millisecond)
|
playUrl |
String | - | Playback URL template via CDN |
cdnStatus |
String | - | Status of the CDN integrated with the channel
|
cdnDomain |
String | - | Auto-generated Global Edge's domain |
cdnServiceName |
String | - | Auto-generated Global Edge's service name |
storageBucketStatus |
String | - | Status of the Object Storage bucket integrated with the channel |
originPath |
String | - | Source path of the created channel
|
encryptList |
Array | - | Content protection settings information for the channel: encryptList |
accessPrivateFiles |
Boolean | - | Whether to restrict access to private files in the bucket
|
encryptedBucketName |
String | - | Encrypted name of the bucket integrated with the channel
|
segmentDurationOption |
String | - | Segmentation method settings
|
cdn |
Object | - | Auto-generated CDN (Global Edge) information |
cdn.cdnType |
String | - | CDN type
|
cdn.cdnDomain |
String | - | Auto-generated Global Edge's domain |
cdn.cdnServiceName |
String | - | Auto-generated Global Edge's service name |
cdn.profileId |
Integer | - | Auto-generated Global Edge's profile ID |
cdn.regionType |
String | - | Auto-generated Global Edge Service Region |
cdn.cdnInstanceNo |
Integer | - | Auto-generated Global Edge's instance information |
encryptList
The following describes encryptList
.
Field | Type | Required | Description |
---|---|---|---|
drmContentId |
String | Optional | DRM content ID
|
drmKeyUrl |
String | - | DRM key URL
|
systemIdList |
Array | - | DRM system ID
|
drmTypeCode |
Integer | Optional | DRM type
|
drmTypeName |
String | - | DRM type name |
protocol |
String | - | Set protocol
|
mediaEncryptTypeCode |
Integer | Optional | Set Media Encryption (HLS AES-128) code settings
|
mediaEncryptionTypeName |
String | - | Set Media Encryption (HLS AES-128) type name
|
Response status codes
For information about the HTTP status codes common to all VOD Station APIs, see VOD Station response status codes.
Response example
The response example is as follows:
{
"content": [
{
"disabled": false,
"id": "vs-20250821095732-*******",
"name": "ch-media-encrypt",
"channelStatus": "READY",
"storageBucketName": "station-000",
"segmentDuration": 10,
"protocolList": [
"HLS"
],
"createTime": 1755737852,
"readyTime": 1755737880,
"cdnCreatedTime": 1755737852,
"playUrl": "https://cpzplvi******.edge.naverncp.com/[protocol]/[Object Storage Bucket(encryption name)]/[path]/[video filename]/[manifest]",
"cdnStatus": "RUNNING",
"cdnDomain": "cpzplvi******.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": "cpzplvi******.edge.naverncp.com",
"cdnServiceName": "edge-vs-20250821095732-*******",
"profileId": ****,
"regionType": "KOREA",
"cdnInstanceNo": *****
}
}
],
"total": 1
}