app.bivri.actor.getPreferences
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.defs#interestPreferences" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.getPreferences:output.interests" }
- AddedEdge AddedEdge { src: "app.bivri.actor.getPreferences:output", tgt: "app.bivri.actor.getPreferences:output.interests", kind: "prop", name: Some("interests") }
- AddedEdge AddedEdge { src: "app.bivri.actor.getPreferences:output.interests", tgt: "app.bivri.actor.defs#interestPreferences", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.bivri.actor.defs#interestPreferences" }AddedVertex { vertex_id: "app.bivri.actor.getPreferences:output.interests" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.bivri.actor.getPreferences:output", tgt: "app.bivri.actor.getPreferences:output.interests", kind: "prop", name: Some("interests") }
- Non-breaking: AddedEdge { src: "app.bivri.actor.getPreferences:output.interests", tgt: "app.bivri.actor.defs#interestPreferences", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Read the authenticated account's own preferences. Scoped to the caller and to nobody else: there is no parameter naming whose preferences to read, because one account's preferences are never another account's business. An account that has never set a preference reads the defaults rather than an absence, so a client has nothing to guess.",
6
6
"errors": [
7
7
{
8
8
"description": "Nobody is authenticated, so there are no preferences to read.",
9
9
"name": "Unauthenticated"
10
10
}
11
11
],
12
12
"output": {
13
13
"encoding": "application/json",
14
14
"schema": {
15
15
"properties": {
16
+
"interests": {
17
+
"description": "The caller's durable interest Tags. Optional on the wire because adding it to required would break clients of the published preference schema; an absent value means an older server, while a current server returns an empty array when no interests were stored.",
18
+
"ref": "app.bivri.actor.defs#interestPreferences",
19
+
"type": "ref"
20
+
},
16
21
"notifications": {
17
22
"ref": "app.bivri.actor.defs#notificationPreferences",
18
23
"type": "ref"
19
24
}
20
25
},
21
26
"required": [
22
27
"notifications"
23
28
],
24
29
"type": "object"
25
30
}
26
31
},
27
32
"type": "query"
28
33
}
29
34
},
30
35
"id": "app.bivri.actor.getPreferences",
31
36
"lexicon": 1
32
37
}