app.bivri.notif.getNotifications
Schema Diff
+5 -1
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "app.bivri.notif.getNotifications#notificationView.reason", sort: "knownValues", old_value: "[\"like\",\"comment\",\"follow\"]", new_value: "[\"like\",\"comment\",\"follow\",\"commission_request\",\"commission_message\",\"commission_status\"]" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "app.bivri.notif.getNotifications#notificationView.reason", sort: "knownValues", old_value: "[\"like\",\"comment\",\"follow\"]", new_value: "[\"like\",\"comment\",\"follow\",\"commission_request\",\"commission_message\",\"commission_status\"]" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"output": {
6
6
"encoding": "application/json",
7
7
"schema": {
8
8
"properties": {
9
9
"cursor": {
10
10
"type": "string"
11
11
},
12
12
"notifications": {
13
13
"items": {
14
14
"ref": "#notificationView",
15
15
"type": "ref"
16
16
},
17
17
"type": "array"
18
18
}
19
19
},
20
20
"required": [
21
21
"notifications"
22
22
],
23
23
"type": "object"
24
24
}
25
25
},
26
26
"parameters": {
27
27
"properties": {
28
28
"cursor": {
29
29
"type": "string"
30
30
},
31
31
"limit": {
32
32
"default": 50,
33
33
"maximum": 100,
34
34
"minimum": 1,
35
35
"type": "integer"
36
36
}
37
37
},
38
38
"type": "params"
39
39
},
40
40
"type": "query"
41
41
},
42
42
"notificationView": {
43
43
"properties": {
44
44
"createdAt": {
45
45
"format": "datetime",
46
46
"type": "string"
47
47
},
48
48
"id": {
49
49
"type": "integer"
50
50
},
51
51
"indexedAt": {
52
52
"format": "datetime",
53
53
"type": "string"
54
54
},
55
55
"isRead": {
56
56
"type": "boolean"
57
57
},
58
58
"reason": {
59
59
"knownValues": [
60
60
"like",
61
61
"comment",
62
-
"follow"
62
+
"follow",
63
+
"commission_request",
64
+
"commission_message",
65
+
"commission_status"
63
66
],
64
67
"type": "string"
65
68
},
66
69
"sender": {
67
70
"ref": "app.bivri.actor.defs#profileView",
68
71
"type": "ref"
69
72
},
70
73
"subjectUri": {
74
+
"description": "What the notification points at. An Artwork's record URI for `like` and `comment`; absent for `follow`, whose sender is the subject. The three `commission_*` reasons carry `bivri://commission/<id>` — a commission is Bivri-local, not a repository record, and this format was published before one existed, so it cannot narrow; treat the scheme prefix as the discriminator.",
71
75
"format": "at-uri",
72
76
"type": "string"
73
77
}
74
78
},
75
79
"required": [
76
80
"id",
77
81
"reason",
78
82
"isRead",
79
83
"sender",
80
84
"createdAt",
81
85
"indexedAt"
82
86
],
83
87
"type": "object"
84
88
}
85
89
},
86
90
"description": "Get the authenticated member's notifications, paginated by cursor.",
87
91
"id": "app.bivri.notif.getNotifications",
88
92
"lexicon": 1
89
93
}