social.colibri.beta.actor.putSettings
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "social.colibri.beta.actor.putSettings:input.shareActivity" }
- AddedEdge AddedEdge { src: "social.colibri.beta.actor.putSettings:input", tgt: "social.colibri.beta.actor.putSettings:input.shareActivity", kind: "prop", name: Some("shareActivity") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "social.colibri.beta.actor.putSettings:input.shareActivity" }
Additional Notes
- Non-breaking: AddedEdge { src: "social.colibri.beta.actor.putSettings:input", tgt: "social.colibri.beta.actor.putSettings:input.shareActivity", kind: "prop", name: Some("shareActivity") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Pushes the requesting user's social.colibri.beta.actor.settings record to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes the record to its own personal space first, then calls this. An absent field leaves the current value unchanged.",
6
6
"errors": [
7
7
{
8
8
"description": "The request has no valid service auth.",
9
9
"name": "AuthRequired"
10
10
},
11
11
{
12
12
"description": "A field is present but does not hold an allowed value.",
13
13
"name": "InvalidRequest"
14
14
}
15
15
],
16
16
"input": {
17
17
"encoding": "application/json",
18
18
"schema": {
19
19
"properties": {
20
20
"communityOrder": {
21
21
"description": "Communities in preferred sidebar order. Absent leaves the current value unchanged.",
22
22
"items": {
23
23
"description": "A community.",
24
24
"format": "did",
25
25
"type": "string"
26
26
},
27
27
"type": "array"
28
28
},
29
29
"gifFavorites": {
30
30
"description": "GIFs saved from the picker, stored whole. Absent leaves the current value unchanged.",
31
31
"items": {
32
32
"ref": "social.colibri.beta.embed.defs#gifView",
33
33
"type": "ref"
34
34
},
35
35
"type": "array"
36
36
},
37
37
"notificationLevel": {
38
38
"description": "Which messages produce a notification. Absent leaves the current value unchanged.",
39
39
"knownValues": [
40
40
"all",
41
41
"mentionsAndReplies"
42
42
],
43
43
"type": "string"
44
+
},
45
+
"shareActivity": {
46
+
"description": "Whether the AppView may show what the user is listening to. Absent leaves the current value unchanged.",
47
+
"type": "boolean"
44
48
}
45
49
},
46
50
"type": "object"
47
51
}
48
52
},
49
53
"output": {
50
54
"encoding": "application/json",
51
55
"schema": {
52
56
"properties": {
53
57
"preferences": {
54
58
"description": "The requesting user's settings, after the update.",
55
59
"ref": "social.colibri.beta.actor.defs#preferences",
56
60
"type": "ref"
57
61
}
58
62
},
59
63
"required": [
60
64
"preferences"
61
65
],
62
66
"type": "object"
63
67
}
64
68
},
65
69
"type": "procedure"
66
70
}
67
71
},
68
72
"id": "social.colibri.beta.actor.putSettings",
69
73
"lexicon": 1
70
74
}