Commit f28b9cf7a34899561fc936593264ce2fabf759e7
1 parent
a7efc597
add
Showing
1 changed file
with
77 additions
and
0 deletions
05.互动云/1.4 评论-获取节目评论数.md
0 → 100644
| 1 | +/* | ||
| 2 | + Title: 1.4 获取节目评论数 | ||
| 3 | + Sort: 14 | ||
| 4 | +*/ | ||
| 5 | +#### URL: http://api.cnlive.com/open/api/commentServices/commentForHd/readCommentCountById?spId=xxx&... | ||
| 6 | +----- | ||
| 7 | +#### 请求方式: GET | ||
| 8 | +----- | ||
| 9 | +#### 返回格式: JSON | ||
| 10 | +----- | ||
| 11 | +#### 请求参数说明: | ||
| 12 | +<table class="table table-bordered table-striped table-condensed"> | ||
| 13 | + <tr> | ||
| 14 | + <th>参数</th> | ||
| 15 | + <th>必选</th> | ||
| 16 | + <th>类型</th> | ||
| 17 | + <th>说明</th> | ||
| 18 | + </tr> | ||
| 19 | + <tr> | ||
| 20 | + <td>spId</td> | ||
| 21 | + <td>true</td> | ||
| 22 | + <td>string</td> | ||
| 23 | + <td>应用ID即:appID</td> | ||
| 24 | + </tr> | ||
| 25 | + <tr> | ||
| 26 | + <td>ids</td> | ||
| 27 | + <td>true</td> | ||
| 28 | + <td>string</td> | ||
| 29 | + <td>节目ID</td> | ||
| 30 | + </tr> | ||
| 31 | + <tr> | ||
| 32 | + <td>plat</td> | ||
| 33 | + <td>true</td> | ||
| 34 | + <td>string</td> | ||
| 35 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | ||
| 36 | + </tr> | ||
| 37 | + <tr> | ||
| 38 | + <td>sign</td> | ||
| 39 | + <td>true</td> | ||
| 40 | + <td>string</td> | ||
| 41 | + <td>签名</td> | ||
| 42 | + </tr> | ||
| 43 | +</table> | ||
| 44 | + | ||
| 45 | +----- | ||
| 46 | +#### 返回格式说明: | ||
| 47 | +``` | ||
| 48 | +{ | ||
| 49 | + "comments": [ | ||
| 50 | + { | ||
| 51 | + "id": "124314", | ||
| 52 | + "count": "0" | ||
| 53 | + }, | ||
| 54 | + { | ||
| 55 | + "id": "12312", | ||
| 56 | + "count": "0" | ||
| 57 | + }, | ||
| 58 | + { | ||
| 59 | + "id": "333", | ||
| 60 | + "count": "0" | ||
| 61 | + }, | ||
| 62 | + { | ||
| 63 | + "id": "212881", | ||
| 64 | + "count": "4" | ||
| 65 | + }, | ||
| 66 | + { | ||
| 67 | + "id": "282741", | ||
| 68 | + "count": "9" | ||
| 69 | + }, | ||
| 70 | + { | ||
| 71 | + "id": "318967", | ||
| 72 | + "count": "6" | ||
| 73 | + } | ||
| 74 | + ] | ||
| 75 | +} | ||
| 76 | + | ||
| 77 | +``` | ||
| 0 | \ No newline at end of file | 78 | \ No newline at end of file |