优化文档格式

This commit is contained in:
社会易姐QwQ
2020-04-16 18:47:19 +08:00
parent a0c4316917
commit 4fd408f111
26 changed files with 303 additions and 149 deletions

View File

@@ -8,7 +8,7 @@
*方式GET*
参数:
**参数:**
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| ------ | ---- | -------- | ------ | ------------ |
@@ -18,6 +18,8 @@
**json回复**
根对象:
| 字段 | 类型 | 内容 | 备注 |
| ------- | ------------------------------- | -------- | ------------------------------------------------- |
| code | num | 返回值 | 0成功<br />-400请求错误<br />-101账号未登录 |
@@ -33,7 +35,7 @@
| n | str | 存在弹幕的日期(n+1) | yyyy-mm-dd |
| …… | str | …… | …… |
示例:
**示例:**
查询了cid为144541892的视频位于2020年1月中有历史弹幕记录的日期
@@ -83,7 +85,7 @@ http://api.bilibili.com/x/v2/dm/history/index?type=1&oid=144541892&month=2019-12
**使用deflate压缩注意解码**
参数:
**参数:**
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| ------ | ---- | -------- | ------ | ------------ |
@@ -91,7 +93,7 @@ http://api.bilibili.com/x/v2/dm/history/index?type=1&oid=144541892&month=2019-12
| oid | url | 视频CID | 必要 | |
| date | url | 弹幕日期 | 必要 | yyyy-mm-dd |
示例:
**示例:**
https://api.bilibili.com/x/v2/dm/history?type=1&oid=144541892&date=2020-01-21