feat: 各种接口补充与错误修正 (#1066)

* fix(video/collection.md): unclosed xml tags

* feat(video/report.md): uuid not really random

* feat: b23.tv short link

* feat: login/moral/exp log

* feat: v_voucher

* feat: upload video cover & post

* feat(creativecenter/upload.md): upload octet-stream

* feat(creativecenter/upload.md): update some notes

* feat(clientinfo/ip.md): another from live

* feat: live web heartbeat

* feat: update popular series & precious

* fix(creativecenter/upload.md): mistakes in example

* feat: merge duplicate fav info

* feat(README.md): missing link to webmask

* feat(search/hot.md): word_type

* feat(login/login_action): recovery old api

* feat(video/collection.md):  series operation

* feat: video season operation

* feat: add & mod some links

* feat(search/suggest.md): up to date

* feat: web home header image

* feat(misc/sign/bili_ticket.md): demo for nodejs

* feat(creativecenter/upload.md): x-upos-auth validity period

* feat: add referer & buvid3 to request header

* feat: customer service message heartbeat & upload

* feat(customerservice/msg.md): upload code 1200201

* feat(video/report.md): click/web/h5

* feat(video/report.md): view count desc

* feat: laser2

* feat: wbi_key in bili_ticket

* fix: typo & unclosed XML tags

* feat(misc/sign/v_voucher): cookie x-bili-gaia-vtoken

* feat(search/hot.md): square

* feat(video/status_number.md): fold archive_stat/stat

* feat(fav/info.md): resource/infos invalid type 21

* feat: /x/activity/subject/info

* feat: lottery

* feat(docs/misc/b23.tv): remove some unnecessary fields

* feat(creativecenter/upload.md): types/predict

* fix(video/collection.md): invalid end tag

* feat: app version upgrade

* feat(creativecenter/upload.md): tag/recommend #528

* feat(user/status_number.md): navnum

* feat: /x/activity/page/list

* feat(comment/list.md): desc about pagination_str

* feat(comment/list.md): update example

* feat(dynamic/all.md): #1082

* fix(comment/list.md): -352 not -412

* feat: #700

* feat(video/video_stream.md): #606 & cv949156

* feat(message/private_msg.md): single_unread freq

* feat: getUserWallet

* fix: broken form

* feat(Layout.vue): copyright to 2024

* feat: /x/topic/pub/rcmd/search

* feat: #425

* feat(misc/time_stamp.md): rtc/getTimestamp

* fix(misc/time_stamp.md): missing end tag

* feat: #745

* feat(dynamic/all.md): update feed/all

* feat(danmaku/action.md): #220

* feat(live/info.md): gethistory from cv8186413

* fix(danmaku/action.md): missing end tag
This commit is contained in:
Session小胡
2024-08-21 19:02:39 +08:00
committed by GitHub
parent f7599fb693
commit 60a0c5d1a2
46 changed files with 18489 additions and 8207 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -4,12 +4,7 @@
> https://api.bilibili.com/x/web-interface/popular/precious
**url参数**
| 字段 | 类型 | 内容 | 必要性 | 备注 |
| --------- | ---- | -------- | ----- | ----- |
| page | num | 页码 | 非必要 | 默认为`1` |
| page_size | num | 每页数量 | 非必要 | 默认为`85` |
*请求方式GET*
**json回复**
@@ -26,130 +21,107 @@
| 字段 | 类型 | 内容 | 备注 |
| - | - | - | - |
| title | string | 标题 | 入站必刷 |
| media_id | int | media_id | |
| explain | string | 解释(概括)| 我不允许还有人没看过这85个宝藏视频! |
| list | list | 列表 | |
| title | str | 标题 | 入站必刷 |
| media_id | num | media_id | |
| explain | str | 解释(概括)| 我不允许还有人没看过这??个宝藏视频! |
| list | array | 列表 | |
`data` 中的 `list` 字段:
`data`中的`list`数组中的对象:
| 字段 | 类型 | 内容 | 备注 |
| - | - | - | - |
| aid | int | aid | |
| videos | int | 视频数? | |
| tid | int | 分区 id | |
| tname | string | 分区名称 | |
| copyright | int | 版权 | |
| pic | url | 封面 url | |
| title | string | 标题 | |
| pubdate | int | 发布时间 | 时间戳 |
| ctime | int | 暂不清楚 | 时间戳 |
| desc | string | 简介 | |
| state | int | 暂不清楚 | |
| duration | int | 视频时长 | 单位为秒 |
| mission_id | int | 暂不清楚 | |
| rights | dict | 暂不清楚 | 好像没啥么用 |
| owner | dict | 作者 | |
| stat | dict | 状态 | |
| dynamic | string | 动态发布时写的文字 | |
| cid | int | cid | |
| dimension | dict | 视频的一些属性 | |
| season_id | int | 暂不清楚 | |
| short_link | string | 短链 | |
| short_link_v2 | string | 短链 | 第二版 |
| bvid | string | bvid | |
| season_type | int | 分区 tid? | |
| is_ogv | bool | 暂不清楚 | |
| ogv_info | dict/null? | 暂不清楚 | |
| rcmd_reason | string? | 暂不清楚 | |
| achievement | string | 荣誉概述 | |
基本同[获取视频详细信息web端](../video/info.md#获取视频详细信息web端)中的data对象
**示例:**
``` shell
curl -G 'https://api.bilibili.com/x/web-interface/popular/precious'
```
<details>
<summary>查看响应事例:</summary>
``` json
<details>
<summary>查看响应示例:</summary>
```jsonc
{
"code":0,
"message":"0",
"ttl":1,
"data":{
"title":"入站必刷",
"media_id":496307088,
"explain":"我不允许还有人没看过这85个宝藏视频!",
"list":[
{
"aid":715024588,
"videos":1,
"tid":233,
"tname":"极客DIY",
"copyright":1,
"pic":"http://i1.hdslb.com/bfs/archive/55ce9a4d1797ec56a0d4ed727f1a279b89ec3664.jpg",
"title":"【才浅】15天花20万元用500克黄金敲数万锤纯手工打造三星堆黄金面具",
"pubdate":1618207101,
"ctime":1618207101,
"desc":"倾家荡产求三连支持!!!请大家帮忙给新系列想个名字,点赞一百万的话制作三星堆黄金权杖,不会真的可以点到一百万吧\nbgm:\n-Old-B - 【Free Beat】侠之道 、于剑飞 - 01 片头曲 帝陵、AniFace - 夜辞秋江",
"state":0,
"duration":717,
"mission_id":16881,
"rights":{
"bp":0,
"elec":0,
"download":0,
"movie":0,
"pay":0,
"hd5":0,
"no_reprint":1,
"autoplay":1,
"ugc_pay":0,
"is_cooperation":0,
"ugc_pay_preview":0,
"no_background":0,
"arc_pay":0,
"pay_free_watch":0
},
"owner":{
"mid":2200736,
"name":"才疏学浅的才浅",
"face":"http://i2.hdslb.com/bfs/face/1f4819b224cd882025a9a6a5f2c6680c332f37bc.jpg"
},
"stat":{
"aid":715024588,
"view":13833908,
"danmaku":215105,
"reply":39792,
"favorite":619513,
"coin":2484204,
"share":122302,
"now_rank":0,
"his_rank":1,
"like":2338710,
"dislike":0
},
"dynamic":"倾家荡产求三连!!",
"cid":323723441,
"dimension":{
"width":1920,
"height":1080,
"rotate":0
},
"season_id":19992,
"short_link":"https://b23.tv/BV16X4y1g7wT",
"short_link_v2":"https://b23.tv/BV16X4y1g7wT",
"bvid":"BV16X4y1g7wT",
"season_type":0,
"is_ogv":false,
"ogv_info":null,
"rcmd_reason":"",
"achievement":"央视新华社点赞,博物馆喊话来上班!"
},
...
]
}
"code": 0,
"message": "0",
"ttl": 1,
"data": {
"title": "入站必刷",
"media_id": 496307088,
"explain": "我不允许还有人没看过这98个宝藏视频",
"list": [
// ...
{
"aid": 706,
"videos": 1,
"tid": 47,
"tname": "同人·手书",
"copyright": 2,
"pic": "http://i1.hdslb.com/bfs/archive/753453a776fca838165a52c7511e8557857b61ea.jpg",
"title": "【東方】Bad Apple!! PV【影絵】",
"pubdate": 1256995125,
"ctime": 1497344829,
"desc": "sm8628149 2011/9/25追记大家如果看到空耳字幕请果断举报净化弹幕环境你我有责感谢。",
"state": 0,
"duration": 219,
"rights": {
"bp": 0,
"elec": 0,
"download": 0,
"movie": 0,
"pay": 0,
"hd5": 0,
"no_reprint": 0,
"autoplay": 1,
"ugc_pay": 0,
"is_cooperation": 0,
"ugc_pay_preview": 0,
"no_background": 0,
"arc_pay": 0,
"pay_free_watch": 0
},
"owner": {
"mid": 37,
"name": "折射",
"face": "http://i1.hdslb.com/bfs/face/49d19d3d9cc4b3938128cacd650859ac612156a1.gif"
},
"stat": {
"aid": 706,
"view": 11329388,
"danmaku": 82247,
"reply": 544932,
"favorite": 502984,
"coin": 195079,
"share": 95877,
"now_rank": 0,
"his_rank": 88,
"like": 480388,
"dislike": 0,
"vt": 0,
"vv": 11329388
},
"dynamic": "",
"cid": 3724723,
"dimension": {
"width": 480,
"height": 360,
"rotate": 0
},
"season_id": 879555,
"short_link_v2": "https://b23.tv/BV1xx411c79H",
"cover43": "",
"bvid": "BV1xx411c79H",
"season_type": 0,
"is_ogv": false,
"ogv_info": null,
"rcmd_reason": "",
"enable_vt": 0,
"ai_rcmd": null,
"achievement": "东方project标志性视频"
},
// ...
]
}
}
```
</details>