继续修改文档格式 补完TV端扫码登录

This commit is contained in:
SocialSisterYi
2020-07-18 23:56:10 +08:00
parent b8035da959
commit 57e130070f
36 changed files with 1158 additions and 386 deletions

View File

@@ -6,7 +6,9 @@
*请求方式GET*
使用登录SESSDATA进行会员专属及已购买表情包的分发否则为免费表情包
认证方式CookieSESSDATA
使用登录Cookie进行会员专属及已购买表情包的分发否则全为免费表情包
**url参数**
@@ -41,7 +43,11 @@
**示例:**
http://api.bilibili.com/x/emote/user/panel/web?business=reply
```shell
curl -G 'http://api.bilibili.com/x/emote/user/panel/web'\
--data-urlencode 'business=reply'\
-b 'SESSDATA=xxx'
```
```json
{
@@ -205,8 +211,6 @@
}
```
## 获取指定的表情包明细
> http://api.bilibili.com/x/emote/package
@@ -249,7 +253,11 @@
获取表情包ID为`93`的表情包明细
http://api.bilibili.com/x/emote/package?business=reply&ids=93
```shell
curl -G 'http://api.bilibili.com/x/emote/package'\
--data-urlencode 'ids=93'\
--data-urlencode 'business=reply'
```
```json
{
@@ -491,15 +499,13 @@
}
```
## 获取所有表情包列表
> http://api.bilibili.com/x/emote/setting/panel
*请求方式GET*
需要登录SESSDATA
认证方式CookieSESSDATA
**url参数**
@@ -551,14 +557,14 @@
**示例:**
http://api.bilibili.com/x/emote/setting/panel?business=reply
```shell
curl -G 'http://api.bilibili.com/x/emote/setting/panel'\
--data-urlencode 'business=reply'\
-b 'SESSDATA=xxx'
```
**限于篇幅,代码块示例略**
## 附表-表情包对象
| 字段 | 类型 | 内容 | 备注 |
@@ -620,4 +626,5 @@
| 字段 | 类型 | 内容 | 备注 |
| ----- | ---- | ------------ | ---------------- |
| size | num | 表情尺寸信息 | 1<br />2大 |
| alias | str | 简写名 | 无则无此项 |
| alias | str | 简写名 | 无则无此项 |