feat & fix: update docs & fix typo in issue template

This commit is contained in:
晨叶梦春
2025-04-26 02:02:17 +08:00
parent c07d4a3d93
commit dc3f6d64a7
5 changed files with 264 additions and 136 deletions

View File

@@ -1348,7 +1348,7 @@ curl 'https://api.bilibili.com/x/relation/modify' \
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| ---------- | ---- | ------------------------- | --------------- | ------------------------------------------------- |
| access_key | str | APP 登录 Token | APP 方式必要 | |
| fids | nums | 目标用户 mid 列表 | 必要 | 每个之间用`,`间隔 |
| fids | nums | 目标用户 mid 列表 | 必要 | 每个成员之间用 `,` 间隔,最多 50 个成员,不能包含自己的 mid |
| act | num | 操作代码 | 必要 | 同上<br />仅可为 1 或 5故只能进行批量关注和拉黑 |
| re_src | num | 关注来源代码 | 必要 | 同上 |
| csrf | str | CSRF Token位于 Cookie | Cookie 方式必要 | |
@@ -1485,13 +1485,15 @@ curl -G 'https://api.bilibili.com/x/relation' \
### 查询用户与自己关系(互相关系)
> https://api.bilibili.com/x/space/wbi/acc/relation
> 接口1https://api.bilibili.com/x/space/wbi/acc/relation
> 接口2https://api.bilibili.com/x/web-interface/relation
*请求方式GET*
认证方式CookieSESSDATA或 APP
鉴权方式:[Wbi 签名](../misc/sign/wbi.md)
鉴权方式仅接口1[Wbi 签名](../misc/sign/wbi.md)
~~该接口的旧版 API https://api.bilibili.com/x/space/acc/relation~~(已废弃,不建议使用)
@@ -1501,8 +1503,8 @@ curl -G 'https://api.bilibili.com/x/relation' \
| ---------- | ---- | ------------ | ----------- | ------------------------------------ |
| access_key | str | APP登录Token | APP方式必要 | |
| mid | num | 目标用户mid | 必要 | |
| w_rid | str | Wbi 签名 | 必要 | 详见 [Wbi 签名](../misc/sign/wbi.md) |
| wts | num | 当前时间戳 | 必要 | 详见 [Wbi 签名](../misc/sign/wbi.md) |
| w_rid | str | Wbi 签名 | 仅接口1必要 | 详见 [Wbi 签名](../misc/sign/wbi.md) |
| wts | num | 当前时间戳 | 仅接口1必要 | 详见 [Wbi 签名](../misc/sign/wbi.md) |
**json回复**