统一“id”为小写,并将“UID”改为“mid”,调整【视频属性数据】文档

This commit is contained in:
社会易姐QwQ
2021-07-12 21:31:27 +08:00
parent 3512adf59d
commit a7a743dffd
87 changed files with 1027 additions and 978 deletions

View File

@@ -207,9 +207,9 @@ X-Cache-Webcdn: BYPASS from ks-sxhz-dx-w-01
https://passport.biligame.com/crossDomain?
DedeUserID=(登录UID)&
DedeUserID=(登录mid)&
DedeUserID__ckMd5=(登录UID MD5值)&
DedeUserID__ckMd5=(登录mid MD5值)&
Expires=(过期时间 秒)&
@@ -236,7 +236,7 @@ gourl=(跳转网址 默认为主页)
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| -------- | ---- | ---------- | ----------- | ------------------------ |
| appkey | str | APP密钥 | APP方式必要 | 仅可用`4409e2ce8ffd12b8` |
| local_id | str | TV端ID | TV端必要 | 可为0 |
| local_id | str | TV端id | TV端必要 | 可为0 |
| ts | num | 当前时间戳 | APP方式必要 | |
| sign | str | APP签名 | APP方式必要 | |
@@ -303,7 +303,7 @@ curl 'http://passport.bilibili.com/x/passport-tv-login/qrcode/auth_code' \
| --------- | ---- | ---------- | ----------- | ------------------------ |
| appkey | str | APP密钥 | APP方式必要 | 仅可用`4409e2ce8ffd12b8` |
| auth_code | str | 扫码秘钥 | 必要 | |
| local_id | str | TV端ID | TV端必要 | 可为0 |
| local_id | str | TV端id | TV端必要 | 可为0 |
| ts | num | 当前时间戳 | APP方式必要 | |
| sign | str | APP签名 | APP方式必要 | |
@@ -322,7 +322,7 @@ curl 'http://passport.bilibili.com/x/passport-tv-login/qrcode/auth_code' \
| 字段 | 类型 | 内容 | 备注 |
| ------------- | ---- | ------------ | -------------------- |
| mid | num | 登录用户UID | |
| mid | num | 登录用户mid | |
| access_token | str | APP登录Token | |
| refresh_token | str | APP刷新Token | |
| expires_in | num | 有效时间 | 单位为秒 一般为30天 |

View File

