social.colibri.beta.actor.putSettings
Schema Diff
+3 -4
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 3 non-breaking changes.
Breaking Changes (2)
- KindChanged KindChanged { vertex_id: "social.colibri.beta.actor.putSettings:input.gifFavorites:items", old_kind: "string", new_kind: "ref" }
- ConstraintAdded ConstraintAdded { vertex_id: "social.colibri.beta.actor.putSettings:input.gifFavorites:items", sort: "ref", value: "social.colibri.beta.embed.defs#gifView" }
Non-Breaking Changes (3)
- AddedVertex AddedVertex { vertex_id: "social.colibri.beta.embed.defs#gifView" }
- AddedEdge AddedEdge { src: "social.colibri.beta.actor.putSettings:input.gifFavorites:items", tgt: "social.colibri.beta.embed.defs#gifView", kind: "ref", name: None }
- ConstraintRemoved ConstraintRemoved { vertex_id: "social.colibri.beta.actor.putSettings:input.gifFavorites:items", sort: "maxLength" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "social.colibri.beta.embed.defs#gifView" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "social.colibri.beta.actor.putSettings:input.gifFavorites:items", sort: "ref", value: "social.colibri.beta.embed.defs#gifView" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "social.colibri.beta.actor.putSettings:input.gifFavorites:items", sort: "maxLength" }
Additional Notes
- Breaking: KindChanged { vertex_id: "social.colibri.beta.actor.putSettings:input.gifFavorites:items", old_kind: "string", new_kind: "ref" }
- Non-breaking: AddedEdge { src: "social.colibri.beta.actor.putSettings:input.gifFavorites:items", tgt: "social.colibri.beta.embed.defs#gifView", kind: "ref", name: None }
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
-
"description": "GIFs saved from the picker. Absent leaves the current value unchanged.",
30
+
"description": "GIFs saved from the picker, stored whole. Absent leaves the current value unchanged.",
31
31
"items": {
32
-
"description": "A GIF identifier.",
33
-
"maxLength": 256,
34
-
"type": "string"
32
+
"ref": "social.colibri.beta.embed.defs#gifView",
33
+
"type": "ref"
35
34
},
36
35
"type": "array"
37
36
},
38
37
"notificationLevel": {
39
38
"description": "Which messages produce a notification. Absent leaves the current value unchanged.",
40
39
"knownValues": [
41
40
"all",
42
41
"mentionsAndReplies"
43
42
],
44
43
"type": "string"
45
44
}
46
45
},
47
46
"type": "object"
48
47
}
49
48
},
50
49
"output": {
51
50
"encoding": "application/json",
52
51
"schema": {
53
52
"properties": {
54
53
"preferences": {
55
54
"description": "The requesting user's settings, after the update.",
56
55
"ref": "social.colibri.beta.actor.defs#preferences",
57
56
"type": "ref"
58
57
}
59
58
},
60
59
"required": [
61
60
"preferences"
62
61
],
63
62
"type": "object"
64
63
}
65
64
},
66
65
"type": "procedure"
67
66
}
68
67
},
69
68
"id": "social.colibri.beta.actor.putSettings",
70
69
"lexicon": 1
71
70
}