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
"id": "social.colibri.beta.actor.putSettings",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"input": {
7
7
"schema": {
8
8
"type": "object",
9
9
"properties": {
10
10
"gifFavorites": {
11
11
"type": "array",
12
12
"items": {
13
-
"type": "string",
14
-
"maxLength": 256,
15
-
"description": "A GIF identifier."
13
+
"ref": "social.colibri.beta.embed.defs#gifView",
14
+
"type": "ref"
16
15
},
17
-
"description": "GIFs saved from the picker. Absent leaves the current value unchanged."
16
+
"description": "GIFs saved from the picker, stored whole. Absent leaves the current value unchanged."
18
17
},
19
18
"communityOrder": {
20
19
"type": "array",
21
20
"items": {
22
21
"type": "string",
23
22
"format": "did",
24
23
"description": "A community."
25
24
},
26
25
"description": "Communities in preferred sidebar order. Absent leaves the current value unchanged."
27
26
},
28
27
"notificationLevel": {
29
28
"type": "string",
30
29
"description": "Which messages produce a notification. Absent leaves the current value unchanged.",
31
30
"knownValues": [
32
31
"all",
33
32
"mentionsAndReplies"
34
33
]
35
34
}
36
35
}
37
36
},
38
37
"encoding": "application/json"
39
38
},
40
39
"errors": [
41
40
{
42
41
"name": "AuthRequired",
43
42
"description": "The request has no valid service auth."
44
43
},
45
44
{
46
45
"name": "InvalidRequest",
47
46
"description": "A field is present but does not hold an allowed value."
48
47
}
49
48
],
50
49
"output": {
51
50
"schema": {
52
51
"type": "object",
53
52
"required": [
54
53
"preferences"
55
54
],
56
55
"properties": {
57
56
"preferences": {
58
57
"ref": "social.colibri.beta.actor.defs#preferences",
59
58
"type": "ref",
60
59
"description": "The requesting user's settings, after the update."
61
60
}
62
61
}
63
62
},
64
63
"encoding": "application/json"
65
64
},
66
65
"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."
67
66
}
68
67
},
69
68
"$type": "com.atproto.lexicon.schema",
70
69
"lexicon": 1
71
70
}