app.bivri.feed.createComment

lexicons.bivri.app

Schema Diff

+19 -0

From

CID
bafyreiey6b27bnu...
Indexed At
2026-08-18 04:29 UTC
View this version

To

CID
bafyreiey6ayxu27...
Indexed At
2026-09-29 04:06 UTC
View this version

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

Compare Other Versions

Lexicon Garden

@