添加若干评论区明细 表情包明细 等等

This commit is contained in:
SocialSisterYi
2020-06-21 13:16:31 +08:00
parent 70e2afd3ed
commit e0d5830da7
12 changed files with 7175 additions and 126 deletions

54
message/msg.md Normal file
View File

@@ -0,0 +1,54 @@
# 通知消息
**本页所有操作均需登录SESSDATA**
## 未读消息数
> http://api.bilibili.com/x/msgfeed/unread
*方式GET*
**json回复**
根对象:
| 字段 | 类型 | 内容 | 备注 |
| ------- | ---- | -------- | ----------------------------- |
| code | num | 返回值 | 0成功<br />-101账号未登录 |
| message | str | 错误信息 | 默认为0 |
| ttl | num | 1 | 作用尚不明确 |
| data | obj | 信息本体 | |
data 对象:
| 字段 | 类型 | 内容 | 备注 |
| ------- | ---- | -------------- | ------------ |
| at | num | 未读at数 | |
| chat | num | 0 | 作用尚不明确 |
| like | num | 未读点赞数 | |
| reply | num | 未读回复数 | |
| sys_msg | num | 未读系统通知数 | |
| up | num | 0 | 作用尚不明确 |
**示例:**
以下信息代表了未读点赞数为`10`,未读回复数为`3`未读at消息数为`1`,未读系统通知数为`1`
http://api.bilibili.com/x/msgfeed/unread
```json
{
"code": 0,
"message": "0",
"ttl": 1,
"data": {
"at": 1,
"chat": 0,
"like": 10,
"reply": 3,
"sys_msg": 1,
"up": 0
}
}
```

48
message/private_msg.md Normal file
View File

@@ -0,0 +1,48 @@
# 私信
**本页所有操作均需登录SESSDATA**
## 未读私信数
> http://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread
*方式GET*
**json回复**
根对象:
| 字段 | 类型 | 内容 | 备注 |
| ------- | ---- | -------- | --------------------------- |
| code | num | 返回值 | 0成功<br />-6账号未登录 |
| message | str | 错误信息 | 默认为ok |
| ttl | num | 1 | 作用尚不明确 |
| data | obj | 信息本体 | |
data 对象:
| 字段 | 类型 | 内容 | 备注 |
| --------------- | ---- | -------------------- | ------------ |
| unfollow_unread | num | 未关注用户未读私信数 | |
| follow_unread | num | 已关注用户未读私信数 | |
| _gt_ | num | 0 | 作用尚不明确 |
**示例:**
以下信息代表了为未关注用户未读私信数为`10`条,已关注用户未读私信数为`3`
http://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread
```json
{
"code": 0,
"msg": "ok",
"message": "ok",
"data": {
"unfollow_unread": 1,
"follow_unread": 6,
"_gt_": 0
}
}
```