app.bivri.feed.updateComment
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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | feed.bivri.app |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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"
}
},
"description": "Edit the text of a comment the authenticated member owns. The artwork and reply parent remain unchanged.",
"id": "app.bivri.feed.updateComment",
"lexicon": 1
}