Classic/VPC 환경에서 이용 가능합니다.
동시 송출(Re-Stream) 채널에서 발생한 송출 이벤트 목록을 조회합니다.
요청
요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.
메서드 | URI |
---|---|
GET | /api/v2/re-stream/channels/{channelId}/publish-log |
요청 헤더
Live Station API에서 공통으로 사용하는 헤더에 대한 정보는 Live Station 요청 헤더를 참조해 주십시오.
요청 경로 파라미터
요청 경로 파라미터에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
channelId |
String | Required | 채널 아이디
|
요청 예시
요청 예시는 다음과 같습니다.
curl --location --request GET 'https://livestation.apigw.ntruss.com/api/v2/re-stream/channels/ls-20250819******-Ik1QU/publish-log' \
--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'
응답
응답 형식을 설명합니다.
응답 바디
응답 바디에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
content |
Array | - | 이벤트 목록: content |
total |
Integer | - | 전체 응답 수 |
content
content
에 대한 설명은 다음과 같습니다.
필드 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
logLevel |
String | - | 로그 레벨
|
eventCode |
String | - | 이벤트 코드 |
description |
String | - | 이벤트 설명 |
timestamp |
Integer | - | 이벤트 발생 일시(밀리초)
|
channelId |
String | - | 채널 아이디 |
응답 상태 코드
Live Station API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 Live Station 응답 상태 코드를 참조해 주십시오.
응답 예시
응답 예시는 다음과 같습니다.
{
"content": [
{
"logLevel": "INFO",
"eventCode": "PUBLISH_END",
"description": "channel001 channel publishing has ended.",
"timestamp": 1755757448902,
"channelId": "ls-20250819******-Ik1QU"
},
{
"logLevel": "INFO",
"eventCode": "PUBLISH_START",
"description": "You have started publishing channel channel001.",
"timestamp": 1755757279873,
"channelId": "ls-20250819******-Ik1QU"
},
{
"logLevel": "INFO",
"eventCode": "PUBLISH_END",
"description": "channel001 channel publishing has ended.",
"timestamp": 1755757163744,
"channelId": "ls-20250819******-Ik1QU"
},
{
"logLevel": "INFO",
"eventCode": "PUBLISH_START",
"description": "You have started publishing channel channel001.",
"timestamp": 1755757143742,
"channelId": "ls-20250819******-Ik1QU"
}
],
"total": 4
}