修改并补充折叠内容

This commit is contained in:
SocialSisterYi 2020-08-31 18:00:47 +08:00
parent cd410bb56d
commit c2d575543e
17 changed files with 168 additions and 32 deletions

View File

@ -49,6 +49,8 @@ APP方式
curl 'http://api.bilibili.com/x/credit/jury/apply'\
--data-urlencode 'access_key=xxx'
```
<details>
<summary>查看响应示例:</summary>
```json
{
@ -58,6 +60,8 @@ curl 'http://api.bilibili.com/x/credit/jury/apply'\
}
```
</details>
## 拉取新案件
> http://api.bilibili.com/x/credit/jury/caseObtain
@ -107,6 +111,9 @@ curl 'http://api.bilibili.com/x/credit/jury/caseObtain'\
--data-urlencode 'access_key=xxx'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -118,6 +125,8 @@ curl 'http://api.bilibili.com/x/credit/jury/caseObtain'\
}
```
</details>
## 进行仲裁投票
> http://api.bilibili.com/x/credit/jury/vote
@ -188,6 +197,9 @@ curl 'http://api.bilibili.com/x/credit/jury/vote'\
--data-urlencode 'apply_reason='
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -196,3 +208,4 @@ curl 'http://api.bilibili.com/x/credit/jury/vote'\
}
```
</details>

View File

@ -54,6 +54,9 @@ curl -G 'http://api.bilibili.com/x/credit/jury/jury'\
--data-urlencode 'access_key=xxx'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -70,6 +73,8 @@ curl -G 'http://api.bilibili.com/x/credit/jury/jury'\
}
```
</details>
## 统计信息
> http://api.bilibili.com/x/credit/jury/kpi
@ -140,6 +145,9 @@ curl -G 'http://api.bilibili.com/x/credit/jury/kpi'\
--data-urlencode 'access_key=xxx'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -168,6 +176,8 @@ curl -G 'http://api.bilibili.com/x/credit/jury/kpi'\
}
```
</details>
## 检查申请风纪委员会资格
> http://api.bilibili.com/x/credit/jury/requirement
@ -220,6 +230,9 @@ curl -G 'http://api.bilibili.com/x/credit/jury/requirement'\
--data-urlencode 'access_key=xxx'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -234,3 +247,4 @@ curl -G 'http://api.bilibili.com/x/credit/jury/requirement'\
}
```
</details>

View File

@ -89,6 +89,9 @@ curl -G 'http://api.bilibili.com/x/credit/jury/juryCase'\
--data-urlencode 'cid=1239790'\
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -125,6 +128,8 @@ curl -G 'http://api.bilibili.com/x/credit/jury/juryCase'\
}
```
</details>
## 查询案件众裁信息
> http://api.bilibili.com/x/credit/jury/caseInfo
@ -188,6 +193,9 @@ curl -G 'http://api.bilibili.com/x/credit/jury/juryCase'\
--data-urlencode 'cid=1239790'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -222,6 +230,8 @@ curl -G 'http://api.bilibili.com/x/credit/jury/juryCase'\
}
```
</details>
## 查询我的众裁记录
> http://api.bilibili.com/x/credit/jury/caseList
@ -309,6 +319,9 @@ curl -G 'http://api.bilibili.com/x/credit/jury/caseList'\
--data-urlencode 'pn=1'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -347,6 +360,8 @@ curl -G 'http://api.bilibili.com/x/credit/jury/caseList'\
}
```
</details>
## 众议观点
> http://api.bilibili.com/x/credit/jury/case/opinion
@ -412,6 +427,9 @@ curl -G 'http://api.bilibili.com/x/credit/jury/case/opinion'\
--data-urlencode 'pn=1'\
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -523,3 +541,4 @@ curl -G 'http://api.bilibili.com/x/credit/jury/case/opinion'\
}
```
</details>

View File

@ -14,9 +14,10 @@
`array`数组:
| 项 | 类型 | 内容 | 备注 |
| ---- | ---- | ---- | ---- |
| 0 | num | 1000 | |
| 项 | 类型 | 内容 | 备注 |
| ---- | ---- | ---- | ------------ |
| 0 | num | 1000 | 作用尚不明确 |
| 1 | num | 1015 | 作用尚不明确 |
**示例:**
@ -28,7 +29,7 @@
00000020 64 65 6f 3a 2f 2f 37 30 36 2f 33 37 32 34 37 32 |deo://706/372472|
00000030 33 22 2c 22 70 6c 61 74 66 72 6f 6d 22 3a 22 77 |3","platfrom":"w|
00000040 65 62 22 2c 22 61 63 63 65 70 74 73 22 3a 5b 31 |eb","accepts":[1|
00000050 30 30 30 5d 7d |000]}|
00000050 30 30 30 2c 31 30 31 35 5d 7d |000,1015]}|
```
## 认证包回复(下行)

View File

@ -47,6 +47,9 @@ curl 'http://comment.bilibili.com/144541892.xml'
--compressed -o 'danmaku.xml'
```
<details>
<summary>查看响应示例:</summary>
```xml
<?xml version="1.0" encoding="UTF-8"?>
<i>
@ -76,7 +79,7 @@ curl 'http://comment.bilibili.com/144541892.xml'
<i>
```
</details>
## 弹幕格式

