app.bivri.feed.updateComment
Schema Diff
+11 -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": "Nobody is authenticated, so there is no repository to write to.",
9
+
"name": "Unauthenticated"
10
+
},
11
+
{
12
+
"description": "The comment is not one this service accepts — longer than 200 graphemes, or otherwise refused by the write boundary. Nothing was written.",
13
+
"name": "InvalidComment"
14
+
}
15
+
],
5
16
"input": {
6
17
"encoding": "application/json",
7
18
"schema": {
8
19
"properties": {
9
20
"content": {
10
21
"description": "Replacement comment text.",
11
22
"maxGraphemes": 1000,
12
23
"maxLength": 10000,
13
24
"type": "string"
14
25
},
15
26
"uri": {
16
27
"description": "AT URI of the app.bivri.feed.comment record to edit. It must live in the authenticated member's own repository.",
17
28
"format": "at-uri",
18
29
"type": "string"
19
30
}
20
31
},
21
32
"required": [
22
33
"uri",
23
34
"content"
24
35
],
25
36
"type": "object"
26
37
}
27
38
},
28
39
"output": {
29
40
"encoding": "application/json",
30
41
"schema": {
31
42
"properties": {
32
43
"cid": {
33
44
"description": "CID the edited comment record now carries.",
34
45
"format": "cid",
35
46
"type": "string"
36
47
},
37
48
"uri": {
38
49
"description": "AT URI of the edited comment record.",
39
50
"format": "at-uri",
40
51
"type": "string"
41
52
}
42
53
},
43
54
"required": [
44
55
"uri",
45
56
"cid"
46
57
],
47
58
"type": "object"
48
59
}
49
60
},
50
61
"type": "procedure"
51
62
}
52
63
},
53
64
"description": "Edit the text of a comment the authenticated member owns. The artwork and reply parent remain unchanged.",
54
65
"id": "app.bivri.feed.updateComment",
55
66
"lexicon": 1
56
67
}