优化文档格式

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
+10 -3
View File
@@ -11,7 +11,8 @@
*方式:GET*
参数:
**参数:**
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| ------ | ---- | ------------------ | ------ | ----------------------------------- |
| aid | url | 视频avID | 非必要 | avID与bvID任选一个 |
@@ -21,6 +22,8 @@
**json回复:**
根对象:
| 字段 | 类型 | 内容 | 备注 |
| ------- | ---- | -------- | ------------------------------------------------ |
| code | num | 返回值 | 0:成功 <br />40001:请求错误<br />40003:无视频 |
@@ -57,7 +60,7 @@
| n | num | 图片n 截取时间 | 单位为秒 |
| …… | num | …… | 单位为秒 |
示例:
**示例:**
http://api.bilibili.com/x/player/videoshot?aid=26273789&index=1
@@ -90,12 +93,16 @@ http://api.bilibili.com/x/player/videoshot?aid=26273789&index=1
内容与「获取视频快照1」加参数「index」=1相同,但url带有转义,仅限第1P
**参数:**
| 参数名 | 类型 | 内容 | 必要性 | 备注 |
| ------ | ---- | -------- | ------ | ---- |
| aid | url | 视频avID | 必要 | |
**json回复:**
根对象:
| 字段 | 类型 | 内容 | 备注 |
| ------- | ---- | -------- | ---------------------------------------------- |
| code | num | 返回值 | 0:成功<br />40001:请求错误<br />-404:无视频 |
@@ -132,7 +139,7 @@ http://api.bilibili.com/x/player/videoshot?aid=26273789&index=1
| n | num | 图片n 截取时间 | 单位为秒 |
| …… | num | …… | 单位为秒 |
示例:
**示例:**
http://api.bilibili.com/pvideo?aid=26273789