View File

@ -127,6 +127,9 @@ curl -G 'http://api.bilibili.com/x/v2/dm/history'\
--compressed -o 'danmaku.xml'
```
<details>
<summary>查看响应示例:</summary>
```xml
<?xml version="1.0" encoding="UTF-8"?>
<i>
@ -155,4 +158,6 @@ curl -G 'http://api.bilibili.com/x/v2/dm/history'\
<d p="723.34800,1,25,16777215,1579622239,0,844fa9e7,27532609919123458">刘培强还行</d>
…………
<i>
```
```
</details>

View File

@ -198,8 +198,6 @@ curl 'http://api.live.bilibili.com/room/v1/Room/startLive'\
</details>
## 关闭直播
> http://api.live.bilibili.com/room/v1/Room/stopLive

View File

@ -29,6 +29,9 @@ curl 'http://passport.bilibili.com/login?act=exit'\
使用set-cookie删除了以上cookie项
<details>
<summary>查看响应示例:</summary>
```http
HTTP/1.1 200 OK
Date: Mon, 27 Jul 2020 13:42:21 GMT
@ -57,3 +60,5 @@ X-Cache-Webcdn: BYPASS from jd-sxhz-dx-w-01
Content-Encoding: gzip
```
</details>

View File

@ -55,6 +55,9 @@ TV端流程&逻辑:
curl 'http://passport.bilibili.com/qrcode/getLoginUrl'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -67,6 +70,8 @@ curl 'http://passport.bilibili.com/qrcode/getLoginUrl'
}
```
</details>
## 使用扫码登录web端
> http://passport.bilibili.com/qrcode/getLoginInfo
@ -115,6 +120,9 @@ curl "http://passport.bilibili.com/qrcode/getLoginInfo"\
当密钥正确时但未扫描时`status`为`false``data`为num值`-4`
<details>
<summary>查看响应示例:</summary>
```json
{
"status":false,
@ -123,8 +131,13 @@ curl "http://passport.bilibili.com/qrcode/getLoginInfo"\
}
```
</details>
扫描成功但手机端未确认时`status`为`false``data`为num值`-5`
<details>
<summary>查看响应示例:</summary>
```json
{
"status":false,
@ -133,8 +146,13 @@ curl "http://passport.bilibili.com/qrcode/getLoginInfo"\
}
```
</details>
扫描成功手机端确认登录后,`status`为`true``data`为对象并向浏览器写入cookie
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -146,10 +164,15 @@ curl "http://passport.bilibili.com/qrcode/getLoginInfo"\
}
```
</details>
**响应头部抓包信息:**
可明显看见设置了几个cookie填入浏览器即可成功登录
<details>
<summary>查看响应示例:</summary>
```http
HTTP/1.1 200 OK
Date: Wed, 04 Mar 2020 10:36:37 GMT
@ -167,6 +190,8 @@ Cache-Control: no-cache
X-Cache-Webcdn: BYPASS from ks-sxhz-dx-w-01
```
</details>
**游戏分站跨域登录url**
游戏分站跨域登录url与cookie的值一一对应可用于不方便设置cookie的场合提取使用
@ -234,6 +259,9 @@ curl 'http://passport.bilibili.com/x/passport-tv-login/qrcode/auth_code'\
--data-urlencode 'sign=e134154ed6add881d28fbdf68653cd9c'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -246,6 +274,8 @@ curl 'http://passport.bilibili.com/x/passport-tv-login/qrcode/auth_code'\
}
```
</details>
## 使用扫码登录TV端
> http://passport.bilibili.com/x/passport-tv-login/qrcode/poll
@ -301,6 +331,9 @@ curl 'http://passport.bilibili.com/x/passport-tv-login/qrcode/poll'\
--data-urlencode 'sign=87de3d0fee7c3f4facd244537238914e'\
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -315,3 +348,4 @@ curl 'http://passport.bilibili.com/x/passport-tv-login/qrcode/poll'\
}
```
</details>

View File

@ -50,6 +50,9 @@ web端短信登录流程
curl 'http://passport.bilibili.com/web/generic/country/list'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -84,6 +87,8 @@ curl 'http://passport.bilibili.com/web/generic/country/list'
}
```
</details>
## 发送短信验证码web端
> http://passport.bilibili.com/web/sms/general/v2/send
@ -131,6 +136,10 @@ curl 'http://passport.bilibili.com/web/sms/general/v2/send' \
--data-urlencode 'validate=666666'\
--data-urlencode 'seccode=666666|jordan'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -138,6 +147,8 @@ curl 'http://passport.bilibili.com/web/sms/general/v2/send' \
}
```
</details>
## 使用短信验证码登录web端
> http://passport.bilibili.com/web/login/rapid
@ -185,6 +196,10 @@ curl 'https://passport.bilibili.com/web/login/rapid'
--data-urlencode 'tel=13888888888'\
--data-urlencode 'smsCode=123456'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -195,10 +210,16 @@ curl 'https://passport.bilibili.com/web/login/rapid'
}
}
```
</details>
**响应头部抓包信息:**
可明显看见设置了几个cookie填入浏览器即可成功登录
<details>
<summary>查看响应示例:</summary>
```http
HTTP/1.1 200 OK
Date: Mon, 13 Jul 2020 09:57:33 GMT
@ -214,4 +235,6 @@ Expires: Mon, 13 Jul 2020 09:57:32 GMT
Cache-Control: no-cache
X-Cache-Webcdn: BYPASS from jd-sxhz-dx-w-01
```
```
</details>

