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