当前浏览的是 v7 预览版文档(v7 尚未正式发布,API 可能随版本调整)。本页是 v7 新增内容,去 v6 正式版文档首页
@ikenxuan/amagi

作品相关推荐

取某个作品的相关推荐列表。`authorId` 传作者的数字 ID(`videoWork` 响应里的 `photo.userId`)。返回的列表混有推荐卡片,读作品字段前需先判别。

GET
/api/kuaishou/fetch_slide_feed

Authorization

bearerAuth
AuthorizationBearer <token>

仅在 startServer 传了 token 时生效

In: header

Query Parameters

photoId*string

作品 ID

Length1 <= length
authorId*|

作者数字 ID,取自作品响应的 photo.userId

Response Body

application/json

application/json

curl -X GET "https://example.com/api/kuaishou/fetch_slide_feed?photoId=string&authorId=0"
{  "success": true,  "data": null,  "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"}