1.4 评论-获取节目评论数.md 1.28 KB

/* Title: 1.4 获取节目评论数 Sort: 14 */

URL: http://api.cnlive.com/open/api/commentServices/commentForHd/readCommentCountById?spId=xxx&...


请求方式: GET


返回格式: JSON


请求参数说明:

参数 必选 类型 说明
spId true string 应用ID即:appID
ids true string 节目ID;多个以英文,号分割
plat true string 客户端平台[i:IOS客户端,a:Android客户端,w: Web]
sign true string 签名

返回格式说明:

{
  "comments": [
    {
      "id": "124314",
      "count": "0"
    },
    {
      "id": "12312",
      "count": "0"
    },
    {
      "id": "333",
      "count": "0"
    },
    {
      "id": "212881",
      "count": "4"
    },
    {
      "id": "282741",
      "count": "9"
    },
    {
      "id": "318967",
      "count": "6"
    }
  ]
}