Commit a3fb3b6a6fdc1464174d11c75631051c34670ee8
1 parent
e53e25f9
update
Showing
1 changed file
with
11 additions
and
31 deletions
05.互动云/5.4 房间注册.md
| 1 | -<table class="table table-bordered table-striped table-condensed"> | |
| 2 | - <tr> | |
| 3 | - <th>参数</th> | |
| 4 | - <th>必选</th> | |
| 5 | - <th>类型</th> | |
| 6 | - <th>说明</th> | |
| 7 | - </tr> | |
| 8 | - <tr> | |
| 9 | - <td>appId</td> | |
| 10 | - <td>true</td> | |
| 11 | - <td>string</td> | |
| 12 | - <td>应用ID</td> | |
| 13 | - </tr> | |
| 14 | - <tr> | |
| 15 | - <td>chatroomId</td> | |
| 16 | - <td>true</td> | |
| 17 | - <td>string</td> | |
| 18 | - <td>房间ID</td> | |
| 19 | - </tr> | |
| 20 | - <tr> | |
| 21 | - <td>name</td> | |
| 22 | - <td>true</td> | |
| 23 | - <td>string</td> | |
| 24 | - <td>房间名称</td> | |
| 25 | - </tr> | |
| 26 | -</table> | |
| 27 | - | |
| 1 | +#### 请求参数说明: | |
| 2 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | |
| 3 | +| :-----------: | :------: | :------: | :------: | | |
| 4 | +| appId| String | true| 应用ID| | |
| 5 | +| chatroomId| String | true | 房间ID | | |
| 6 | +| name| String | true | 房间名称| | |
| 7 | +| sign | String | true | 签名规则见<a href="http://help.open.cnlive.com/common.html">签名详情</a> | | |
| 28 | 8 | ----- |
| 29 | -#### 返回格式说明: | |
| 9 | +#### 返回格式说明: | |
| 30 | 10 | ``` |
| 31 | 11 | { |
| 32 | - errorCode:"0", | |
| 33 | - errorMsg:"房间注册成功 " | |
| 12 | + "errorCode": "0", | |
| 13 | + "errorMessage": "注册房间成功", | |
| 14 | + "data": {} | |
| 34 | 15 | } |
| 35 | - | |
| 36 | 16 | ``` |
| 37 | 17 | \ No newline at end of file | ... | ... |