app.bivri.actor.getPreferences
Schema Diff
+20 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 16 non-breaking changes.
Non-Breaking Changes (16)
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.defs#contentFilterPreferences" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.defs#interestPreferences" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.defs#mutedTagPreferences" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.defs#mutedWordPreferences" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.getPreferences:output.contentFilters" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.getPreferences:output.interests" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.getPreferences:output.mutedTags" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.getPreferences:output.mutedWords" }
- AddedEdge AddedEdge { src: "app.bivri.actor.getPreferences:output", tgt: "app.bivri.actor.getPreferences:output.contentFilters", kind: "prop", name: Some("contentFilters") }
- 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", tgt: "app.bivri.actor.getPreferences:output.mutedTags", kind: "prop", name: Some("mutedTags") }
- AddedEdge AddedEdge { src: "app.bivri.actor.getPreferences:output", tgt: "app.bivri.actor.getPreferences:output.mutedWords", kind: "prop", name: Some("mutedWords") }
- AddedEdge AddedEdge { src: "app.bivri.actor.getPreferences:output.contentFilters", tgt: "app.bivri.actor.defs#contentFilterPreferences", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "app.bivri.actor.getPreferences:output.interests", tgt: "app.bivri.actor.defs#interestPreferences", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "app.bivri.actor.getPreferences:output.mutedTags", tgt: "app.bivri.actor.defs#mutedTagPreferences", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "app.bivri.actor.getPreferences:output.mutedWords", tgt: "app.bivri.actor.defs#mutedWordPreferences", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.bivri.actor.defs#contentFilterPreferences" }AddedVertex { vertex_id: "app.bivri.actor.defs#interestPreferences" }AddedVertex { vertex_id: "app.bivri.actor.defs#mutedTagPreferences" }AddedVertex { vertex_id: "app.bivri.actor.defs#mutedWordPreferences" }AddedVertex { vertex_id: "app.bivri.actor.getPreferences:output.contentFilters" }AddedVertex { vertex_id: "app.bivri.actor.getPreferences:output.interests" }AddedVertex { vertex_id: "app.bivri.actor.getPreferences:output.mutedTags" }AddedVertex { vertex_id: "app.bivri.actor.getPreferences:output.mutedWords" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.bivri.actor.getPreferences:output", tgt: "app.bivri.actor.getPreferences:output.contentFilters", kind: "prop", name: Some("contentFilters") }
- 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", tgt: "app.bivri.actor.getPreferences:output.mutedTags", kind: "prop", name: Some("mutedTags") }
- Non-breaking: AddedEdge { src: "app.bivri.actor.getPreferences:output", tgt: "app.bivri.actor.getPreferences:output.mutedWords", kind: "prop", name: Some("mutedWords") }
- Non-breaking: AddedEdge { src: "app.bivri.actor.getPreferences:output.contentFilters", tgt: "app.bivri.actor.defs#contentFilterPreferences", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "app.bivri.actor.getPreferences:output.interests", tgt: "app.bivri.actor.defs#interestPreferences", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "app.bivri.actor.getPreferences:output.mutedTags", tgt: "app.bivri.actor.defs#mutedTagPreferences", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "app.bivri.actor.getPreferences:output.mutedWords", tgt: "app.bivri.actor.defs#mutedWordPreferences", 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
+
"contentFilters": {
17
+
"description": "How the caller wants self-labelled Artwork presented. Optional on the wire for the same reason as interests; a current server always returns it, with suggestive and spoiler set to blur and the AI labels set to show when nothing was stored.",
18
+
"ref": "app.bivri.actor.defs#contentFilterPreferences",
19
+
"type": "ref"
20
+
},
21
+
"interests": {
22
+
"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.",
23
+
"ref": "app.bivri.actor.defs#interestPreferences",
24
+
"type": "ref"
25
+
},
26
+
"mutedTags": {
27
+
"description": "The caller's normalized muted Tags. A current server returns an empty array when none were stored.",
28
+
"ref": "app.bivri.actor.defs#mutedTagPreferences",
29
+
"type": "ref"
30
+
},
31
+
"mutedWords": {
32
+
"description": "The caller's normalized muted words. A current server returns an empty array when none were stored.",
33
+
"ref": "app.bivri.actor.defs#mutedWordPreferences",
34
+
"type": "ref"
35
+
},
16
36
"notifications": {
17
37
"ref": "app.bivri.actor.defs#notificationPreferences",
18
38
"type": "ref"
19
39
}
20
40
},
21
41
"required": [
22
42
"notifications"
23
43
],
24
44
"type": "object"
25
45
}
26
46
},
27
47
"type": "query"
28
48
}
29
49
},
30
50
"id": "app.bivri.actor.getPreferences",
31
51
"lexicon": 1
32
52
}