作品评论列表
取作品评论列表,子评论按根评论 ID 分组返回。`number` 指定目标条数,翻页自动完成。
Authorization
bearerAuth AuthorizationBearer <token>
仅在 startServer 传了 token 时生效
In: header
Query Parameters
photoId*string
作品 ID
Length
1 <= lengthnumber?integer
目标条数;不传时按单页上限翻页取满,而不是只取一页
Range
1 <= value <= 500Response Body
application/json
application/json
curl -X GET "https://example.com/api/kuaishou/fetch_work_comments?photoId=string"{ "success": true, "data": { "commentCount": 0, "pcursor": "string", "result": 0, "rootComments": [ { "authorVerified": true, "author_id": 0, "author_liked": true, "author_name": "string", "cashTags": {}, "commentAuthorTags": [ null ], "commentBottomTags": [ { "bgColor": "string", "bgColorNight": "string", "extra": "string", "text": "string", "textColor": "string", "textColorNight": "string", "textKey": "string" } ], "comment_id": 0, "content": "string", "displaySubCommentCount": true, "headurl": "string", "headurls": [ { "cdn": "string", "url": "string" } ], "hot": true, "likedCount": 0, "photo_id": 0, "recallType": 0, "reply_to": 0, "subCommentCount": 0, "time": "string", "timestamp": 0, "type": 0, "user_id": 0, "user_sex": "string" } ], "sinkCommentIds": [ 0 ], "subCommentsMap": { "1171179464225": { "pcursor": "string", "subComments": [ { "authorVerified": true, "author_id": 0, "author_liked": true, "author_name": "string", "cashTags": {}, "commentAuthorTags": [ null ], "commentBottomTags": [ null ], "comment_id": 0, "content": "string", "headurl": "string", "headurls": [ { "cdn": "string", "url": "string" } ], "likedCount": 0, "photo_id": 0, "replyToUserName": "string", "reply_to": 0, "time": "string", "timestamp": 0, "type": 0, "user_id": 0, "user_sex": "string" } ] } } }, "error": { "kind": "validation", "code": "string", "message": "string", "retryable": true, "platform": { "code": "string", "message": "string" }, "http": { "status": 0, "statusText": "string" }, "issues": [ { "path": "string", "message": "string", "received": null } ] }, "message": "string", "meta": { "requestId": "string", "clientId": "string", "platform": "douyin", "endpoint": "string", "durationMs": 0, "attempts": 0, "trace": [ { "url": "string", "method": "string", "status": 0, "durationMs": 0, "reason": "initial", "retryOf": "string" } ] }, "requestPath": "/api/bilibili/fetch_one_video?bvid=BV1xx"}