app.bivri.feed.createComment
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
8
"description": "The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.",
9
9
"name": "ConsentRequired"
10
10
},
11
11
{
12
12
"description": "Nobody is authenticated, so there is no repository to write to.",
13
13
"name": "Unauthenticated"
14
14
},
15
15
{
16
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
17
"name": "InvalidComment"
18
+
},
19
+
{
20
+
"description": "The commenter and the Artwork's author, or the author of the comment being replied to, have a block between them in either direction. Nothing was written.",
21
+
"name": "Blocked"
18
22
}
19
23
],
20
24
"input": {
21
25
"encoding": "application/json",
22
26
"schema": {
23
27
"properties": {
24
28
"content": {
25
29
"description": "Comment text.",
26
30
"maxGraphemes": 1000,
27
31
"maxLength": 10000,
28
32
"type": "string"
29
33
},
30
34
"parent": {
31
35
"description": "Strong reference to the comment being replied to. Omit for a top-level comment.",
32
36
"ref": "com.atproto.repo.strongRef",
33
37
"type": "ref"
34
38
},
35
39
"subject": {
36
40
"description": "Strong reference to the artwork to comment on.",
37
41
"ref": "com.atproto.repo.strongRef",
38
42
"type": "ref"
39
43
}
40
44
},
41
45
"required": [
42
46
"subject",
43
47
"content"
44
48
],
45
49
"type": "object"
46
50
}
47
51
},
48
52
"output": {
49
53
"encoding": "application/json",
50
54
"schema": {
51
55
"properties": {
52
56
"cid": {
53
57
"description": "CID of the comment record that was written.",
54
58
"format": "cid",
55
59
"type": "string"
56
60
},
57
61
"uri": {
58
62
"description": "AT URI of the comment record that was written.",
59
63
"format": "at-uri",
60
64
"type": "string"
61
65
}
62
66
},
63
67
"required": [
64
68
"uri",
65
69
"cid"
66
70
],
67
71
"type": "object"
68
72
}
69
73
},
70
74
"type": "procedure"
71
75
}
72
76
},
73
77
"description": "Post a comment from the authenticated member's repository.",
74
78
"id": "app.bivri.feed.createComment",
75
79
"lexicon": 1
76
80
}