app.tempomusic.notification.listNotifications
Schema Diff
+9 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Paginated notifications addressed to the requesting viewer, newest first. 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
"cursor": {
11
11
"description": "Cursor for fetching the next page. Absent when no further results are available.",
12
12
"maxLength": 1024,
13
13
"type": "string"
14
14
},
15
15
"notifications": {
16
16
"items": {
17
17
"ref": "app.tempomusic.notification.defs#notificationView",
18
18
"type": "ref"
19
19
},
20
20
"type": "array"
21
21
},
22
22
"seenAt": {
23
23
"description": "The server's currently persisted seenAt for this viewer. Absent when never set.",
24
24
"format": "datetime",
25
25
"type": "string"
26
26
}
27
27
},
28
28
"required": [
29
29
"notifications"
30
30
],
31
31
"type": "object"
32
32
}
33
33
},
34
34
"parameters": {
35
35
"properties": {
36
36
"cursor": {
37
37
"description": "Opaque pagination cursor returned by a previous call.",
38
38
"maxLength": 1024,
39
39
"type": "string"
40
40
},
41
41
"limit": {
42
42
"default": 50,
43
43
"description": "Maximum number of notifications to return.",
44
44
"maximum": 100,
45
45
"minimum": 1,
46
46
"type": "integer"
47
+
},
48
+
"reasons": {
49
+
"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 an empty page.",
50
+
"items": {
51
+
"maxLength": 100,
52
+
"type": "string"
53
+
},
54
+
"maxLength": 10,
55
+
"type": "array"
47
56
}
48
57
},
49
58
"type": "params"
50
59
},
51
60
"type": "query"
52
61
}
53
62
},
54
63
"id": "app.tempomusic.notification.listNotifications",
55
64
"lexicon": 1
56
65
}