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:
@@ -660,4 +660,197 @@ curl 'https://api.bilibili.com/x/member/web/sign/update' \
|
||||
|
||||
</details>
|
||||
|
||||
## 最近一周的经验记录
|
||||
|
||||
> https://api.bilibili.com/x/member/web/exp/log
|
||||
|
||||
*请求方式: GET*
|
||||
|
||||
认证方式: Cookie (SESSDATA)
|
||||
|
||||
**URL参数:**
|
||||
|
||||
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
|
||||
| ------ | ---- | ---------- | ------ | -------- |
|
||||
| jsonp | str | 回调函数名? | 非必要 | 默认 jsonp |
|
||||
| web_location | str | 网页位置? | 非必要 | 默认 333.33 |
|
||||
|
||||
**JSON回复:**
|
||||
|
||||
根对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ------- | ---- | -------- | ---- |
|
||||
| code | num | 返回值 | 0: 成功<br />-101: 账号未登录 |
|
||||
| message | str | 错误信息 | 默认为0 |
|
||||
| ttl | num | 1 | |
|
||||
| data | obj | 数据本体 | |
|
||||
|
||||
`data`对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ----- | ------ | ---------------- | ---- |
|
||||
| list | array | 经验记录条目列表 | |
|
||||
| count | num | 经验记录条目数 | |
|
||||
|
||||
`data`中的`list`数组:
|
||||
|
||||
| 项 | 类型 | 内容 | 备注 |
|
||||
| ---- | ---- | ----- | ---- |
|
||||
| 0 | obj | 记录1 | |
|
||||
| …… | obj | …… | …… |
|
||||
| n | obj | 记录(n+1) | |
|
||||
|
||||
`list`数组中的对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ------ | ---- | -------- | ---- |
|
||||
| delta | num | 经验值 | |
|
||||
| time | str | 记录时间 | 格式为 yyyy-MM-dd HH:mm:ss |
|
||||
| reason | str | 记录原因 | |
|
||||
|
||||
**示例:**
|
||||
|
||||
```shell
|
||||
curl -G "https://api.bilibili.com/x/member/web/exp/log" \
|
||||
-b "SESSDATA=xxx
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>查看响应示例:</summary>
|
||||
|
||||
```json
|
||||
{
|
||||
"code": 0,
|
||||
"message": "0",
|
||||
"ttl": 1,
|
||||
"data": {
|
||||
"list": [
|
||||
{
|
||||
"delta": 5,
|
||||
"time": "2024-07-27 15:08:23",
|
||||
"reason": "分享视频奖励"
|
||||
},
|
||||
{
|
||||
"delta": 5,
|
||||
"time": "2024-07-27 08:28:21",
|
||||
"reason": "登录奖励"
|
||||
},
|
||||
{
|
||||
"delta": 5,
|
||||
"time": "2024-07-27 08:28:21",
|
||||
"reason": "观看视频奖励"
|
||||
},
|
||||
{
|
||||
"delta": 5,
|
||||
"time": "2024-07-26 12:44:19",
|
||||
"reason": "登录奖励"
|
||||
},
|
||||
{
|
||||
"delta": 5,
|
||||
"time": "2024-07-26 12:44:19",
|
||||
"reason": "观看视频奖励"
|
||||
},
|
||||
{
|
||||
"delta": 20,
|
||||
"time": "2024-07-25 06:58:49",
|
||||
"reason": "视频投币奖励"
|
||||
},
|
||||
{
|
||||
"delta": 5,
|
||||
"time": "2024-07-25 06:58:30",
|
||||
"reason": "观看视频奖励"
|
||||
},
|
||||
{
|
||||
"delta": 5,
|
||||
"time": "2024-07-25 06:58:30",
|
||||
"reason": "登录奖励"
|
||||
},
|
||||
{
|
||||
"delta": 5,
|
||||
"time": "2024-07-23 18:47:48",
|
||||
"reason": "观看视频奖励"
|
||||
},
|
||||
{
|
||||
"delta": 5,
|
||||
"time": "2024-07-23 18:47:48",
|
||||
"reason": "登录奖励"
|
||||
}
|
||||
],
|
||||
"count": 10
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
## 最近一周的节操记录
|
||||
|
||||
> https://api.bilibili.com/x/member/web/moral/log
|
||||
|
||||
*请求方式: GET*
|
||||
|
||||
认证方式: Cookie (SESSDATA)
|
||||
|
||||
**URL参数:**
|
||||
|
||||
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
|
||||
| ------ | ---- | ---------- | ------ | -------- |
|
||||
| jsonp | str | 回调函数名? | 非必要 | 默认 jsonp |
|
||||
| web_location | str | 网页位置? | 非必要 | 默认 333.33 |
|
||||
|
||||
**JSON回复:**
|
||||
|
||||
根对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ------- | ---- | -------- | ---- |
|
||||
| code | num | 返回值 | 0: 成功<br />-101: 账号未登录 |
|
||||
| message | str | 错误信息 | 默认为0 |
|
||||
| ttl | num | 1 | |
|
||||
| data | obj | 数据本体 | |
|
||||
|
||||
`data`对象:
|
||||
|
||||
| 字段 | 类型 | 内容 | 备注 |
|
||||
| ----- | ------ | ---------------- | ---- |
|
||||
| moral | num | 节操值 | |
|
||||
| list | array | 记录条目列表 | |
|
||||
| count | num | 记录条目数 | |
|
||||
|
||||
`data`中的`list`数组:
|
||||
|
||||
| 项 | 类型 | 内容 | 备注 |
|
||||
| ---- | ---- | ----- | ---- |
|
||||
| 0 | obj | 记录1 | |
|
||||
| …… | obj | …… | …… |
|
||||
| n | obj | 记录(n+1) | |
|
||||
|
||||
`list`数组中的对象:
|
||||
|
||||
*表现良好暂时没有记录, 欢迎封号斗罗前来补充*
|
||||
|
||||
**示例:**
|
||||
|
||||
```shell
|
||||
curl -G "https://api.bilibili.com/x/member/web/moral/log" \
|
||||
-b "SESSDATA=xxx
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>查看响应示例:</summary>
|
||||
|
||||
```json
|
||||
{
|
||||
"code": 0,
|
||||
"message": "0",
|
||||
"ttl": 1,
|
||||
"data": {
|
||||
"moral": 70,
|
||||
"list": [],
|
||||
"count": 0
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
Reference in New Issue
Block a user