@@ -131,7 +131,7 @@ curl 'http://passport.bilibili.com/web/generic/country/list'
**示例:**
例如手机号为`13888888888`,国际ID`1中国大陆`,登录秘钥为`aabbccdd`极验challenge为`2333`,极验结果为`666666`,进行发送短信验证码操作
例如手机号为`13888888888`,国际id`1中国大陆`,登录秘钥为`aabbccdd`极验challenge为`2333`,极验结果为`666666`,进行发送短信验证码操作
```shell
curl 'http://passport.bilibili.com/web/sms/general/v2/send' \

View File

@@ -183,7 +183,7 @@ YgpjxAQ22pKa9socHIKPCZX0a/NS6Ng9Zzy+rp16b0LJGT6RHw2ERs3+ijCpG96PKTY1Baavwf0xgotm
**需验证手机号或邮箱时**
| 字段 | 类型 | 内容 | 备注 |
| -------- | ---- | ------------------------ | ---------------- |
| mid | num | 用户UID | |
| mid | num | 用户mid | |
| tel | str | 绑定的手机号 | 星号隐藏部分信息 |
| email | str | 绑定的邮箱 | 星号隐藏部分信息 |
| sorce | num | 0 | **作用尚不明确** |
@@ -252,9 +252,9 @@ X-Cache-Webcdn: BYPASS from jd-sxhz-dx-w-01
https://passport.biligame.com/crossDomain?
DedeUserID=(登录UID)&
DedeUserID=(登录mid)&
DedeUserID__ckMd5=(登录UID MD5值)&
DedeUserID__ckMd5=(登录mid MD5值)&
Expires=(过期时间 秒)&

View File

@@ -12,7 +12,7 @@
人机验证流程:
1. 请求验证码参数,得到登录密钥`key`与极验ID`gt`和极验KEY`challenge`
1. 请求验证码参数,得到登录密钥`key`与极验id`gt`和极验KEY`challenge`
2. 进行滑动or点击验证
3. 返回验证结果`validate``seccode`,进行短信或密码登录
@@ -44,7 +44,7 @@
| 字段 | 类型 | 内容 | 备注 |
| -------- | ----- | ------ | -------- |
| success | num | 1 | **作用尚不明确** |
| gt | str | 极验ID | 一般为固定值 |
| gt | str | 极验id | 一般为固定值 |
| challenge | str | 极验KEY | 由B站后端产生用于人机验证 |
| key | str | 登录秘钥 | 与人机验证无关与登录接口有关但与极验KEY对应 |

View File

@@ -37,7 +37,7 @@
| email_verified | num | 是否验证邮箱地址 | 0未验证<br />1已验证 |
| face | str | 用户头像url | |
| level_info | obj | 等级信息 | |
| mid | num | 用户UID | |
| mid | num | 用户mid | |
| mobile_verified | num | 是否验证手机号 | 0未验证<br />1已验证 |
| money | num | 拥有硬币数 | |
| moral | num | 当前节操值 | 上限为70 |
@@ -106,7 +106,7 @@
| 字段 | 类型 | 内容 | 备注 |
| --------------- | ---- | ------------- | ------------ |
| mid | num | 登录用户UID | |
| mid | num | 登录用户mid | |
| bcoin_balance | num | 拥有B币数 | |
| coupon_balance | num | 每月奖励B币数 | |
| coupon_due_time | num | 0 | 作用尚不明确 |
@@ -313,7 +313,7 @@ curl 'http://account.bilibili.com/home/userInfo' \
| 字段 | 类型 | 内容 | 备注 |
| -------------- | ---- | ---------------- | ----------------------------- |
| mid | num | 用户UID | |
| mid | num | 用户mid | |
| name | str | 用户昵称 | |
| sign | str | 用户签名 | |
| coins | num | 拥有硬币数 | |

View File

@@ -16,7 +16,7 @@
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| ------ | ---- | ---------- | ------ | ------------------------------------------------------------ |
| mid | num | 用户UID | 必要 | |
| mid | num | 用户mid | 必要 | |
| buvid | str | 设备虚拟id | 非必要 | web端为操作登录接口时Cookie中的`buvid3`<br />若登录设备无`buvid`则留空 |
**json回复**
@@ -34,7 +34,7 @@
| 字段 | 类型 | 内容 | 备注 |
| ----------- | ---- | ----------- | -------------------------- |
| mid | num | 登录用户UID | |
| mid | num | 登录用户mid | |
| device_name | str | 登录设备 | 依靠操作登录接口时的UA决定 |
| login_type | str | 登录方式 | 根据登录接口决定 |
| login_time | str | 登录时间 | YYYY-MM-DD hh:mm:ss |
@@ -43,7 +43,7 @@
**示例:**
查询用户`293793435`设备ID`fuck_chenrui`的登录记录
查询用户`293793435`设备id`fuck_chenrui`的登录记录
```shell
curl -G 'http://api.bilibili.com/x/safecenter/login_notice' \

View File

@@ -41,7 +41,7 @@
| 字段 | 类型 | 内容 | 备注 |
| --------- | ---- | -------------- | --------------------------------------- |
| mid | num | 我的UID | |
| mid | num | 我的mid | |
| uname | str | 我的昵称 | |
| userid | str | 我的用户名 | |
| sign | str | 我的签名 | |
@@ -213,7 +213,7 @@ curl 'http://www.bilibili.com/plus/account/exp.php' \
| 字段 | 类型 | 内容 | 备注 |
| ------------ | ---- | ---------------- | ------------------------------------------------------------ |
| mid | num | 我的UID | |
| mid | num | 我的mid | |
| vip_type | num | 大会员类型 | 0<br />1月度<br />2年度 |
| vip_status | num | 大会员状态 | 1正常<br />2由于IP地址更换过于频繁,服务被冻结<br />3你的大会员账号风险过高大会员功能已被锁定 |
| vip_due_date | num | 大会员到期时间 | 时间戳 毫秒 |