用户主页聚合信息
取用户主页聚合信息(资料、作品列表、直播间等)。部分数据取不到时留空,不整体失败。
Authorization
bearerAuth AuthorizationBearer <token>
仅在 startServer 传了 token 时生效
In: header
Query Parameters
principalId*string
用户 ID
Length
1 <= lengthResponse Body
application/json
application/json
curl -X GET "https://example.com/api/kuaishou/fetch_user_profile?principalId=string"{ "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"}