Update info.md
This commit is contained in:
parent
f896727b3b
commit
83a1a4e9c6
@ -159,6 +159,7 @@
|
||||
`data`中的`pendant`对象:
|
||||
|
||||
**普通头像框的`image`与`image_enhance`内容相同**
|
||||
|
||||
**动态头像框的`image`为png静态图片,`image_enhance`为webp动态图片,`image_enhance_frame`为png逐帧序列**
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
@ -540,7 +541,7 @@ curl -G 'https://api.bilibili.com/x/space/wbi/acc/info' \
|
||||
| face | str | 用户头像链接 | |
|
||||
| DisplayRank | str | 0 | **作用尚不明确** |
|
||||
| regtime | num | 0 | **作用尚不明确** |
|
||||
| spacesta | num | 0 | **作用尚不明确** |
|
||||
| spacesta | num | 用户状态 | 0:正常<br />-2:被封禁 |
|
||||
| birthday | str | 空 | **作用尚不明确** |
|
||||
| place | str | 空 | **作用尚不明确** |
|
||||
| description | str | 空 | **作用尚不明确** |
|
||||
@ -563,7 +564,7 @@ curl -G 'https://api.bilibili.com/x/space/wbi/acc/info' \
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ------------- | ---- | -------- | ---------------- |
|
||||
| current_level | num | 当前等级 | 0-6级 |
|
||||
| current_min | num | 0 | 作用尚不明确 |
|
||||
| current_min | num | 0 | **作用尚不明确** |
|
||||
| current_exp | num | 0 | **作用尚不明确** |
|
||||
| next_exp | num | 0 | **作用尚不明确** |
|
||||
|
||||
@ -589,19 +590,19 @@ curl -G 'https://api.bilibili.com/x/space/wbi/acc/info' \
|
||||
|
||||
`card`中的`Official`对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ----- | ---- | -------- | ------------------------------------------------- |
|
||||
| role | num | 认证类型 | 见[用户认证类型一览](official_role.md) |
|
||||
| title | str | 认证信息 | 无为空 |
|
||||
| desc | str | 认证备注 | 无为空 |
|
||||
| type | num | 是否认证 | -1:无<br />0:认证 |
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ----- | ---- | -------- | ---------------------------------------- |
|
||||
| role | num | 认证类型 | 见[用户认证类型一览](official_role.md) |
|
||||
| title | str | 认证信息 | 无为空 |
|
||||
| desc | str | 认证备注 | 无为空 |
|
||||
| type | num | 是否认证 | -1:无<br />0:UP主认证<br />1:机构认证 |
|
||||
|
||||
`card`中的`official_verify`对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ---- | ---- | -------- | ------------------- |
|
||||
| type | num | 是否认证 | -1:无<br />0:认证 |
|
||||
| desc | str | 认证信息 | 无为空 |
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ---- | ---- | -------- | ---------------------------------------- |
|
||||
| type | num | 是否认证 | -1:无<br />0:UP主认证<br />1:机构认证 |
|
||||
| desc | str | 认证信息 | 无为空 |
|
||||
|
||||
`card`中的`vip`对象:
|
||||
|
||||
@ -938,22 +939,24 @@ curl -G 'https://api.bilibili.com/x/space/myinfo' \
|
||||
|
||||
认证方式:Cookie(SESSDATA)
|
||||
|
||||
本接口较其他接口相比,只会返回非常有限的信息,但可以同时获取较多的用户信息(据测试可以同时获取 40000 多个用户的信息)
|
||||
|
||||
**url参数:**
|
||||
|
||||
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
|
||||
| ------ | ---- | ----------------- | ------ | --------------------------------- |
|
||||
| uids | nums | 目标用户的UID列表 | 必要 | 每个成员间用`,`分隔,最多50个成员 |
|
||||
| uids | nums | 目标用户的UID列表 | 必要 | 每个成员间用`,`分隔 |
|
||||
|
||||
**json回复:**
|
||||
|
||||
根对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ------- | ----- | -------- | ----------------------------------------------------------------- |
|
||||
| code | num | 返回值 | 0:成功<br />-400:请求错误<br />600007:超出批量获取用户信息限制 |
|
||||
| msg | str | 错误信息 | 默认为空 |
|
||||
| message | str | 错误信息 | 默认为空 |
|
||||
| data | array | 信息本体 | |
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ------- | ----- | -------- | --------------------------- |
|
||||
| code | num | 返回值 | 0:成功<br />-400:请求错误 |
|
||||
| msg | str | 错误信息 | 默认为空 |
|
||||
| message | str | 错误信息 | 默认为空 |
|
||||
| data | array | 信息本体 | 用户信息随机排序 |
|
||||
|
||||
`data`数组:
|
||||
|
||||
@ -965,7 +968,16 @@ curl -G 'https://api.bilibili.com/x/space/myinfo' \
|
||||
|
||||
`data`数组中的对象:
|
||||
|
||||
基本同「[用户空间详细信息](#用户空间详细信息)」中的data对象
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ------- | ---- | ------------ | -------------------- |
|
||||
| mid | num | mid | |
|
||||
| name | str | 昵称 | |
|
||||
| sex | str | 性别 | 男/女/保密 |
|
||||
| face | str | 头像链接 | |
|
||||
| sign | str | 签名 | |
|
||||
| rank | num | 用户权限等级 | |
|
||||
| level | num | 当前等级 | 0-6 级 |
|
||||
| silence | num | 封禁状态 | 0:正常<br />1:被封 |
|
||||
|
||||
**示例:**
|
||||
|
||||
@ -993,64 +1005,7 @@ curl -G 'https://api.vc.bilibili.com/account/v1/user/cards' \
|
||||
"sign": "",
|
||||
"rank": 10000,
|
||||
"level": 4,
|
||||
"silence": 0,
|
||||
"vip": {
|
||||
"type": 2,
|
||||
"status": 1,
|
||||
"due_date": 1754496000000,
|
||||
"vip_pay_type": 1,
|
||||
"theme_type": 0,
|
||||
"label": {
|
||||
"path": "",
|
||||
"text": "年度大会员",
|
||||
"label_theme": "annual_vip",
|
||||
"text_color": "#FFFFFF",
|
||||
"bg_style": 1,
|
||||
"bg_color": "#FB7299",
|
||||
"border_color": "",
|
||||
"use_img_label": true,
|
||||
"img_label_uri_hans": "",
|
||||
"img_label_uri_hant": "",
|
||||
"img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/8d4f8bfc713826a5412a0a27eaaac4d6b9ede1d9.png",
|
||||
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/VEW8fCC0hg.png"
|
||||
},
|
||||
"avatar_subscript": 1,
|
||||
"nickname_color": "#FB7299",
|
||||
"role": 3,
|
||||
"avatar_subscript_url": "",
|
||||
"tv_vip_status": 0,
|
||||
"tv_vip_pay_type": 0,
|
||||
"tv_due_date": 1633622400
|
||||
},
|
||||
"pendant": {
|
||||
"pid": 0,
|
||||
"name": "",
|
||||
"image": "",
|
||||
"expire": 0,
|
||||
"image_enhance": "",
|
||||
"image_enhance_frame": ""
|
||||
},
|
||||
"nameplate": {
|
||||
"nid": 0,
|
||||
"name": "",
|
||||
"image": "",
|
||||
"image_small": "",
|
||||
"level": "",
|
||||
"condition": ""
|
||||
},
|
||||
"official": {
|
||||
"role": 0,
|
||||
"title": "",
|
||||
"desc": "",
|
||||
"type": -1
|
||||
},
|
||||
"birthday": 622137600,
|
||||
"is_fake_account": 0,
|
||||
"is_deleted": 0,
|
||||
"in_reg_audit": 0,
|
||||
"face_nft": 0,
|
||||
"face_nft_new": 0,
|
||||
"is_senior_member": 0
|
||||
"silence": 0
|
||||
}, {
|
||||
"mid": 2,
|
||||
"name": "碧诗",
|
||||
@ -1059,64 +1014,7 @@ curl -G 'https://api.vc.bilibili.com/account/v1/user/cards' \
|
||||
"sign": "https://kami.im 直男过气网红 # av362830 “We Are Star Dust”",
|
||||
"rank": 20000,
|
||||
"level": 6,
|
||||
"silence": 0,
|
||||
"vip": {
|
||||
"type": 2,
|
||||
"status": 1,
|
||||
"due_date": 3901881600000,
|
||||
"vip_pay_type": 0,
|
||||
"theme_type": 0,
|
||||
"label": {
|
||||
"path": "",
|
||||
"text": "十年大会员",
|
||||
"label_theme": "ten_annual_vip",
|
||||
"text_color": "#FFFFFF",
|
||||
"bg_style": 1,
|
||||
"bg_color": "#FB7299",
|
||||
"border_color": "",
|
||||
"use_img_label": true,
|
||||
"img_label_uri_hans": "",
|
||||
"img_label_uri_hant": "",
|
||||
"img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/adb599797dd171e2d3d6d012f448b49679258344.png",
|
||||
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/sGu57N6pgK.png"
|
||||
},
|
||||
"avatar_subscript": 1,
|
||||
"nickname_color": "#FB7299",
|
||||
"role": 7,
|
||||
"avatar_subscript_url": "",
|
||||
"tv_vip_status": 0,
|
||||
"tv_vip_pay_type": 0,
|
||||
"tv_due_date": 1655481600
|
||||
},
|
||||
"pendant": {
|
||||
"pid": 32257,
|
||||
"name": "EveOneCat2",
|
||||
"image": "https://i2.hdslb.com/bfs/garb/item/488870931b1bba66da36d22848f0720480d3d79a.png",
|
||||
"expire": 0,
|
||||
"image_enhance": "https://i2.hdslb.com/bfs/garb/item/5974f17f9d96a88bafba2f6d18d647a486e88312.webp",
|
||||
"image_enhance_frame": "https://i2.hdslb.com/bfs/garb/item/4316a3910bb0bd6f2f1c267a3e9187f0b9fe5bd0.png"
|
||||
},
|
||||
"nameplate": {
|
||||
"nid": 10,
|
||||
"name": "见习偶像",
|
||||
"image": "https://i0.hdslb.com/bfs/face/e93dd9edfa7b9e18bf46fd8d71862327a2350923.png",
|
||||
"image_small": "https://i1.hdslb.com/bfs/face/275b468b043ec246737ab8580a2075bee0b1263b.png",
|
||||
"level": "普通勋章",
|
||||
"condition": "所有自制视频总播放数>=10万"
|
||||
},
|
||||
"official": {
|
||||
"role": 2,
|
||||
"title": "bilibili创始人(站长)",
|
||||
"desc": "",
|
||||
"type": 0
|
||||
},
|
||||
"birthday": 622137600,
|
||||
"is_fake_account": 0,
|
||||
"is_deleted": 0,
|
||||
"in_reg_audit": 0,
|
||||
"face_nft": 0,
|
||||
"face_nft_new": 0,
|
||||
"is_senior_member": 1
|
||||
"silence": 0
|
||||
}, {
|
||||
"mid": 3,
|
||||
"name": "囧囧倉",
|
||||
@ -1125,64 +1023,7 @@ curl -G 'https://api.vc.bilibili.com/account/v1/user/cards' \
|
||||
"sign": "富强、民主、文明、和谐、自由、平等、公正、法治、爱国、敬业、诚信、友善。",
|
||||
"rank": 10000,
|
||||
"level": 5,
|
||||
"silence": 0,
|
||||
"vip": {
|
||||
"type": 0,
|
||||
"status": 0,
|
||||
"due_date": 0,
|
||||
"vip_pay_type": 0,
|
||||
"theme_type": 0,
|
||||
"label": {
|
||||
"path": "",
|
||||
"text": "",
|
||||
"label_theme": "",
|
||||
"text_color": "",
|
||||
"bg_style": 0,
|
||||
"bg_color": "",
|
||||
"border_color": "",
|
||||
"use_img_label": true,
|
||||
"img_label_uri_hans": "",
|
||||
"img_label_uri_hant": "",
|
||||
"img_label_uri_hans_static": "https://i0.hdslb.com/bfs/vip/d7b702ef65a976b20ed854cbd04cb9e27341bb79.png",
|
||||
"img_label_uri_hant_static": "https://i0.hdslb.com/bfs/activity-plat/static/20220614/e369244d0b14644f5e1a06431e22a4d5/KJunwh19T5.png"
|
||||
},
|
||||
"avatar_subscript": 0,
|
||||
"nickname_color": "",
|
||||
"role": 0,
|
||||
"avatar_subscript_url": "",
|
||||
"tv_vip_status": 0,
|
||||
"tv_vip_pay_type": 0,
|
||||
"tv_due_date": 0
|
||||
},
|
||||
"pendant": {
|
||||
"pid": 0,
|
||||
"name": "",
|
||||
"image": "",
|
||||
"expire": 0,
|
||||
"image_enhance": "",
|
||||
"image_enhance_frame": ""
|
||||
},
|
||||
"nameplate": {
|
||||
"nid": 0,
|
||||
"name": "",
|
||||
"image": "",
|
||||
"image_small": "",
|
||||
"level": "",
|
||||
"condition": ""
|
||||
},
|
||||
"official": {
|
||||
"role": 0,
|
||||
"title": "",
|
||||
"desc": "",
|
||||
"type": -1
|
||||
},
|
||||
"birthday": 1262275200,
|
||||
"is_fake_account": 0,
|
||||
"is_deleted": 0,
|
||||
"in_reg_audit": 0,
|
||||
"face_nft": 0,
|
||||
"face_nft_new": 0,
|
||||
"is_senior_member": 0
|
||||
"silence": 0
|
||||
}]
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user