Commit 09ac09adb1e7c03ce9126a2a12f89f52ca994b0c
1 parent
88b2c911
add
Showing
1 changed file
with
28 additions
and
0 deletions
05.互动云/3.6 客户端SDK连接聊天室鉴权接口.md
| 1 | +### 客户端SDK连接聊天室鉴权接口 | ||
| 2 | +----- | ||
| 3 | +#### URL: http://api.cnlive.com/open/api2/chat/roomAuthCheck | ||
| 4 | +----- | ||
| 5 | +#### 请求方式: HTTP POST | ||
| 6 | +----- | ||
| 7 | +#### 返回格式: JSON | ||
| 8 | +----- | ||
| 9 | +#### 请求参数说明: | ||
| 10 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | ||
| 11 | +| :-----------: | :------: | :------: | :------: | | ||
| 12 | +| appId | String | true | 应用ID | | ||
| 13 | +| roomId | String | true | 聊天室ID | | ||
| 14 | +| sign | String | true | 签名| | ||
| 15 | +----- | ||
| 16 | +#### 返回格式说明: | ||
| 17 | +``` | ||
| 18 | +{ | ||
| 19 | + "errorCode":"0", | ||
| 20 | + "errorMessage":"成功" | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +{ | ||
| 24 | + "errorCode":"530xx", | ||
| 25 | + "errorMessage":"无权访问" | ||
| 26 | +} | ||
| 27 | + | ||
| 28 | +``` | ||
| 0 | \ No newline at end of file | 29 | \ No newline at end of file |