app.didpic.admin.getSubjectContext
Schema Diff
+7 -2
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 2 non-breaking changes.
Breaking Changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "app.didpic.admin.getSubjectContext:output.kind", sort: "enum", old_value: "actor,post,comment", new_value: "actor,post,comment,message" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "app.didpic.admin.getSubjectContext:output.message" }
- AddedEdge AddedEdge { src: "app.didpic.admin.getSubjectContext:output", tgt: "app.didpic.admin.getSubjectContext:output.message", kind: "prop", name: Some("message") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.admin.getSubjectContext:output.message" }
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "app.didpic.admin.getSubjectContext:output.kind", sort: "enum", old_value: "actor,post,comment", new_value: "actor,post,comment,message" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.admin.getSubjectContext:output", tgt: "app.didpic.admin.getSubjectContext:output.message", kind: "prop", name: Some("message") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Get the actor + post + comment bundle for a report/appeal subject.",
5
+
"description": "Get the actor + post + comment + message bundle for a report/appeal subject.",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"actor": {
11
11
"type": "unknown"
12
12
},
13
13
"comment": {
14
14
"type": "unknown"
15
15
},
16
16
"kind": {
17
17
"enum": [
18
18
"actor",
19
19
"post",
20
-
"comment"
20
+
"comment",
21
+
"message"
21
22
],
22
23
"type": "string"
23
24
},
25
+
"message": {
26
+
"type": "unknown"
27
+
},
24
28
"parentComment": {
25
29
"type": "unknown"
26
30
},
27
31
"post": {
28
32
"type": "unknown"
29
33
}
30
34
},
31
35
"required": [
32
36
"kind",
33
37
"actor"
34
38
],
35
39
"type": "object"
36
40
}
37
41
},
38
42
"parameters": {
39
43
"properties": {
40
44
"subject": {
45
+
"description": "A DID, an at-uri, or `message:<id>` for a DM message subject (messages have no at-uri - see app.didpic.chat.defs).",
41
46
"type": "string"
42
47
}
43
48
},
44
49
"required": [
45
50
"subject"
46
51
],
47
52
"type": "params"
48
53
},
49
54
"type": "query"
50
55
}
51
56
},
52
57
"id": "app.didpic.admin.getSubjectContext",
53
58
"lexicon": 1
54
59
}