app.bivri.feed.updateComment
Schema Diff
+15 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
+
"description": "Bivri refuses content longer than 200 graphemes, which is stricter than the 1000 the record schema permits: the record admits what any client may write, this method admits what this service accepts. A refusal is InvalidComment and nothing is written.",
6
+
"errors": [
7
+
{
8
+
"description": "The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.",
9
+
"name": "ConsentRequired"
10
+
},
11
+
{
12
+
"description": "Nobody is authenticated, so there is no repository to write to.",
13
+
"name": "Unauthenticated"
14
+
},
15
+
{
16
+
"description": "The comment is not one this service accepts — longer than 200 graphemes, or otherwise refused by the write boundary. Nothing was written.",
17
+
"name": "InvalidComment"
18
+
}
19
+
],
5
20
"input": {
6
21
"encoding": "application/json",
7
22
"schema": {
8
23
"properties": {
9
24
"content": {
10
25
"description": "Replacement comment text.",
11
26
"maxGraphemes": 1000,
12
27
"maxLength": 10000,
13
28
"type": "string"
14
29
},
15
30
"uri": {
16
31
"description": "AT URI of the app.bivri.feed.comment record to edit. It must live in the authenticated member's own repository.",
17
32
"format": "at-uri",
18
33
"type": "string"
19
34
}
20
35
},
21
36
"required": [
22
37
"uri",
23
38
"content"
24
39
],
25
40
"type": "object"
26
41
}
27
42
},
28
43
"output": {
29
44
"encoding": "application/json",
30
45
"schema": {
31
46
"properties": {
32
47
"cid": {
33
48
"description": "CID the edited comment record now carries.",
34
49
"format": "cid",
35
50
"type": "string"
36
51
},
37
52
"uri": {
38
53
"description": "AT URI of the edited comment record.",
39
54
"format": "at-uri",
40
55
"type": "string"
41
56
}
42
57
},
43
58
"required": [
44
59
"uri",
45
60
"cid"
46
61
],
47
62
"type": "object"
48
63
}
49
64
},
50
65
"type": "procedure"
51
66
}
52
67
},
53
68
"description": "Edit the text of a comment the authenticated member owns. The artwork and reply parent remain unchanged.",
54
69
"id": "app.bivri.feed.updateComment",
55
70
"lexicon": 1
56
71
}