Available in Classic and VPC
Get the list of platforms set for a re-stream channel.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /api/v2/re-stream/channels/{channelId}/platforms |
Request headers
For information about the headers common to all Live Station APIs, see Live Station request headers.
Request path parameters
You can use the following path parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
channelId |
String | Required | Channel ID
|
Request example
The request example is as follows:
curl --location --request GET 'https://livestation.apigw.ntruss.com/api/v2/re-stream/channels/ls-20250819******-Ik1QU/platforms' \
--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 | - | Re-stream platform list |
content
The following describes content
.
Field | Type | Required | Description |
---|---|---|---|
targetName |
String | - | Re-stream platform name |
rtmpUrl |
String | - | Re-stream platform RTMP URL |
id |
String | - | RTMP authentication ID
|
password |
String | - | RTMP authentication password
|
streamKey |
String | - | Stream key |
connectStatus |
String | - | Re-stream status
|
platId |
Integer | - | Re-stream platform ID |
bytesPerSecond |
Integer | - | Transmission per second (byte) |
totalRetryCount |
Integer | - | Accumulated reconnection attempt count |
bytesTotalTrans |
Integer | - | Accumulated transmission (byte) |
totalPlaySecond |
Integer | - | Accumulated transmission time (second) |
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": [
{
"targetName": "YOUTUBE",
"rtmpUrl": "rtmp://rtmp-test.youtube.com",
"id": "user000",
"password": "d*****",
"streamKey": "****-****-****-****-****",
"connectStatus": "PUBLISHING",
"platId": 3699,
"bytesPerSecond": 1100832,
"totalRetryCount": 0,
"bytesTotalTrans": 85222049,
"totalPlaySecond": 0
},
{
"targetName": "PRISM",
"rtmpUrl": "rtmp://abc.prism.com",
"id": "user001",
"password": "d*****",
"streamKey": "****-****-****-****-****",
"connectStatus": "PUBLISHING",
"platId": 3700,
"bytesPerSecond": 1100832,
"totalRetryCount": 0,
"bytesTotalTrans": 85222049,
"totalPlaySecond": 0
}
]
}