This commit is contained in:
晨叶梦春
2025-04-20 16:52:31 +08:00
parent f5f18c0325
commit 0c9c2da126
2 changed files with 925 additions and 629 deletions

View File

@@ -45,15 +45,15 @@
| pubdate | num | 稿件发布时间 | 时间戳 |
| ctime | num | 用户提交稿件的时间 | 时间戳 |
| desc | str | 视频简介 | |
| state | num | 视频状态 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`state`备注 |
| attribute | num | 稿件属性位配置 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`attribute`备注 |
| state | num | 视频状态 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`state`备注 |
| attribute | num | 稿件属性位配置 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`attribute`备注 |
| duration | num | 视频总计持续时长所有分P | 单位为秒 |
| rights | obj | 视频属性标志 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`rights`对象 |
| owner | obj | 视频UP主信息 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`owner`对象 |
| stat | obj | 视频状态数 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`stat`对象 |
| rights | obj | 视频属性标志 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`rights`对象 |
| owner | obj | 视频UP主信息 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`owner`对象 |
| stat | obj | 视频状态数 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`stat`对象 |
| dynamic | str | 视频同步发布的的动态的文字内容 | 无为空 |
| cid | num | 视频1P cid | |
| dimension | obj | 视频1P分辨率 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`dimension`对象 |
| dimension | obj | 视频1P分辨率 | 略,见[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的`dimension`对象 |
| bvid | str | 稿件bvid | |
| reason | str | 置顶视频备注 | |
| inter_video | bool | 是否为合作视频 | false<br />true是 |
@@ -1800,7 +1800,7 @@ curl -G 'https://api.bilibili.com/x/space/lastplaygame/v2' \
`data`数组中的对象:
基本与[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中`data`对象字段一致
基本与[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中`data`对象字段一致
**示例:**
@@ -2213,7 +2213,7 @@ curl -G 'https://app.bilibili.com/x/v2/space/coinarc' \
`data`数组中的对象:
基本与[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中`data`对象字段一致
基本与[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中`data`对象字段一致
**示例:**
@@ -3084,7 +3084,7 @@ curl -G 'https://api.vc.bilibili.com/link_draw/v1/doc/doc_list' \
|------|-----|-------|--------------------------------------------------------------------------|-----|
| mid | num | 用户uid | | √ |
| pn | num | | 默认1 | |
| ps | num | | 默认30<br/>范围:[1,30] | |
| ps | num | | 默认30<br/>范围:\[1,30\] | |
| sort | str | | `publish_time`:最新发布<br/>`view`:最多阅读<br/>`fav`:最多收藏<br/>默认:`publish_time` | |
**json回复**
@@ -4451,10 +4451,6 @@ curl -G 'https://api.bilibili.com/x/space/bangumi/follow/list' \
</details>
### 查询用户关注的TAG话题
> http://space.bilibili.com/ajax/tags/getSubList

View File

@@ -22,7 +22,7 @@
`data`对象:
| 字段 | 类型 | 内容 | 备注 |
| ---------------- | ----- | -------------- | ----------- |
| ---------------- | ----- | ---------------------- | ------------------- |
| list | array | 卡券信息列表 | |
| is_short_vip | bool | (?) | |
| is_freight_open | bool | (?) | |
@@ -30,11 +30,20 @@
| cur_exp | num | 当前拥有经验值 | |
| next_exp | num | 升级所需经验值 | 满级时为 -1 |
| is_vip | bool | 是否为大会员 | |
| is_senior_member | num | (?) | |
| format060102 | num | (?) | |
| is_senior_member | num | 是否为硬核会员 | |
| format060102 | num | (?) | 格式为`YYMMDD`,意义不明 |
| is_overdue_vip | bool | 大会员是否过期 | |
| vip_status | num | 会员状态 | 0<br />1有 |
| vip_type | num | 会员类型 | 0<br />1月大会员<br />2年度及以上大会员 |
| keeptime_end | num | 大会员当前阶段过期时间 | 秒级时间戳 |
| vip_due_date | num | 大会员过期时间 | 秒级时间戳 |
| vip_is_annual | bool | 是否为年度及以上大会员 | |
| vip_is_month | bool | 是否为月大会员 | |
| vip_is_new_user | bool | 是否为大会员新用户 | |
| bind_phone | str | 绑定的手机号 | 星号隐藏部分信息 |
| taobao_account | 有效时obj<br />无效时null | 绑定的淘宝账号 | |
`list`数组:
`list`数组中的对象:
| 索引 | 类型 | 内容 | type | 备注 |
| ---- | ---- | -------------------------------- | ---- | ------------------------------- |
@@ -60,7 +69,9 @@
| period_end_unix | num | 下一轮兑换开始时间戳 | 秒级时间戳 |
**注意:**
卡券除每日可领取(`type``8``9`)的,其他可通过 [https://api.bilibili.com/x/vip/privilege/receive](./action.md#兑换卡券) 领取
每日 10 经验领取(`type``9`)需要完成视频观看,未完成的 `state` 为 2。
**示例:**
@@ -73,7 +84,6 @@ curl 'https://api.bilibili.com/x/vip/privilege/my' \
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@@ -84,46 +94,336 @@ curl 'https://api.bilibili.com/x/vip/privilege/my' \
{
"type": 1,
"state": 0,
"expire_time": 1667231999,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1667491200
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "59534,45476",
"hit_value": 2
},
"extra_params": null
},
{
"type": 2,
"state": 0,
"expire_time": 1667231999,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1667491200
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 3,
"state": 0,
"expire_time": 1667231999,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1667491200
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 4,
"state": 0,
"expire_time": 1667231999,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1667491200
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 5,
"state": 0,
"expire_time": 1667231999,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1667491200
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 6,
"state": 0,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 7,
"state": 0,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 14,
"state": 0,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "59534,45476",
"hit_value": 2
},
"extra_params": null
},
{
"type": 15,
"state": 0,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 16,
"state": 0,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 17,
"state": 0,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 29,
"period_end_unix": 1747584000,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 18,
"state": 0,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 0,
"period_end_unix": 0,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 1,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 19,
"state": 0,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 0,
"period_end_unix": 0,
"is_count": false,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 1,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": {
"is_allowe_receive": "true",
"is_show": "true",
"last_salary_time": "0",
"now": "1745138836"
}
},
{
"type": 20,
"state": 0,
"expire_time": 0,
"vip_type": 2,
"next_receive_days": 0,
"period_end_unix": 0,
"is_count": false,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 1,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": {
"is_allowe_receive": "false",
"is_show": "false",
"last_salary_time": "0",
"now": "1745138836"
}
},
{
"type": 8,
"state": 1,
"expire_time": 1745164800,
"vip_type": 2,
"next_receive_days": 1,
"period_end_unix": 1745164800,
"is_count": true,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 2,
"salary_type": 1,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
},
{
"type": 9,
"state": 0,
"expire_time": 1745164800,
"vip_type": 2,
"next_receive_days": 1,
"period_end_unix": 1745164800,
"is_count": false,
"name": "",
"coupon_code": "",
"app_describe": "",
"recive_state": 1,
"salary_type": 0,
"exp_params": {
"exp_group_tag": "",
"hit_value": 0
},
"extra_params": null
}
],
"is_short_vip": false,
"is_freight_open": true
"is_freight_open": true,
"level": 6,
"cur_exp": 34424,
"next_exp": -1,
"is_vip": true,
"is_senior_member": 1,
"format060102": 250418,
"is_overdue_vip": false,
"vip_status": 1,
"vip_type": 2,
"keeptime_end": 1747584000,
"vip_due_date": 1832083200,
"vip_is_annual": true,
"vip_is_month": false,
"vip_is_new_user": false,
"bind_phone": "138****0000",
"taobao_account": null
}
}
```