Appearance
调用此接口,可获取评论抱一抱列表
/comment/hug/list
GET
POST
comment_hug_list
uid
cid
sid
page
cursor
idCursor
pageSize
GET /comment/hug/list?uid=285516405&cid=1167145843&sid=863481066&pageSize=2&page=1
import { commentHugList } from 'hana-music-api'; const result = await commentHugList({ uid: '285516405', cid: '1167145843', sid: '863481066', pageSize: '2', page: '1', }); console.log(result.body);
body.code、body.data.hugComments 收紧;每条抱一抱记录的 hugContent、user 宽松。data.currentComment 是被抱评论的附带信息,commentId 等编号一并放开,v2 多出的 threadId、replyCount、showFloorComment、extInfo、commentVideoVO 等按宽松记录声明。没有抱一抱时 data.hugComments 是空数组:录制 comment_hug_list.empty.json(评论 9673055460)返回 hugComments: []、hugTotalCounts: 0 并保留 currentComment;非空录制 comment_hug_list.default.json(歌曲 2092595510 评论 7431461934)保留 3 条抱一抱记录。hasMore、cursor、idCursor、hugTotalCounts 宽松;currentComment.tag、bottomTags 等只见过空容器或 null 的字段没有声明,原样保留。登录对照先用 login_status 确认 account.anonimousUser: false,只抽查了本批匿名录制中非 null 的路径与类型;登录录制未保留;不对公开结构作相同性断言。
body.code
body.data.hugComments
hugContent
user
data.currentComment
commentId
threadId
replyCount
showFloorComment
extInfo
commentVideoVO
data.hugComments
comment_hug_list.empty.json
hugComments: []
hugTotalCounts: 0
currentComment
comment_hug_list.default.json
hasMore
hugTotalCounts
currentComment.tag
bottomTags
null
login_status
account.anonimousUser: false
说明 : 调用此接口,可获取评论抱一抱列表
必选参数 :
uid: 用户 id
cid: 评论 id
sid: 资源 id
可选参数 :
page: 页数
cursor: 上一页返回的 cursor,默认-1,第一页不需要传
idCursor: 上一页返回的 idCursor,默认-1,第一页不需要传
pageSize : 每页页数,默认 100
接口地址 : /comment/hug/list
调用例子 : /comment/hug/list?uid=285516405&cid=1167145843&sid=863481066&pageSize=2&page=1
/comment/hug/list?uid=285516405&cid=1167145843&sid=863481066&pageSize=2&page=1
评论抱一抱列表
接口信息
/comment/hug/listGET/POSTcomment_hug_list请求参数
uidcidsidpagecursoridCursorpageSizeHTTP 示例
编程式调用
返回内容
body.code、body.data.hugComments收紧;每条抱一抱记录的hugContent、user宽松。data.currentComment是被抱评论的附带信息,commentId等编号一并放开,v2 多出的threadId、replyCount、showFloorComment、extInfo、commentVideoVO等按宽松记录声明。没有抱一抱时data.hugComments是空数组:录制comment_hug_list.empty.json(评论 9673055460)返回hugComments: []、hugTotalCounts: 0并保留currentComment;非空录制comment_hug_list.default.json(歌曲 2092595510 评论 7431461934)保留 3 条抱一抱记录。hasMore、cursor、idCursor、hugTotalCounts宽松;currentComment.tag、bottomTags等只见过空容器或null的字段没有声明,原样保留。登录对照先用login_status确认account.anonimousUser: false,只抽查了本批匿名录制中非null的路径与类型;登录录制未保留;不对公开结构作相同性断言。补充说明
说明 : 调用此接口,可获取评论抱一抱列表
必选参数 :
uid: 用户 idcid: 评论 idsid: 资源 id可选参数 :
page: 页数cursor: 上一页返回的 cursor,默认-1,第一页不需要传idCursor: 上一页返回的 idCursor,默认-1,第一页不需要传pageSize: 每页页数,默认 100接口地址 :
/comment/hug/list调用例子 :
/comment/hug/list?uid=285516405&cid=1167145843&sid=863481066&pageSize=2&page=1