登录基本信息
取当前账号的登录信息,可用来判断登录凭证是否还有效。
Authorization
bearerAuth AuthorizationBearer <token>
仅在 startServer 传了 token 时生效
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/api/bilibili/login_basic_info"{ "success": true, "data": { "code": 0, "data": { "answer_status": 0, "email_verified": 0, "face": "string", "face_nft": 0, "face_nft_type": 0, "has_shop": true, "ip_region": "string", "isLogin": true, "is_jury": true, "is_senior_member": 0, "legal_region": "string", "level_info": { "current_exp": 0, "current_level": 0, "current_min": 0, "next_exp": 0 }, "mid": 0, "mobile_verified": 0, "money": 0, "moral": 0, "name_render": null, "official": { "desc": "string", "role": 0, "title": "string", "type": 0 }, "officialVerify": { "desc": "string", "type": 0 }, "pendant": { "expire": 0, "image": "string", "image_enhance": "string", "image_enhance_frame": "string", "n_pid": 0, "name": "string", "pid": 0 }, "scores": 0, "shop_url": "string", "uname": "string", "vip": { "avatar_icon": { "icon_resource": { "type": 0, "url": "string" }, "icon_type": 0 }, "avatar_subscript": 0, "avatar_subscript_url": "string", "due_date": 0, "label": { "bg_color": "string", "bg_style": 0, "border_color": "string", "img_label_uri_hans": "string", "img_label_uri_hans_static": "string", "img_label_uri_hant": "string", "img_label_uri_hant_static": "string", "img_label_uri_i18n": "string", "img_label_uri_i18n_static": "string", "label_goto": { "mobile": "string", "pc_web": "string" }, "label_id": 0, "label_theme": "string", "label_type": 0, "path": "string", "text": "string", "text_color": "string", "use_img_label": true }, "nickname_color": "string", "ott_info": { "overdue_time": 0, "pay_channel_id": "string", "pay_type": 0, "status": 0, "vip_type": 0 }, "role": 0, "status": 0, "super_vip": { "is_super_vip": true }, "theme_type": 0, "tv_due_date": 0, "tv_vip_pay_type": 0, "tv_vip_status": 0, "type": 0, "vip_pay_type": 0 }, "vipDueDate": 0, "vipStatus": 0, "vipType": 0, "vip_avatar_subscript": 0, "vip_label": { "bg_color": "string", "bg_style": 0, "border_color": "string", "img_label_uri_hans": "string", "img_label_uri_hans_static": "string", "img_label_uri_hant": "string", "img_label_uri_hant_static": "string", "img_label_uri_i18n": "string", "img_label_uri_i18n_static": "string", "label_goto": { "mobile": "string", "pc_web": "string" }, "label_id": 0, "label_theme": "string", "label_type": 0, "path": "string", "text": "string", "text_color": "string", "use_img_label": true }, "vip_nickname_color": "string", "vip_pay_type": 0, "vip_theme_type": 0, "wallet": { "bcoin_balance": 0, "coupon_balance": 0, "coupon_due_time": 0, "mid": 0 }, "wbi_img": { "img_url": "string", "sub_url": "string" } }, "message": "string", "ttl": 0 }, "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"}