Available in Classic and VPC
Get the live channel list.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /api/v2/channels |
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
|
channelStatus |
String | Optional | Filter by channel status.
|
id |
String | Optional | Filter by channel ID.
|
channelName |
String | Optional | Filter by channel name.
|
Request headers
For information about the headers common to all Live Station APIs, see Live Station request headers.
Request example
The request example is as follows:
curl --location --request GET 'https://livestation.apigw.ntruss.com/api/v2/channels?pageNo=1&pageSizeNo=1&channelName=chan' \
--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'
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 |
---|---|---|---|
channelId |
String | - | Channel ID |
channelName |
String | - | Channel name |
instanceNo |
Integer | - | Channel instance number |
qualitySetId |
Integer | - | Image quality setting ID |
qualitySetName |
String | - | Image quality setting name |
outputProtocol |
String | - | Output Protocol |
channelStatus |
String | - | Channel status
|
isRecording |
Boolean | - | Recording status
|
useDVR |
Boolean | - | Time machine settings
|
immediateOnAir |
Boolean | - | Whether to set up auto-recording immediately upon streaming
|
timemachineMin |
Integer | - | Time Machine allowance (minute) |
cdn |
Object | - | Set up CDN. |
cdn.instanceNo |
String | - | CDN instance ID |
cdn.serviceName |
String | - | CDN service name |
cdn.statusName |
String | - | CDN status
|
cdn.cdnType |
String | - | CDN type
|
cdn.cdnDomain |
String | - | CDN service domain |
cdn.profileId |
Integer | - | Global Edge profile ID |
cdn.regionType |
String | - | Global Edge Service Region |
streamKey |
String | - | Main stream key |
publishUrl |
String | - | Default transmission URL |
globalPublishUrl |
String | - | Overseas streaming URL |
totalPublishSeconds |
Integer | - | Channel usage time (second) |
createdTime |
Integer | - | Channel creation date and time (millisecond)
|
alertOn |
Boolean | - | Event notification settings
|
recentPublishStartTime |
Integer | - | Latest streaming start date and time (millisecond)
|
alertOptions |
Object | - | Set event notifications. |
alertOptions.alertChangeStatus |
Boolean | - | Channel status change notification application
|
alertOptions.alertVodUploadFail |
Boolean | - | Recording file upload failure notification application
|
alertOptions.alertReStreamFail |
Boolean | - | Re-stream relay failure notification application
|
alertOptions.reStreamFailThreshold |
Integer | - | Notification condition (base count) |
alertOptions.alertStreamFailOver |
Boolean | - | Main stream switch notification application
|
callbackEndpoint |
String | - | Callback endpoint URL
|
envType |
String | - | Channel type
|
uploadPath |
String | - | Recording file upload path
|
record |
Object | - | Recording storage information |
record.type |
String | - | Recording storage settings
|
record.bucketName |
String | - | Recording file storage bucket name
|
record.filePath |
String | - | Storage detailed path
|
record.format |
String | - | Automatic save recording type
|
record.accessControl |
String | - | Recording file storage bucket disclosure scope
|
snapshot |
Object | - | Snapshot information
|
snapshot.snapshotId |
Integer | - | Snapshot ID |
origin |
Object | - | Source information |
origin.originDomain |
String | - | Origin domain |
origin.originPath |
String | - | Origin path |
backupStreamKey |
String | - | Backup stream key
|
isStreamFailOver |
Boolean | - | Streaming redundancy settings
|
drmEnabledYn |
Boolean | - | Multi DRM usage
|
drm |
Object | - | Multi DRM settings
|
drm.siteId |
String | - | Site ID |
drm.contentId |
String | - | Content ID |
Response status codes
For information about the HTTP status codes common to all Live Station APIs, see Live Station response status codes.
Response example
The response example is as follows:
{
"content": [
{
"channelId": "ls-20250813******-SkhxV",
"channelName": "mychannel",
"instanceNo": 10*****39,
"qualitySetId": 2584,
"qualitySetName": "ll-audio-only",
"outputProtocol": "LL_HLS",
"channelStatus": "READY",
"isRecording": false,
"useDVR": true,
"immediateOnAir": true,
"timemachineMin": 360,
"cdn": {
"instanceNo": "11565",
"serviceName": "edge-ls-20250813******-SkhxV",
"statusName": "RUNNING",
"cdnType": "GLOBAL_EDGE",
"cdnDomain": "cj***********.edge.naverncp.com",
"profileId": 4207,
"regionType": "KOREA"
},
"streamKey": "y******************************n",
"publishUrl": "rtmp://***********.video.media.ntruss.com:8080/relay",
"globalPublishUrl": "rtmp://***************.video.media.ntruss.com:8080/relay",
"totalPublishSeconds": 237,
"createdTime": 1755070375000,
"alertOn": true,
"recentPublishStartTime": 1755128792000,
"alertOptions": {
"alertChangeStatus": true,
"alertVodUploadFail": true,
"alertReStreamFail": false,
"reStreamFailThreshold": 2,
"alertStreamFailOver": true
},
"callbackEndpoint": "https://www.example.com",
"envType": "DEV",
"uploadPath": "/mybucket/",
"record": {
"type": "AUTO_UPLOAD",
"bucketName": "mybucket",
"filePath": "/",
"format": "MP4",
"accessControl": "PRIVATE"
},
"origin": {
"originDomain": "*****.video.media.ntruss.com",
"originPath": "2*****5"
},
"backupStreamKey": "y******************************************e",
"isStreamFailOver": true,
"drmEnabledYn": false
}
],
"total": 2
}