调整部分接口描述与错误修复 (#1088)

* fix(search/search_request.md): cookie buvid3

* feat(login/login_action/password.md): more sms desc

* fix: typo

* feat(live/info.md): add ps for getRoomBaseInfo

* fix(danmaku/action.md): broken form

* chore: Browserslist: caniuse-lite is outdated

* feat(comment/list.md): reply/wbi/main param next

* feat(misc/buvid3_4.md): get buvid3 only

* fix: broken links & wrong code type

* feat: close all img & br tags

* feat(login/cookie_refresh.md): missing demo links

* feat(dynamic/detail.md): /lottery_svr/v1/lottery_svr/lottery_notice

* fix(video/action.md): share cookie buvid3

* feat: deprecated stat & attribute

* feat(dynamic/detail.md): reaction

* feat(misc/sign/v_voucher.md): header

* feat(dynamic/detail.md): update detail params & example

* feat(APP_widget/ver.md): /x/v2/version

* feat(video/info.md): update view

* feat(docs/user.md): remove channel

* feat(search/search_request.md): search/type -1200

* feat(user/space.md): audio

* feat(video/player.md): /x/player/wbi/v2

* feat(audio/musicstream_url.md): update web/url

* feat(comment/readme.md): state

* fix(user/medal.md): wrong guard_level desc

* feat(live/message_stream.md): DANMU_MSG

* fix(user/medals): wrong guard_level & guard_icon desc

* feat(live/message_stream.md): format & add more 'cmd'

* feat(live/message_stream.md): add more 'cmd'

* feat(live/message_stream.md): add tips for non-login users

* feat(video/player.md): need_login_subtitle

---------

Co-authored-by: 社会易姐QwQ <45892418+SocialSisterYi@users.noreply.github.com>
This commit is contained in:
Session小胡
2024-09-19 23:17:33 +08:00
committed by GitHub
parent 2dbdcd884d
commit 1e24c6b188
32 changed files with 4207 additions and 2654 deletions

View File

@@ -843,13 +843,19 @@ curl 'https://app.bilibili.com/x/v2/view/like/triple' \
*请求方式POST*
鉴权方式: Cookie (buvid3)
**正文参数( application/x-www-form-urlencoded **
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| ------ | ---- | ------------------------- | ------------ | --------------------- |
| aid | num | 稿件 avid | 必要可选 | avid 与 bvid 任选一个 |
| bvid | str | 稿件 bvid | 必要可选 | avid 与 bvid任 选一个 |
| csrf | str | CSRF Token(位于 Cookie | 必要 | |
| aid | num | 稿件 aid | 必要 (可选) | aid 与 bvid 任选一个 |
| bvid | str | 稿件 bvid | 必要 (可选) | aid 与 bvid 任选一个 |
| csrf | str | CSRF Token (即 Cookie 中 bili_jct) | 必要 | |
| eab_x | num | 2 | 不必要 | 作用尚不明确 |
| ramval | num | 0 | 不必要 | 作用尚不明确 |
| source | str | web_normal | 不必要 | |
| ga | num | 1 | 不必要 | 可能与风控有关? |
**json回复**
@@ -857,12 +863,11 @@ curl 'https://app.bilibili.com/x/v2/view/like/triple' \
| 字段 | 类型 | 内容 | 备注 |
| ------- | ---- | ---------- | ------------------------------------------------------------------------- |
| code | num | 返回值 | 0成功<br />-101账号未登录<br />-111csrf校验失败<br />-400请求错误 |
| code | num | 返回值 | 0: 成功<br />-101: 账号未登录<br />-111: csrf校验失败<br />-400: 请求错误<br />403: 账号异常,操作失败<br />71000: 重复分享 |
| message | str | 错误信息 | 默认为0 |
| ttl | num | 1 | |
| data | num | 当前分享数 | |
**示例:**
分享视频`BV1oA411776z`

View File

@@ -40,7 +40,7 @@
| remark | str | 类型备注 | |
| ctime | str | | 意义不明 |
| mtime | str | | 意义不明 |
| controls | 拥有时array<br>没有时null | 详细信息填写提示 | |
| controls | 拥有时array<br />没有时null | 详细信息填写提示 | |
`controls`数组中的对象:

View File

@@ -4,6 +4,8 @@
## attribute字段值(稿件属性位)
该字段前端已弃用, 相关接口返回恒为 `0`, 参见 [验证视频属性字段实锤B站视频限流](https://shakaianee.top/archives/9/)
该字段为二进制标志位,多个标志请用`OR`运算叠加
| 位 | 内容 | 备注 |

View File

@@ -60,17 +60,24 @@
| cid | num | 视频1P cid | |
| dimension | obj | 视频1P分辨率 | |
| premiere | | null | |
| teenage_mode | num | | |
| teenage_mode | num | | 用于青少年模式 |
| is_chargeable_season | bool | | |
| is_story | bool | | |
| no_cache | bool | | 作用尚不明确 |
| is_story | bool | 是否可以在 Story Mode 展示? | |
| is_upower_exclusive | bool | 是否为充电专属 | |
| is_upower_pay | bool | | |
| is_upower_show | bool | | |
| no_cache | bool | 是否不允许缓存? | |
| pages | array | 视频分P列表 | |
| subtitle | obj | 视频CC字幕信息 | |
| staff | array | 合作成员列表 | 非合作视频无此项 |
| is_season_display | bool | | |
| user_garb | obj | 用户装扮信息 | |
| honor_reply | obj | | |
| like_icon | str | | |
| like_icon | str | 空串 | |
| need_jump_bv | bool | 需要跳转到BV号? | |
| disable_show_up_info | bool | 禁止展示UP主信息? | |
| is_story_play | bool | 是否为 Story Mode 视频? | |
| is_view_self | bool | 是否为自己投稿的视频? | |
| argue_info | obj | 争议/警告信息 | |
`data`中的`desc_v2`数组:
@@ -83,7 +90,7 @@
| 字段 | 类型 | 内容 | 备注 |
|----------|-----|------|-----|
| raw_text | str | 简介内容 |type=1时显示原文<br>type=2时显示'@'+raw_text+' '并链接至biz_id的主页|
| raw_text | str | 简介内容 |type=1时显示原文<br />type=2时显示'@'+raw_text+' '并链接至biz_id的主页|
| type | num | 类型 |1普通2@他人|
| biz_id | num |被@用户的mid|=0当type=1|
@@ -170,7 +177,7 @@
| 字段 | 类型 | 内容 | 备注 |
|--------------|-------|----------|-----|
| allow_submit | bool | 是否允许提交字幕 | |
| list | array | 字幕列表 | |
| list | array | 字幕列表 | 未登录为空 |
`subtitle`对象中的`list`数组:
@@ -233,7 +240,10 @@
|------------|-----|--------|---------------------------|
| type | num | 成员会员类型 | 0<br />1月会员<br />2年会员 |
| status | num | 会员状态 | 0<br />1有 |
| due_date | num | 到期时间 | UNIX 毫秒时间戳 |
| vip_pay_type | num | | |
| theme_type | num | 0 | |
| label | obj | | |
`staff`数组中的对象中的`official`对象:
@@ -343,20 +353,20 @@ curl -G 'https://api.bilibili.com/x/web-interface/view' \
},
"owner": {
"mid": 66606350,
"name": "Crazy_Bucket_陈楒潼",
"name": "陈楒潼桶桶桶",
"face": "https://i2.hdslb.com/bfs/face/c9af3b32cf74baec5a4b65af8ca18ae5ff571f77.jpg"
},
"stat": {
"aid": 85440373,
"view": 2353489,
"danmaku": 12026,
"reply": 2648,
"favorite": 58761,
"coin": 72088,
"share": 9539,
"view": 2387699,
"danmaku": 12146,
"reply": 2671,
"favorite": 58591,
"coin": 72578,
"share": 9598,
"now_rank": 0,
"his_rank": 55,
"like": 159350,
"like": 160683,
"dislike": 0,
"evaluation": "",
"vt": 0
@@ -379,6 +389,7 @@ curl -G 'https://api.bilibili.com/x/web-interface/view' \
"is_story": false,
"is_upower_exclusive": false,
"is_upower_play": false,
"is_upower_preview": false,
"enable_vt": 0,
"vt_display": "",
"no_cache": false,
@@ -400,44 +411,19 @@ curl -G 'https://api.bilibili.com/x/web-interface/view' \
],
"subtitle": {
"allow_submit": false,
"list": [
{
"id": 1061981378473780000,
"lan": "ai-zh",
"lan_doc": "中文(自动生成)",
"is_lock": false,
"subtitle_url": "",
"type": 1,
"id_str": "1061981378473779968",
"ai_type": 0,
"ai_status": 2,
"author": {
"mid": 0,
"name": "",
"sex": "",
"face": "",
"sign": "",
"rank": 0,
"birthday": 0,
"is_fake_account": 0,
"is_deleted": 0,
"in_reg_audit": 0,
"is_senior_member": 0
}
}
]
"list": []
},
"staff": [
{
"mid": 66606350,
"title": "UP主",
"name": "Crazy_Bucket_陈楒潼",
"name": "陈楒潼桶桶桶",
"face": "https://i2.hdslb.com/bfs/face/c9af3b32cf74baec5a4b65af8ca18ae5ff571f77.jpg",
"vip": {
"type": 2,
"status": 1,
"due_date": 1706112000000,
"vip_pay_type": 0,
"due_date": 1737820800000,
"vip_pay_type": 1,
"theme_type": 0,
"label": {
"path": "",
@@ -459,7 +445,11 @@ curl -G 'https://api.bilibili.com/x/web-interface/view' \
"avatar_subscript_url": "",
"tv_vip_status": 0,
"tv_vip_pay_type": 0,
"tv_due_date": 0
"tv_due_date": 0,
"avatar_icon": {
"icon_type": 1,
"icon_resource": {}
}
},
"official": {
"role": 1,
@@ -467,18 +457,18 @@ curl -G 'https://api.bilibili.com/x/web-interface/view' \
"desc": "",
"type": 0
},
"follower": 650859,
"follower": 629775,
"label_style": 0
},
{
"mid": 53456,
"title": "曲绘",
"name": "Warma",
"face": "https://i2.hdslb.com/bfs/face/c1bbee6d255f1e7fc434e9930f0f288c8b24293a.jpg",
"face": "https://i2.hdslb.com/bfs/face/87c0b7e4d3eedf04c458a82b9271013beaa4bc59.jpg",
"vip": {
"type": 2,
"status": 1,
"due_date": 1738339200000,
"due_date": 1770480000000,
"vip_pay_type": 0,
"theme_type": 0,
"label": {
@@ -501,7 +491,11 @@ curl -G 'https://api.bilibili.com/x/web-interface/view' \
"avatar_subscript_url": "",
"tv_vip_status": 1,
"tv_vip_pay_type": 1,
"tv_due_date": 1721145600
"tv_due_date": 1753286400,
"avatar_icon": {
"icon_type": 1,
"icon_resource": {}
}
},
"official": {
"role": 1,
@@ -509,13 +503,13 @@ curl -G 'https://api.bilibili.com/x/web-interface/view' \
"desc": "",
"type": 0
},
"follower": 4223581,
"follower": 4600968,
"label_style": 0
}
],
"is_season_display": false,
"user_garb": {
"url_image_ani_cut": "https://i0.hdslb.com/bfs/garb/item/311b29b795eb3f09ed0401a56eddf5c90b8fbfd6.bin"
"url_image_ani_cut": ""
},
"honor_reply": {
"honor": [
@@ -541,7 +535,9 @@ curl -G 'https://api.bilibili.com/x/web-interface/view' \
},
"like_icon": "",
"need_jump_bv": false,
"disable_show_up_info": false
"disable_show_up_info": false,
"is_story_play": 1,
"is_view_self": false
}
}
```

View File

@@ -4,44 +4,94 @@
web 播放器的信息接口,提供正常播放需要的元数据,包括:智能防挡弹幕、字幕、章节看点等。
> https://api.bilibili.com/x/player/wbi/v2
> https://api.bilibili.com/x/player/wbi/v2
> https://api.bilibili.com/x/player/v2
*请求方式GET*
**url 参数**
**URL参数:**
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| ------ | ---- | --------- | ----------- | ----------------- |
| aid | num | 稿件 avid | 必要 (可选) | aid 与 bvid 任选 |
| bvid | str | 稿件 bvid | 必要 (可选) | aid 与 bvid 任选 |
| cid | num | 稿件 cid | 必要 | |
| season_id | num | 番剧 season_id | 不必要 | |
| ep_id | num | 剧集 ep_id | 不必要 | |
| w_rid | str | WBI 签名 | 不必要 | |
| wts | num | 当前 unix 时间戳 | 不必要 | |
**json 回复**
**JSON回复:**
根对象
根对象:
| 字段 | 类型 | 内容 | 备注 |
| ------- | ---- | -------- | --------------------------- |
| code | num | 返回值 | 0成功<br />-400请求错误 |
| code | num | 返回值 | 0: 成功<br />-400: 请求错误 |
| message | str | 错误信息 | 默认为 0 |
| ttl | num | 1 | |
| data | obj | 数据本体 | |
`data` 对象
`data` 对象:
| 字段 | 类型 | 内容 | 备注 |
| --------- | ----- | -------- | ---- |
|aid | num | 视频 aid | |
|bvid | str | 视频 bvid | |
|cid | num | 视频 cid | |
|dm_mask | obj | | webmask 信息(如果没有这一项,说明这个视频没有防挡功能) |
|subtitle | obj | | 字幕信息(需要登录,不登录此项内容为 `[]` |
|view_points| array | | 章节看点信息 |
| 其他 | ... | | 主要是观看记录、使用者等级权限、背景音乐等信息 |
| aid | num | 视频 aid | |
| bvid | str | 视频 bvid | |
| allow_bp | bool | | |
| no_share | bool | 禁止分享? | |
| cid | num | 视频 cid | |
| dm_mask | obj | webmask 防挡字幕信息 | 若无则没有防挡功能 |
| subtitle | obj | 字幕信息 | 若无则没有字幕, 若不登陆则为空 |
| view_points | array | | 章节看点信息 |
| ip_info | obj | 请求 IP 信息 | |
| login_mid | num | 登录用户 mid | |
| login_mid_hash | str | | |
| is_owner | bool | 是否为该视频 UP 主 | |
| name | str | | |
| permission | num | | |
| level_info | obj | 登录用户等级信息 | |
| vip | obj | 登录用户 VIP 信息 | |
| answer_status | num | 答题状态 | |
| block_time | num | 封禁时间? | |
| role | str | | |
| last_play_time | num | 上次观看时间? | |
| last_play_cid | num | 上次观看 cid? | |
| now_time | num | 当前 UNIX 秒级时间戳 | |
| online_count | num | 在线人数 | |
| need_login_subtitle | bool | 是否必须登陆才能查看字幕 | 是的 |
| preview_toast | str | `为创作付费,购买观看完整视频|购买观看` | |
| options | obj | | |
| guide_attention | any | | |
| jump_card | any | | |
| operation_card | any | | |
| online_switch | obj | | |
| fawkes | obj | 播放器相关信息? | |
| show_switch | obj | | |
| bgm_info | obj | 背景音乐信息 | |
| toast_block | bool | | |
| is_upower_exclusive | bool | 充电专属? | |
| is_upower_play | bool | | |
| is_ugc_pay_preview | bool | | |
| elec_high_level | obj | | |
| disable_show_up_info | bool | | |
`dm_mask`对象(如果有):
`data` 对象中的 `options` 对象:
| 字段 | 类型 | 内容 | 备注 |
| ---- | ---- | --- | --- |
| is_360 | bool | 是否 360 全景视频 | |
| without_vip | bool | | |
`data` 对象中的 `bgm_info` 对象:
| 字段 | 类型 | 内容 | 备注 |
| --- | --- | --- | --- |
| music_id | str | 音乐 id | |
| music_title | str | 音乐标题 | |
| jump_url | str | 跳转 URL | |
`data` 对象中的 `dm_mask` 对象 (如果有):
| 字段 | 类型 | 内容 | 备注 |
| --------- | ----- | -------- | ---- |
@@ -53,7 +103,8 @@ web 播放器的信息接口,提供正常播放需要的元数据,包括:
解析 webmask 请看 [智能防挡弹幕](../danmaku/webmask.md)
`subtitle`对象
`data` 对象中的 `subtitle` 对象:
| 字段 | 类型 | 内容 | 备注 |
| --------- | ----- | -------- | ---- |
|allow_submit|bool | true | |
@@ -61,7 +112,7 @@ web 播放器的信息接口,提供正常播放需要的元数据,包括:
|lan_doc | str | "" | |
|subtitles| array | | 不登录为 `[]` |
`subtitles` 数组内的元素
`subtitle` 对象中的 `subtitles` 数组内的元素:
| 字段 | 类型 | 内容 | 备注 |
| --------- | ----- | -------- | ---- |
@@ -75,8 +126,8 @@ web 播放器的信息接口,提供正常播放需要的元数据,包括:
|subtitle_url|str| 资源 url 地址 | |
|type| num | 0 | |
`view_point` 数组内的元素:
`view_point` 数组内的元素:
| 字段 | 类型 | 内容 | 备注 |
| --------- | ----- | -------- | ---- |
| content | num | 章节名 | |
@@ -86,69 +137,299 @@ web 播放器的信息接口,提供正常播放需要的元数据,包括:
| imgUrl | str | 图片资源地址 | |
| logoUrl | str | "" | |
示例:
**示例:**
未登录, `aid=1906473802`
```shell
curl -G "https://api.bilibili.com/x/player/wbi/v2?aid=515345690&cid=825851971"
curl -G 'https://api.bilibili.com/x/player/wbi/v2' \
--url-query 'bvid=BV1MU411S7iJ' \
--url-query 'aid=1906473802' \
--url-query 'cid=1625992822'
```
```jsonc
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
"message": "0",
"ttl": 1,
"data": {
"aid": 515345690,
"bvid": "BV1Fg411D7Jy",
... // 省略
"dm_mask": {
"cid": 825851971,
"plat": 0,
"fps": 30,
"time": 0,
"mask_url": "//upos-sz-staticcos-cmask.bilivideo.com/cmaskboss/825851971_30_0.webmask?trid=219266863a1442baa05086b4285ba923B&orderid=0,1&logo=00000000"
},
"view_points": [
{
"type": 2,
"from": 0,
"to": 27,
"content": "狗啃的",
"imgUrl": "http://i0.hdslb.com/bfs/vchapter/825851971_0.jpg",
"logoUrl": ""
},
{
"type": 2,
"from": 27,
"to": 63,
"content": "椒牌泡菜",
"imgUrl": "http://i0.hdslb.com/bfs/vchapter/825851971_27.jpg",
"logoUrl": ""
}, ... // 省略
],
"subtitle": {
"allow_submit": true,
"lan": "",
"lan_doc": "",
"subtitles": [], // 未登录,下面是登录的版本
"subtitles":[
{
"id": 1042985852759993300,
"lan": "ai-zh",
"lan_doc": "中文(自动生成)",
"is_lock": false,
"subtitle_url": "//aisubtitle.hdslb.com/bfs/ai_subtitle/prod/5153456908258519712094280c7c2884b77929bab82f64530f?auth_key=1714795727-a8eb254b60bc4a73bc8662da51005340-0-1c305894e48e959979b163636461fb8f",
"type": 1,
"id_str": "1042985852759993344",
"ai_type": 0,
"ai_status": 2
}
]
}
}
"code": 0,
"message": "0",
"ttl": 1,
"data": {
"aid": 1906473802,
"bvid": "BV1MU411S7iJ",
"allow_bp": false,
"no_share": false,
"cid": 1625992822,
"max_limit": 1000,
"page_no": 1,
"has_next": false,
"ip_info": {
"ip": "104.28.152.138",
"zone_ip": " 10.163.150.25",
"zone_id": 29409280,
"country": "美国",
"province": "加利福尼亚州",
"city": "东洛杉矶"
},
"login_mid": 0,
"login_mid_hash": "",
"is_owner": false,
"name": "",
"permission": "0",
"level_info": {
"current_level": 0,
"current_min": 0,
"current_exp": 0,
"next_exp": 0,
"level_up": 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": false,
"img_label_uri_hans": "",
"img_label_uri_hant": "",
"img_label_uri_hans_static": "",
"img_label_uri_hant_static": ""
},
"avatar_subscript": 0,
"nickname_color": "",
"role": 0,
"avatar_subscript_url": "",
"tv_vip_status": 0,
"tv_vip_pay_type": 0,
"tv_due_date": 0,
"avatar_icon": {
"icon_resource": {}
}
},
"answer_status": 0,
"block_time": 0,
"role": "",
"last_play_time": 0,
"last_play_cid": 0,
"now_time": 1725002188,
"online_count": 1,
"need_login_subtitle": false,
"view_points": [],
"preview_toast": "为创作付费,购买观看完整视频|购买观看",
"options": {
"is_360": false,
"without_vip": false
},
"guide_attention": [],
"jump_card": [],
"operation_card": [],
"online_switch": {
"enable_gray_dash_playback": "500",
"new_broadcast": "1",
"realtime_dm": "1",
"subtitle_submit_switch": "1"
},
"fawkes": {
"config_version": 30787,
"ff_version": 21289
},
"show_switch": {
"long_progress": false
},
"bgm_info": {
"music_id": "MA436038343856245020",
"music_title": "Unwelcome school",
"jump_url": "https://music.bilibili.com/h5/music-detail?music_id=MA436038343856245020&cid=1625992822&aid=1906473802"
},
"toast_block": false,
"is_upower_exclusive": false,
"is_upower_play": false,
"is_ugc_pay_preview": false,
"elec_high_level": {
"privilege_type": 0,
"title": "",
"sub_title": "",
"show_button": false,
"button_text": "",
"jump_url": "",
"intro": "",
"new": false
},
"disable_show_up_info": false
}
}
```
</details>
已登陆, `aid=60977932`
```shell
curl -G 'https://api.bilibili.com/x/player/v2' \
--url-query 'aid=60977932' \
--url-query 'cid=106101299' \
-b 'SESSDATA=xxx'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
"message": "0",
"ttl": 1,
"data": {
"aid": 60977932,
"bvid": "BV1Jt411P77c",
"allow_bp": false,
"no_share": false,
"cid": 106101299,
"max_limit": 1000,
"page_no": 1,
"has_next": true,
"ip_info": {
"ip": "108.181.22.55",
"zone_ip": " 172.27.132.5",
"zone_id": 29409296,
"country": "美国",
"province": "加利福尼亚州",
"city": "洛杉矶"
},
"login_mid": 616368979,
"login_mid_hash": "445e7035",
"is_owner": false,
"name": "淡紫玲儿",
"permission": "10000,1001",
"level_info": {
"current_level": 3,
"current_min": 1500,
"current_exp": 2962,
"next_exp": 4500,
"level_up": -62135596800
},
"vip": {
"type": 1,
"status": 0,
"due_date": 1665417600000,
"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,
"avatar_icon": {
"icon_resource": {}
}
},
"answer_status": 0,
"block_time": 0,
"role": "0",
"last_play_time": 0,
"last_play_cid": 0,
"now_time": 1725003260,
"online_count": 1,
"need_login_subtitle": false,
"subtitle": {
"allow_submit": true,
"lan": "zh-CN",
"lan_doc": "中文(中国)",
"subtitles": [
{
"id": 13643112644608002,
"lan": "zh-Hans",
"lan_doc": "中文(简体)",
"is_lock": true,
"subtitle_url": "//aisubtitle.hdslb.com/bfs/subtitle/c49b18a284739d99df1e3723cdf72c0c82db98e0.json?auth_key=1725003260-5d0391a07f4f47f6960f60cf5045dff3-0-fc16c1f67a6b41edcb2a89d5e0c9bfdd",
"type": 0,
"id_str": "13643112644608002",
"ai_type": 0,
"ai_status": 0
},
{
"id": 13643200114196484,
"lan": "en-US",
"lan_doc": "英语(美国)",
"is_lock": true,
"subtitle_url": "//aisubtitle.hdslb.com/bfs/subtitle/2b38bc0f5d7671176964d4c3de441ed37568500c.json?auth_key=1725003260-5f709a74aa884751b77f86b6f6a48078-0-9b2fc3c18b99b1bf0cc7c7e63d18f686",
"type": 0,
"id_str": "13643200114196484",
"ai_type": 0,
"ai_status": 0
}
]
},
"view_points": [],
"preview_toast": "为创作付费,购买观看完整视频|购买观看",
"options": {
"is_360": false,
"without_vip": false
},
"guide_attention": [],
"jump_card": [],
"operation_card": [],
"online_switch": {
"enable_gray_dash_playback": "500",
"new_broadcast": "1",
"realtime_dm": "1",
"subtitle_submit_switch": "1"
},
"fawkes": {
"config_version": 30787,
"ff_version": 21289
},
"show_switch": {
"long_progress": false
},
"bgm_info": null,
"toast_block": false,
"is_upower_exclusive": false,
"is_upower_play": false,
"is_ugc_pay_preview": false,
"elec_high_level": {
"privilege_type": 0,
"title": "",
"sub_title": "",
"show_button": false,
"button_text": "",
"jump_url": "",
"intro": "",
"new": false
},
"disable_show_up_info": false
}
}
```
</details>
## 播放反馈
> https://app.bilibili.com/x/resource/laser2

View File

@@ -96,8 +96,8 @@ curl 'https://api.bilibili.com/x/v2/history/report' \
| w_video_duration | num | 参见请求正文同名无`w_`前缀参数 | 非必要 | 单位 秒 |
| w_last_play_progress_time | num | 参见请求正文同名无`w_`前缀参数 | 非必要 | 单位 秒 |
| web_location | num | 网页位置 | 非必要 | 视频详情页播放器: 1315873 |
| w_rid | num | WBI 签名 | 非必要 | 参见[WBI 签名](docs/misc/sign/wbi.md) |
| wts | num | UNIX 秒级时间戳 | 非必要 | 参见[WBI 签名](docs/misc/sign/wbi.md) |
| w_rid | num | WBI 签名 | 非必要 | 参见[WBI 签名](../misc/sign/wbi.md) |
| wts | num | UNIX 秒级时间戳 | 非必要 | 参见[WBI 签名](../misc/sign/wbi.md) |
**正文参数( application/x-www-form-urlencoded **
@@ -191,8 +191,8 @@ curl 'https://api.bilibili.com/x/click-interface/web/heartbeat' \
| w_stime | num | 开始播放时间戳? | 不必要 | UNIX 秒级时间戳 |
| w_type | num | 视频类型 | 不必要 | 见[上报视频播放心跳web端](#上报视频播放心跳web端) |
| web_location | num | 网页位置? | 不必要 | 1315873 |
| w_rid | num | WBI 签名 | 不必要 | 参见[WBI 签名](docs/misc/sign/wbi.md) |
| wts | num | UNIX 秒级时间戳 | 不必要 | 参见[WBI 签名](docs/misc/sign/wbi.md) |
| w_rid | num | WBI 签名 | 不必要 | 参见[WBI 签名](../misc/sign/wbi.md) |
| wts | num | UNIX 秒级时间戳 | 不必要 | 参见[WBI 签名](../misc/sign/wbi.md) |
**正文参数 (application/x-www-form-urlencoded):**

View File

@@ -1,9 +1,11 @@
# 视频状态数
本页接口均已失效
## 视频状态数仅avid
<details>
<summary>该接口已失效</summary>
<summary>该接口已弃用 (HTTP 403)</summary>
> https://api.bilibili.com/archive_stat/stat
@@ -87,6 +89,9 @@ curl -G 'https://api.bilibili.com/archive_stat/stat' \
## 视频状态数bvid/avid
<details>
<summary>该接口已失效 (HTTP 404)</summary>
> https://api.bilibili.com/x/web-interface/archive/stat
*请求方式GET*
@@ -201,3 +206,5 @@ curl -G 'https://api.bilibili.com/x/web-interface/archive/stat' \
```
</details>
</details>