View File

@ -27,6 +27,9 @@ web端密码登录流程
curl 'http://passport.bilibili.com/login?act=getkey'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"hash":"07c6501690c1af85",
@ -34,6 +37,8 @@ curl 'http://passport.bilibili.com/login?act=getkey'
}
```
</details>
## 获取加密公钥及密码盐值2APP端
> http://passport.bilibili.com/api/oauth2/getKey
@ -66,6 +71,9 @@ curl 'http://passport.bilibili.com/api/oauth2/getKey'\
--data-urlencode 'sign=17004c193f688f0b5665c1068e733aff'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"hash":"07c6501690c1af85",
@ -73,6 +81,8 @@ curl 'http://passport.bilibili.com/api/oauth2/getKey'\
}
```
</details>
## 登录密码的加密
**注RSA公钥一般为固定值**
@ -177,6 +187,9 @@ curl 'https://passport.bilibili.com/web/login/v2'\
--data-urlencode 'seccode=666666|jordan'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -186,10 +199,15 @@ curl 'https://passport.bilibili.com/web/login/v2'\
}
```
</details>
**响应头部抓包信息:**
可明显看见设置了几个cookie填入浏览器即可成功登录
<details>
<summary>查看响应示例:</summary>
```http
HTTP/1.1 200 OK
Date: Mon, 13 Jul 2020 06:56:00 GMT
@ -207,6 +225,8 @@ Cache-Control: no-cache
X-Cache-Webcdn: BYPASS from jd-sxhz-dx-w-01
```
</details>
**游戏分站跨域登录url**
游戏分站跨域登录url与cookie的值一一对应可用于不方便设置cookie的场合提取使用

View File

@ -53,6 +53,10 @@
```shell
curl 'https://passport.bilibili.com/web/captcha/combine?plat=6'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -68,6 +72,7 @@ curl 'https://passport.bilibili.com/web/captcha/combine?plat=6'
}
```
</details>
### 进行验证

View File

@ -420,8 +420,6 @@ curl -G 'http://api.bilibili.com/x/archive/desc'\
</details>
## 查询视频分P列表 (avID/bvID转CID)
> http://api.bilibili.com/x/player/pagelist

View File

@ -210,9 +210,6 @@ curl -G 'http://api.bilibili.com/x/stein/edgeinfo_v2'\
<details>
<summary>查看响应示例:</summary>
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -369,6 +366,4 @@ curl -G 'http://api.bilibili.com/x/stein/edgeinfo_v2'\
}
```
</details>
</details>

View File

@ -687,3 +687,22 @@ curl 'http://app.bilibili.com/x/v2/view/like/triple'\
--data-urlencode 'access_key=xxx'\
--data-urlencode 'aid=91003840'
```
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
"message": "0",
"ttl": 1,
"data": {
"like": true,
"coin": true,
"fav": true,
"multiply": 2
}
}
```
</details>

View File

@ -272,8 +272,6 @@ curl -G 'http://api.bilibili.com/pvideo'\
</details>
## 图片拼版
以160x90像素为一张横向10张纵向10张从左到右从上到下进行裁剪

View File

@ -206,9 +206,6 @@ curl -G 'http://api.bilibili.com/x/player/playurl'\
<details>
<summary>查看响应示例:</summary>
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -256,7 +253,6 @@ curl -G 'http://api.bilibili.com/x/player/playurl'\
}
```
</details>
</details>
**视频有分段时:**
@ -264,9 +260,6 @@ curl -G 'http://api.bilibili.com/x/player/playurl'\
<details>
<summary>查看响应示例:</summary>
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -347,8 +340,6 @@ curl -G 'http://api.bilibili.com/x/player/playurl'\
</details>
</details>
---
**dash方式**
@ -453,9 +444,6 @@ curl -G 'http://api.bilibili.com/x/player/playurl'\
<details>
<summary>查看响应示例:</summary>
<details>
<summary>查看响应示例:</summary>
```json
{
"code": 0,
@ -864,8 +852,6 @@ curl -G 'http://api.bilibili.com/x/player/playurl'\
</details>
</details>
## 视频的获取
将`data`.`durl`.`[1-n]`.`url`或`data`.`durl`.`[1-n]`.`backup_url`.`[0]`中的内容作为url进行GET操作, 如果有多个视频, 需要手动合并处理(注意转义符)