app.bivri.actor.getPreferences
Schema Diff
+15 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 12 non-breaking changes.
Non-Breaking Changes (12)
- AddedVertex AddedVertex { vertex_id: "app.bivri.actor.defs#contentFilterPreferences" }
- 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.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.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.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#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.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.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.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
+
},
16
21
"interests": {
17
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.",
18
23
"ref": "app.bivri.actor.defs#interestPreferences",
19
24
"type": "ref"
20
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
+
},
21
36
"notifications": {
22
37
"ref": "app.bivri.actor.defs#notificationPreferences",
23
38
"type": "ref"
24
39
}
25
40
},
26
41
"required": [
27
42
"notifications"
28
43
],
29
44
"type": "object"
30
45
}
31
46
},
32
47
"type": "query"
33
48
}
34
49
},
35
50
"id": "app.bivri.actor.getPreferences",
36
51
"lexicon": 1
37
52
}