app.bivri.feed.createComment

lexicons.bivri.app

Schema Diff

+4 -0

From

CID
bafyreibstnfjdyy...
Indexed At
2026-08-30 13:19 UTC
View this version

To

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

Compare Other Versions

Lexicon Garden

@