Commit 9a7fd0893fd746af3ab2ce448429d6e78c8f9f30
1 parent
436253ed
add wiki
Showing
1 changed file
with
50 additions
and
0 deletions
05.互动云/5.4 房间注册.md
0 → 100644
| 1 | +/* | ||
| 2 | + Title: 5.4 房间注册 | ||
| 3 | +*/ | ||
| 4 | +#### URL: http://120.92.5.19:8080/cnlive_room/api/chatroom/register?chatroomId=399_1499255342676&name=12345&... | ||
| 5 | +----- | ||
| 6 | +#### 请求方式: POST | ||
| 7 | +----- | ||
| 8 | +#### 返回格式: JSON | ||
| 9 | +----- | ||
| 10 | +#### 请求参数说明: | ||
| 11 | +<table class="table table-bordered table-striped table-condensed"> | ||
| 12 | + <tr> | ||
| 13 | + <th>参数</th> | ||
| 14 | + <th>必选</th> | ||
| 15 | + <th>类型</th> | ||
| 16 | + <th>说明</th> | ||
| 17 | + </tr> | ||
| 18 | + <tr> | ||
| 19 | + <td>appId</td> | ||
| 20 | + <td>true</td> | ||
| 21 | + <td>string</td> | ||
| 22 | + <td>应用ID</td> | ||
| 23 | + </tr> | ||
| 24 | + <tr> | ||
| 25 | + <td>chatroomId</td> | ||
| 26 | + <td>true</td> | ||
| 27 | + <td>string</td> | ||
| 28 | + <td>房间ID</td> | ||
| 29 | + </tr> | ||
| 30 | + <tr> | ||
| 31 | + <td>name</td> | ||
| 32 | + <td>true</td> | ||
| 33 | + <td>string</td> | ||
| 34 | + <td>房间名称</td> | ||
| 35 | + </tr> | ||
| 36 | +</table> | ||
| 37 | + | ||
| 38 | +----- | ||
| 39 | +#### 返回格式说明: | ||
| 40 | +``` | ||
| 41 | +{ | ||
| 42 | + errorCode:"0", | ||
| 43 | + errorMsg:"成功" | ||
| 44 | +} | ||
| 45 | +{ | ||
| 46 | + errorCode:"xxx", //错误代码(非0) | ||
| 47 | + errorMsg:"失败" //错误信息 | ||
| 48 | +} | ||
| 49 | + | ||
| 50 | +``` | ||
| 0 | \ No newline at end of file | 51 | \ No newline at end of file |