Commit f06efe300a0db4f60b2cc839b8ba188c42680c24
1 parent
25f98e8f
新增接口
Showing
2 changed files
with
48 additions
and
0 deletions
02.直播云/3.1 启动直播录制接口.md
0 → 100644
| 1 | +### 创建直播活动接口 | ||
| 2 | +----- | ||
| 3 | +#### URL: http://api.cnlive.com/open/api2/live_epg/startActivity | ||
| 4 | +----- | ||
| 5 | +#### 接口说明: 返回直播播放地址 | ||
| 6 | +----- | ||
| 7 | +#### 请求方式: HTTP GET | ||
| 8 | +----- | ||
| 9 | +#### 返回格式: 200 | ||
| 10 | +----- | ||
| 11 | +#### 请求参数说明: | ||
| 12 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | ||
| 13 | +| :----------- | :------: | :------: | :------: | | ||
| 14 | +| appId | string | true | 应用ID | | ||
| 15 | +| activityId| string | true | 活动ID,确保SP下的唯一性 | | ||
| 16 | +| sign | String | true | 签名规则见<a href="http://help.open.cnlive.com/common.html">签名详情</a> | | ||
| 17 | + | ||
| 18 | +#### 返回说明: | ||
| 19 | +```json | ||
| 20 | +{ | ||
| 21 | + "errorCode":"0", | ||
| 22 | + "errormessagae":"请求成功" | ||
| 23 | +} | ||
| 24 | +``` | ||
| 0 | \ No newline at end of file | 25 | \ No newline at end of file |
02.直播云/3.2 停止直播录制接口.md
0 → 100644
| 1 | +### 创建直播活动接口 | ||
| 2 | +----- | ||
| 3 | +#### URL: http://api.cnlive.com/open/api2/live_epg/startActivity | ||
| 4 | +----- | ||
| 5 | +#### 接口说明: 返回直播播放地址 | ||
| 6 | +----- | ||
| 7 | +#### 请求方式: HTTP GET | ||
| 8 | +----- | ||
| 9 | +#### 返回格式: 200 | ||
| 10 | +----- | ||
| 11 | +#### 请求参数说明: | ||
| 12 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | ||
| 13 | +| :----------- | :------: | :------: | :------: | | ||
| 14 | +| appId | string | true | 应用ID | | ||
| 15 | +| activityId| string | true | 活动ID,确保SP下的唯一性 | | ||
| 16 | +| sign | String | true | 签名规则见<a href="http://help.open.cnlive.com/common.html">签名详情</a> | | ||
| 17 | + | ||
| 18 | +#### 返回说明: | ||
| 19 | +```json | ||
| 20 | +{ | ||
| 21 | + "errorCode":"0", | ||
| 22 | + "errormessagae":"请求成功" | ||
| 23 | +} | ||
| 24 | +``` | ||
| 0 | \ No newline at end of file | 25 | \ No newline at end of file |