app.bivri.feed.updateComment

lexicons.bivri.app

Documentation

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.

main procedure

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.

Input

Encodingapplication/json
content string Required

Replacement comment text.

maxLength: 10000 bytesmaxGraphemes: 1000 graphemes
uri stringat-uri Required

AT URI of the app.bivri.feed.comment record to edit. It must live in the authenticated member's own repository.

Output

Encodingapplication/json
cid stringcid Required

CID the edited comment record now carries.

uri stringat-uri Required

AT URI of the edited comment record.

Errors

ConsentRequired The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.
Unauthenticated Nobody is authenticated, so there is no repository to write to.
InvalidComment The comment is not one this service accepts — longer than 200 graphemes, or otherwise refused by the write boundary. Nothing was written.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "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.",
  "errors": [
    {
      "description": "The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.",
      "name": "ConsentRequired"
    },
    {
      "description": "Nobody is authenticated, so there is no repository to write to.",
      "name": "Unauthenticated"
    },
    {
      "description": "The comment is not one this service accepts — longer than 200 graphemes, or otherwise refused by the write boundary. Nothing was written.",
      "name": "InvalidComment"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "content": {
          "description": "Replacement comment text.",
          "maxGraphemes": 1000,
          "maxLength": 10000,
          "type": "string"
        },
        "uri": {
          "description": "AT URI of the app.bivri.feed.comment record to edit. It must live in the authenticated member's own repository.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "content"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "cid": {
          "description": "CID the edited comment record now carries.",
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "description": "AT URI of the edited comment record.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@