app.tempomusic.notification.getUnreadCount
Schema Diff
+14 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "app.tempomusic.notification.getUnreadCount:params" }
- AddedEdge AddedEdge { src: "app.tempomusic.notification.getUnreadCount", tgt: "app.tempomusic.notification.getUnreadCount:params", kind: "prop", name: Some("parameters") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.tempomusic.notification.getUnreadCount:params" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.tempomusic.notification.getUnreadCount", tgt: "app.tempomusic.notification.getUnreadCount:params", kind: "prop", name: Some("parameters") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Count of unread notifications for the requesting viewer. The viewer DID is read from the service-auth JWT (`iss` claim) — no `?viewer=` query parameter.",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"count": {
11
11
"description": "Number of notifications with indexedAt strictly newer than the recipient's stored seenAt (all notifications when seenAt is unset).",
12
12
"minimum": 0,
13
13
"type": "integer"
14
14
}
15
15
},
16
16
"required": [
17
17
"count"
18
18
],
19
19
"type": "object"
20
20
}
21
21
},
22
+
"parameters": {
23
+
"properties": {
24
+
"reasons": {
25
+
"description": "Reasons to include. Absent → post-liked, post-replied, reply-liked (the reasons that predate mentions, so clients unaware of newer reasons never receive a record they cannot decode). Unknown values are ignored; an empty set after filtering yields a count of 0.",
26
+
"items": {
27
+
"maxLength": 100,
28
+
"type": "string"
29
+
},
30
+
"maxLength": 10,
31
+
"type": "array"
32
+
}
33
+
},
34
+
"type": "params"
35
+
},
22
36
"type": "query"
23
37
}
24
38
},
25
39
"id": "app.tempomusic.notification.getUnreadCount",
26
40
"lexicon": 1
27
41
}