app.bivri.feed.createComment

lexicons.bivri.app

Schema Diff

+11 -0

From

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

To

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

Compare Other Versions

Lexicon Garden

@