Commit 5c8f47dd81b2b98352be265d50969b464df64439
1 parent
75de9832
添加顶踩
Showing
2 changed files
with
15 additions
and
4 deletions
05.互动云/7.1 顶踩-节目顶踩.md
| @@ -2,7 +2,10 @@ | @@ -2,7 +2,10 @@ | ||
| 2 | | 参数名 | 参数类型 | 必选 | 参数说明 | | 2 | | 参数名 | 参数类型 | 必选 | 参数说明 | |
| 3 | | :-----------: | :------: | :------: | :------: | | 3 | | :-----------: | :------: | :------: | :------: | |
| 4 | | appId| String | true| 应用ID | | 4 | | appId| String | true| 应用ID | |
| 5 | -| fromSid| String | true| 达人ID | | 5 | +| id| String | true| 节目ID | |
| 6 | +| sid| String | true| 用户ID | | ||
| 7 | +| support| String | true| 0:踩 1:顶 | | ||
| 8 | +| plat| String | true| 客户端平台[i:IOS客户端,a:Android客户端] | | ||
| 6 | | sign | String | true | 签名规则见<a href="http://bj.gitlab.cnlive.com/OPEN-API/WIKI/blob/master/00.%E5%85%AC%E5%85%B1%E7%BB%84%E4%BB%B6/1.1%20SHA1%E7%AD%BE%E5%90%8D.md">签名详情</a> | 9 | | sign | String | true | 签名规则见<a href="http://bj.gitlab.cnlive.com/OPEN-API/WIKI/blob/master/00.%E5%85%AC%E5%85%B1%E7%BB%84%E4%BB%B6/1.1%20SHA1%E7%AD%BE%E5%90%8D.md">签名详情</a> |
| 7 | ----- | 10 | ----- |
| 8 | #### 返回格式说明: | 11 | #### 返回格式说明: |
05.互动云/7.2 顶踩-读取顶踩.md
| @@ -2,13 +2,21 @@ | @@ -2,13 +2,21 @@ | ||
| 2 | | 参数名 | 参数类型 | 必选 | 参数说明 | | 2 | | 参数名 | 参数类型 | 必选 | 参数说明 | |
| 3 | | :-----------: | :------: | :------: | :------: | | 3 | | :-----------: | :------: | :------: | :------: | |
| 4 | | appId| String | true| 应用ID | | 4 | | appId| String | true| 应用ID | |
| 5 | -| fromSid| String | true| 达人ID | | 5 | +| ids| String | true| 节目ID 多个以英文,号分隔 | |
| 6 | +| plat| String | true| 客户端平台[i:IOS客户端,a:Android客户端] | | ||
| 6 | | sign | String | true | 签名规则见<a href="http://bj.gitlab.cnlive.com/OPEN-API/WIKI/blob/master/00.%E5%85%AC%E5%85%B1%E7%BB%84%E4%BB%B6/1.1%20SHA1%E7%AD%BE%E5%90%8D.md">签名详情</a> | 7 | | sign | String | true | 签名规则见<a href="http://bj.gitlab.cnlive.com/OPEN-API/WIKI/blob/master/00.%E5%85%AC%E5%85%B1%E7%BB%84%E4%BB%B6/1.1%20SHA1%E7%AD%BE%E5%90%8D.md">签名详情</a> |
| 7 | ----- | 8 | ----- |
| 8 | #### 返回格式说明: | 9 | #### 返回格式说明: |
| 9 | ``` | 10 | ``` |
| 10 | { | 11 | { |
| 11 | - "errorCode": "0", | ||
| 12 | - "errorMessage": "成功" | 12 | + "supports": [{ |
| 13 | + "id": "1", | ||
| 14 | + "support": "10", | ||
| 15 | + "noSupport": "20" | ||
| 16 | + }, { | ||
| 17 | + "id": "2", | ||
| 18 | + "support": "10", | ||
| 19 | + "noSupport": "20" | ||
| 20 | + }] | ||
| 13 | } | 21 | } |
| 14 | ``` | 22 | ``` |
| 15 | \ No newline at end of file | 23 | \ No newline at end of file |