Merge remote-tracking branch 'upstream/master' into patch-1

This commit is contained in:
wuziqian211
2024-04-11 02:29:46 +08:00
3 changed files with 11 additions and 7 deletions

View File

@@ -4,7 +4,9 @@
> https://api.bilibili.com/x/ugcpay-rank/elec/month/up > https://api.bilibili.com/x/ugcpay-rank/elec/month/up
*请求方式:GET* *请求方式GET*
本接口需要在请求标头中提供有效的浏览器 UA`Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36`
**url参数** **url参数**
@@ -70,6 +72,7 @@
```shell ```shell
curl -G 'https://api.bilibili.com/x/ugcpay-rank/elec/month/up' \ curl -G 'https://api.bilibili.com/x/ugcpay-rank/elec/month/up' \
-A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' \
--data-urlencode 'up_mid=53456' --data-urlencode 'up_mid=53456'
``` ```
@@ -438,9 +441,9 @@ curl -G 'https://pay.bilibili.com/bk/brokerage/listForCustomerRechargeRecord' \
**url参数** **url参数**
| 参数名 | 类型 | 内容 | 必要性 | 备注 | | 参数名 | 类型 | 内容 | 必要性 | 备注 |
| -------- | ---- | -------- | ------ | -------------------------------- | | -------- | ---- | -------- | ------ | ---------------- |
| pn | num | 页数 | 非必要 | | | pn | num | 页数 | 非必要 | |
| ps | num | 分页大小 | 非必要 | 取值范围[1,20] | | ps | num | 分页大小 | 非必要 | 取值范围\[1,20\] |
**json回复** **json回复**

View File

@@ -31,6 +31,7 @@
| ---- | --------------------- | | ---- | --------------------- |
| -304 | 木有改动 | | -304 | 木有改动 |
| -307 | 撞车跳转 | | -307 | 撞车跳转 |
| -352 | 风控校验失败 (UA 或 wbi 参数不合法) |
| -400 | 请求错误 | | -400 | 请求错误 |
| -401 | 未认证 (或非法请求) | | -401 | 未认证 (或非法请求) |
| -403 | 访问权限不足 | | -403 | 访问权限不足 |

View File

@@ -18,7 +18,7 @@
| 参数名 | 类型 | 内容 | 必要性 | 备注 | | 参数名 | 类型 | 内容 | 必要性 | 备注 |
| ------ | ---- | ----------- | ------ | ------------------------------------- | | ------ | ---- | ----------- | ------ | ------------------------------------- |
| rid | num | 目标分区tid | 非必要 | 可参考[视频分区一览](../video/video_zone.md#视频分区一览),只支持主分区 | | tid | num | 目标分区tid | 非必要 | 可参考[视频分区一览](../video/video_zone.md#视频分区一览),只支持主分区 |
| type | str | 未知 | 非必要 | 默认为all且为目前唯一已知值。怀疑为稿件类型但没有找到其他值佐证。 | | type | str | 未知 | 非必要 | 默认为all且为目前唯一已知值。怀疑为稿件类型但没有找到其他值佐证。 |
**json回复** **json回复**