Available in Classic and VPC
Get the re-stream channel list.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /api/v2/re-stream/channels |
Request headers
For information about the headers common to all Live Station APIs, see Live 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://livestation.apigw.ntruss.com/api/v2/re-stream/channels' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'Content-Type: application/json' \
--header 'x-ncp-region_code: KR'
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 |
channelStatus |
String | - | Channel status
|
streamKey |
String | - | Stream key |
publishUrl |
String | - | Default transmission URL |
globalPublishUrl |
String | - | Overseas streaming URL |
planType |
String | - | Pricing plan type
|
createdTime |
Integer | - | Channel creation date and time (millisecond)
|
platformCount |
Integer | - | Re-stream platform count |
totalPublishSeconds |
Integer | - | Channel usage time (second) |
alertOn |
Boolean | - | Event notification settings
|
isPublishing |
Boolean | - | Streaming status
|
alertOptions |
Object | - | Set event notifications. |
alertOptions.alertChangeStatus |
Boolean | - | Re-stream channel status change notification application
|
alertOptions.alertVodUploadFail |
Boolean | - | Recording file upload failure notification application
|
alertOptions.alertReStreamFail |
Boolean | - | Re-stream relay failure notification application
|
content.alertOptions.reStreamFailThreshold |
Integer | - | Notification occurrence condition (base count)
|
alertOptions.alertStreamFailOver |
Boolean | - | Main stream switch notification application
|
callbackEndpoint |
String | - | Callback endpoint URL
|
envType |
String | - | Channel type
|
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-20250819******-Ik1QU",
"channelName": "channel001",
"instanceNo": 1082*****,
"channelStatus": "READY",
"streamKey": "zgarlukheigpxu******************",
"publishUrl": "rtmp://***********.video.media.ntruss.com:8080/relay",
"globalPublishUrl": "rtmp://***************.video.media.ntruss.com:8080/relay",
"planType": "STANDARD",
"createdTime": 1755571786000,
"platformCount": 2,
"totalPublishSeconds": 0,
"alertOn": false,
"isPublishing": false,
"alertOptions": {
"alertChangeStatus": false,
"alertVodUploadFail": false,
"alertReStreamFail": false,
"alertStreamFailOver": false
},
"callbackEndpoint": "https://www.example.com",
"envType": "REAL"
}
],
"total": 2
}