关键词视频评论回复列表

scope:video.search.comment

该接口用于获取视频评论的回复列表,视频来源为关键词视频搜索。

注意:

  • 注意参数中 sec_item_id 作为 url 参数时,必须 encode,只对 sec_item_id 单独进行 encode
  • 注意参数中 comment_id 作为 url 参数时,必须 encode,只对 comment_id 单独进行 encode

状态码排查

进入【状态码排查工具】

请求地址

GET /video/search/comment/reply/list/

请求头

  • Content-Type: application/json
  • access-token: 调用/oauth/client_token/生成的 token,此 token 不需要用户授权。示例: clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1KcxFnZ

请求参数

URL 请求

参数名称参数类型参数描述参数示例是否必填
暂无数据

请求样例

响应参数

参数名称参数类型参数描述参数示例是否必填
暂无数据

响应样例

{
  "extra": {
    "logid": "202008121419360101980821035705926A",
    "now": 1597213176393,
    "error_code": 0,
    "description": "",
    "sub_error_code": 0,
    "sub_description": ""
  },
  "data": {
    "list": [
      {
        "content": "回复内容",
        "create_time": 1607399832,
        "digg_count": 647,
        "reply_comment_total": 12,
        "top": true,
        "comment_id": "",
        "comment_user_id": ""
      }
    ],
    "error_code": 0,
    "description": "",
    "cursor": 1,
    "has_more": true
  }
}

响应错误样例

{
  "data": {
    "error_code": 2100005,
    "description": "Parameter error"
  },
  "extra": {
    "error_code": 2100005,
    "description": "Parameter error",
    "sub_error_code": 0,
    "sub_description": "",
    "now": 1594015876138,
    "log_id": "2020070614111601022506808001045D59"
  }
}

FAQ

Q:接口报错:error_code = 2100005sub_error_code = 100401怎么解决?

A:请检查目标视频状态,只有存在且公开的视频才能返回数据。视频已删除/视频仅好友可见/私密视频 都会导致此错误。

诚邀您对本文档易读易用性进行评价
好用
不好用