继续修改文档格式 并添加频道相关

This commit is contained in:
SocialSisterYi
2020-07-17 23:50:28 +08:00
parent f272277d22
commit 05ca6b603a
51 changed files with 2582 additions and 1931 deletions

View File

@@ -13,7 +13,7 @@
## 申请二维码URL及扫码密钥
## 申请二维码URL及扫码密钥web端
> http://passport.bilibili.com/qrcode/getLoginUrl
@@ -59,7 +59,7 @@ curl 'http://passport.bilibili.com/qrcode/getLoginUrl'
}
```
## 使用扫码登录(验证扫码状态
## 使用扫码登录(web端
> http://passport.bilibili.com/qrcode/getLoginInfo
@@ -177,3 +177,44 @@ bili_jct=(csrf)&
gourl=(跳转网址 默认为主页)
## 申请二维码URL及扫码密钥TV端
> http://passport.bilibili.com/x/passport-tv-login/qrcode/auth_code
*请求方式POST*
鉴权方式appkey
密钥超时为180秒
**正文参数( application/x-www-form-urlencoded **
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| -------- | ---- | ---------- | ----------- | ----- |
| appkey | str | APP密钥 | APP方式必要 | |
| local_id | str | TV端ID | APP方式必要 | 可为0 |
| ts | num | 当前时间戳 | APP方式必要 | |
| sign | str | APP签名 | APP方式必要 | |
**json回复**
根对象:
| 字段 | 类型 | 内容 | 备注 |
| ------- | ---- | -------- | ------- |
| code | num | 返回值 | 0成功 |
| message | str | 错误信息 | 默认为0 |
| ttl | num | 1 | |
| data | obj | 信息本体 | |
`data`对象:
| 字段 | 类型 | 内容 | 备注 |
| -------- | ---- | ------------- | ---------- |
| url | str | 二维码内容url | 恒为87字符 |
| oauthKey | str | 扫码登录秘钥 | 恒为32字符 |
**示例:**

View File

@@ -40,6 +40,8 @@ curl 'http://passport.bilibili.com/login?act=getkey'
*请求方式POST*
鉴权方式appkey
**正文参数( application/x-www-form-urlencoded **
| 参数名 | 类型 | 内容 | 必要性 | 备注 |