Links

Managing Channels

리모트몬스터는 채널 관리를 위한 서버용 API를 제공합니다. 이 API는 채널 검색, 채널 강제 종료 기능을 제공합니다. 서버용 API는 앱용(클라이언트용) API와 달리 비디오/오디오를 전송할 수 없습니다.

※ 주의 사항

타인의 Service ID, Secret Key를 무단으로 이용하면 처벌을 받을 수 있습니다. (정보통신망 이용 촉진 및 정보보호에 관한 법률, 통신비밀보호법, 형법 등에 의거)
타인의 Service ID, Secret Key를 무단으로 이용하면 업무 방해에 대한 피해를 보상해야합니다. (민법 등에 의거)

Service ID, Secret Key 확인

리모트몬스터 웹 콘솔의 Project Information 메뉴에서 Service ID, Secret Key를 확인할 수 있습니다. Secret Key는 ************** 이 아닙니다. 우측 눈 아이콘을 누르면 표시됩니다.
웹 콘솔의 프로젝트 기본정보 화면

채널 검색

예시

curl
curl -X POST https://consoleapi.remotemonster.com/v1/search \
-H 'Content-type: application/json' \
-d '
{
"serviceId": "my-service-id",
"secret":"my-secret",
"keyword" : "",
"starttime": 1581315000,
"endtime": 1581315900
}
'

방송 중인 채널 조회

post
https://signal.remotemonster.com/lambda/broadcast-channel-list
https://signal.remotemonster.com/lambda/broadcast-channel-list

예시

curl
curl -X POST 'https://signal.remotemonster.com/lambda/broadcast-channel-list' \
-H 'Content-type: application/json' \
-d '{"serviceId":"my-service-id","secret":"my-secret-key"}'

채널 강제 종료

post
https://signal.remotemonster.com/lambda/channel-force-termination
https://signal.remotemonster.com/lambda/channel-force-termination

예시

curl
curl -X POST https://signal.remotemonster.com/lambda/channel-force-termination \
-H 'Content-type: application/json' \
-d '{"serviceId":"my-service-id", "secret":"my-secret-key", "channelId":"the-channel-id"}'