fix #1161
This commit is contained in:
@@ -45,15 +45,15 @@
|
|||||||
| pubdate | num | 稿件发布时间 | 时间戳 |
|
| pubdate | num | 稿件发布时间 | 时间戳 |
|
||||||
| ctime | num | 用户提交稿件的时间 | 时间戳 |
|
| ctime | num | 用户提交稿件的时间 | 时间戳 |
|
||||||
| desc | str | 视频简介 | |
|
| desc | str | 视频简介 | |
|
||||||
| state | num | 视频状态 | 略,见[获取视频详细信息(web端)](../video/info.md#获取视频详细信息(web端))中的`state`备注 |
|
| state | num | 视频状态 | 略,见[获取视频详细信息(web端)](../video/info.md#获取视频详细信息web端)中的`state`备注 |
|
||||||
| attribute | num | 稿件属性位配置 | 略,见[获取视频详细信息(web端)](../video/info.md#获取视频详细信息(web端))中的`attribute`备注 |
|
| attribute | num | 稿件属性位配置 | 略,见[获取视频详细信息(web端)](../video/info.md#获取视频详细信息web端)中的`attribute`备注 |
|
||||||
| duration | num | 视频总计持续时长(所有分P) | 单位为秒 |
|
| duration | num | 视频总计持续时长(所有分P) | 单位为秒 |
|
||||||
| rights | obj | 视频属性标志 | 略,见[获取视频详细信息(web端)](../video/info.md#获取视频详细信息(web端))中的`rights`对象 |
|
| rights | obj | 视频属性标志 | 略,见[获取视频详细信息(web端)](../video/info.md#获取视频详细信息web端)中的`rights`对象 |
|
||||||
| owner | obj | 视频UP主信息 | 略,见[获取视频详细信息(web端)](../video/info.md#获取视频详细信息(web端))中的`owner`对象 |
|
| owner | obj | 视频UP主信息 | 略,见[获取视频详细信息(web端)](../video/info.md#获取视频详细信息web端)中的`owner`对象 |
|
||||||
| stat | obj | 视频状态数 | 略,见[获取视频详细信息(web端)](../video/info.md#获取视频详细信息(web端))中的`stat`对象 |
|
| stat | obj | 视频状态数 | 略,见[获取视频详细信息(web端)](../video/info.md#获取视频详细信息web端)中的`stat`对象 |
|
||||||
| dynamic | str | 视频同步发布的的动态的文字内容 | 无为空 |
|
| dynamic | str | 视频同步发布的的动态的文字内容 | 无为空 |
|
||||||
| cid | num | 视频1P cid | |
|
| 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 | |
|
| bvid | str | 稿件bvid | |
|
||||||
| reason | str | 置顶视频备注 | |
|
| reason | str | 置顶视频备注 | |
|
||||||
| inter_video | bool | 是否为合作视频 | false:否<br />true:是 |
|
| inter_video | bool | 是否为合作视频 | false:否<br />true:是 |
|
||||||
@@ -1800,7 +1800,7 @@ curl -G 'https://api.bilibili.com/x/space/lastplaygame/v2' \
|
|||||||
|
|
||||||
`data`数组中的对象:
|
`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`数组中的对象:
|
`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 | | √ |
|
| mid | num | 用户uid | | √ |
|
||||||
| pn | num | | 默认:1 | |
|
| 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` | |
|
| sort | str | | `publish_time`:最新发布<br/>`view`:最多阅读<br/>`fav`:最多收藏<br/>默认:`publish_time` | |
|
||||||
|
|
||||||
**json回复:**
|
**json回复:**
|
||||||
@@ -4451,10 +4451,6 @@ curl -G 'https://api.bilibili.com/x/space/bangumi/follow/list' \
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 查询用户关注的TAG(话题)
|
### 查询用户关注的TAG(话题)
|
||||||
|
|
||||||
> http://space.bilibili.com/ajax/tags/getSubList
|
> http://space.bilibili.com/ajax/tags/getSubList
|
||||||
|
|||||||
334
docs/vip/info.md
334
docs/vip/info.md
@@ -22,7 +22,7 @@
|
|||||||
`data`对象:
|
`data`对象:
|
||||||
|
|
||||||
| 字段 | 类型 | 内容 | 备注 |
|
| 字段 | 类型 | 内容 | 备注 |
|
||||||
| ---------------- | ----- | -------------- | ----------- |
|
| ---------------- | ----- | ---------------------- | ------------------- |
|
||||||
| list | array | 卡券信息列表 | |
|
| list | array | 卡券信息列表 | |
|
||||||
| is_short_vip | bool | (?) | |
|
| is_short_vip | bool | (?) | |
|
||||||
| is_freight_open | bool | (?) | |
|
| is_freight_open | bool | (?) | |
|
||||||
@@ -30,11 +30,20 @@
|
|||||||
| cur_exp | num | 当前拥有经验值 | |
|
| cur_exp | num | 当前拥有经验值 | |
|
||||||
| next_exp | num | 升级所需经验值 | 满级时为 -1 |
|
| next_exp | num | 升级所需经验值 | 满级时为 -1 |
|
||||||
| is_vip | bool | 是否为大会员 | |
|
| is_vip | bool | 是否为大会员 | |
|
||||||
| is_senior_member | num | (?) | |
|
| is_senior_member | num | 是否为硬核会员 | |
|
||||||
| format060102 | 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 | 备注 |
|
| 索引 | 类型 | 内容 | type | 备注 |
|
||||||
| ---- | ---- | -------------------------------- | ---- | ------------------------------- |
|
| ---- | ---- | -------------------------------- | ---- | ------------------------------- |
|
||||||
@@ -60,7 +69,9 @@
|
|||||||
| period_end_unix | num | 下一轮兑换开始时间戳 | 秒级时间戳 |
|
| period_end_unix | num | 下一轮兑换开始时间戳 | 秒级时间戳 |
|
||||||
|
|
||||||
**注意:**
|
**注意:**
|
||||||
|
|
||||||
卡券除每日可领取(`type` 为 `8` 和 `9`)的,其他可通过 [https://api.bilibili.com/x/vip/privilege/receive](./action.md#兑换卡券) 领取
|
卡券除每日可领取(`type` 为 `8` 和 `9`)的,其他可通过 [https://api.bilibili.com/x/vip/privilege/receive](./action.md#兑换卡券) 领取
|
||||||
|
|
||||||
每日 10 经验领取(`type` 为 `9`)需要完成视频观看,未完成的 `state` 为 2。
|
每日 10 经验领取(`type` 为 `9`)需要完成视频观看,未完成的 `state` 为 2。
|
||||||
|
|
||||||
**示例:**
|
**示例:**
|
||||||
@@ -73,7 +84,6 @@ curl 'https://api.bilibili.com/x/vip/privilege/my' \
|
|||||||
<details>
|
<details>
|
||||||
<summary>查看响应示例:</summary>
|
<summary>查看响应示例:</summary>
|
||||||
|
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"code": 0,
|
"code": 0,
|
||||||
@@ -84,46 +94,336 @@ curl 'https://api.bilibili.com/x/vip/privilege/my' \
|
|||||||
{
|
{
|
||||||
"type": 1,
|
"type": 1,
|
||||||
"state": 0,
|
"state": 0,
|
||||||
"expire_time": 1667231999,
|
"expire_time": 0,
|
||||||
"vip_type": 2,
|
"vip_type": 2,
|
||||||
"next_receive_days": 29,
|
"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,
|
"type": 2,
|
||||||
"state": 0,
|
"state": 0,
|
||||||
"expire_time": 1667231999,
|
"expire_time": 0,
|
||||||
"vip_type": 2,
|
"vip_type": 2,
|
||||||
"next_receive_days": 29,
|
"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,
|
"type": 3,
|
||||||
"state": 0,
|
"state": 0,
|
||||||
"expire_time": 1667231999,
|
"expire_time": 0,
|
||||||
"vip_type": 2,
|
"vip_type": 2,
|
||||||
"next_receive_days": 29,
|
"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,
|
"type": 4,
|
||||||
"state": 0,
|
"state": 0,
|
||||||
"expire_time": 1667231999,
|
"expire_time": 0,
|
||||||
"vip_type": 2,
|
"vip_type": 2,
|
||||||
"next_receive_days": 29,
|
"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,
|
"type": 5,
|
||||||
"state": 0,
|
"state": 0,
|
||||||
"expire_time": 1667231999,
|
"expire_time": 0,
|
||||||
"vip_type": 2,
|
"vip_type": 2,
|
||||||
"next_receive_days": 29,
|
"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_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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user