2.4 回调接口.md
1.2 KB
直播活动数据、状态有变动,通过改回调接口通知第三方业务系统
http://api.cnlive.com/open/api2/live_epg/play/h5
接口说明: 第三方业务提供接口地址,在申请appId的同时在统一平台进行注册。
请求方式: HTTP POST
返回格式: json
请求参数说明:
| 参数名 | 参数类型 | 必选 | 参数说明 |
|---|---|---|---|
| data | string | true | 活动 json 数据 ```{ |
activityName: "", activityStatus: 0, startTime: 2016-08-23 10:37:38, endTime: null, description: null, playbackUrl: "http://cnlive-ugc.ks3-cn-beijing.ksyun.com/record/live/1471919861222/hls/1471919861222-1471919861222.m3u8", coverImgUrl: "", liveUrl: "rtmp://jsrtmp.cnlive.com/live/1471919861222", hlsLiveUrl: "http://jshls.cnlive.com/live/1471919861222/index.m3u8", activityCategory:"", extensions: "", uuid:"", isHorizontalScreen: 1, createTime: "2016-08-23 10:37:38", activityId: "1471919861222", appId: "60_irg1rhs308", channelId:"" }
| data | string | true | 活动 json 数据 |
#### 返回结果 json
```json
{
"errorMessage":"成功",
"errorCode":"0"
}