Commit b647de540914ff9a516c9f1ef73bc485529434b3
1 parent
91e712b8
add
Showing
1 changed file
with
26 additions
and
27 deletions
7. 互动云/3.3 查询聊天室接口.md
| 1 | -/* Title: 3.3 查询聊天室接口 */ | ||
| 2 | -### 查询聊天室接口 | ||
| 3 | ------ | ||
| 4 | -#### URL: http://api.cnlive.com/open/api2/chat/searchChatRoom | ||
| 5 | ------ | ||
| 6 | -#### 请求方式: HTTP GET | ||
| 7 | ------ | ||
| 8 | -#### 返回格式: JSON | ||
| 9 | ------ | ||
| 10 | -#### 请求参数说明: | ||
| 11 | -| 参数名 | 参数类型 | 必选 | 参数说明 | | ||
| 12 | -| :----------- | :------: | :------: | :------: | | ||
| 13 | -| sp_id | String | true | 应用ID | | ||
| 14 | -| id | String | true | 业务系统的唯一标识作为聊天室ID | | ||
| 15 | -| sign | String | true | 签名规则见<a href="http://help.open.cnlive.com/common.html">签名详情</a> | | ||
| 16 | ------ | ||
| 17 | -#### 返回格式说明: | ||
| 18 | -``` | ||
| 19 | -{ | ||
| 20 | - "errorCode":"0", | ||
| 21 | - "errorMessage":"成功" | ||
| 22 | -} | ||
| 23 | - | ||
| 24 | -{ | ||
| 25 | - "errorCode":"53002", | ||
| 26 | - "errorMessage":"聊天室不存在" | ||
| 27 | -} | 1 | +/* Title: 3.3 查询聊天室接口 */ |
| 2 | +### 查询聊天室接口 | ||
| 3 | +----- | ||
| 4 | +#### URL: http://api.cnlive.com/open/api2/chat/searchChatRooms | ||
| 5 | +----- | ||
| 6 | +#### 请求方式: HTTP GET | ||
| 7 | +----- | ||
| 8 | +#### 返回格式: JSON | ||
| 9 | +----- | ||
| 10 | +#### 请求参数说明: | ||
| 11 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | ||
| 12 | +| :----------- | :------: | :------: | :------: | | ||
| 13 | +| sp_id | String | true | 应用ID | | ||
| 14 | +| sign | String | true | 签名规则见<a href="http://help.open.cnlive.com/common.html">签名详情</a> | | ||
| 15 | +----- | ||
| 16 | +#### 返回格式说明: | ||
| 17 | +``` | ||
| 18 | +{ | ||
| 19 | + "errorCode":"0", | ||
| 20 | + "errorMessage":"成功" | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +{ | ||
| 24 | + "errorCode":"53002", | ||
| 25 | + "errorMessage":"聊天室不存在" | ||
| 26 | +} | ||
| 28 | ``` | 27 | ``` |
| 29 | \ No newline at end of file | 28 | \ No newline at end of file |