返回提交历史
Modified
docs/message/msg.md
+20
-20
XFEstudio/bilibili-API-collect
style(message): wrap URL with brackets & replace tabs with spaces
e7ff12f
代码差异
1 个文件
+20
-20
@@ -2,9 +2,9 @@
2
2
3
3
## 获取未读消息数
4
4
5
> https://api.bilibili.com/x/msgfeed/unread
5
> <https://api.bilibili.com/x/msgfeed/unread>
6
6
7
> https://api.vc.bilibili.com/x/im/web/msgfeed/unread (新接口)
7
> <https://api.vc.bilibili.com/x/im/web/msgfeed/unread> (新接口)
8
8
9
9
*请求方式:GET*
10
10
@@ -53,7 +53,7 @@
53
53
54
54
```shell
55
55
curl 'https://api.vc.bilibili.com/x/im/web/msgfeed/unread' \
56
-b 'SESSDATA=xxx'
56
-b 'SESSDATA=xxx'
57
57
```
58
58
59
59
<details>
@@ -61,23 +61,23 @@ curl 'https://api.vc.bilibili.com/x/im/web/msgfeed/unread' \
61
61
62
62
```json
63
63
{
64
"code": 0,
65
"message": "0",
66
"ttl": 1,
67
"data": {
68
"at": 3,
69
"chat": 0,
70
"coin": 0,
71
"danmu": 0,
72
"favorite": 0,
73
"like": 10,
74
"recv_like": 10,
75
"recv_reply": 4,
76
"reply": 4,
77
"sys_msg": 2,
78
"sys_msg_style": 1,
79
"up": 1
80
}
64
"code": 0,
65
"message": "0",
66
"ttl": 1,
67
"data": {
68
"at": 3,
69
"chat": 0,
70
"coin": 0,
71
"danmu": 0,
72
"favorite": 0,
73
"like": 10,
74
"recv_like": 10,
75
"recv_reply": 4,
76
"reply": 4,
77
"sys_msg": 2,
78
"sys_msg_style": 1,
79
"up": 1
80
}
81
81
}
82
82
```
83
83