atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.notification.getUnreadCount",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get count of unread notifications for the authenticated user.",
8 "parameters": {
9 "type": "params",
10 "properties": {
11 "seenAt": {
12 "type": "string",
13 "description": "Count notifications after this timestamp.",
14 "format": "datetime"
15 }
16 }
17 },
18 "output": {
19 "encoding": "application/json",
20 "schema": {
21 "type": "object",
22 "required": [
23 "count"
24 ],
25 "properties": {
26 "count": {
27 "type": "integer"
28 }
29 }
30 }
31 }
32 }
33 }
34}