# app.bivri.feed.updateComment

> Published by [lexicons.bivri.app](https://lexicon.garden/identity/did:plc:uqat5a7hrbww3snbbinxgwah)

✓ This is the authoritative definition for this NSID.

## Description

Edit the text of a comment the authenticated member owns. The artwork and reply parent remain unchanged.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.feed.updateComment)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.feed.updateComment/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.feed.updateComment/examples)

## Definitions

### `app.bivri.feed.updateComment`

**Type**: `procedure`

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes | AT URI of the app.bivri.feed.comment record to edit. It must live in the authenticated member's own repository. |
| `content` | `string` | Yes | Replacement comment text. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes | CID the edited comment record now carries. |
| `uri` | `string` (at-uri) | Yes | AT URI of the edited comment record. |

## Raw Schema

```json
{
  "id": "app.bivri.feed.updateComment",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "content"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "AT URI of the app.bivri.feed.comment record to edit. It must live in the authenticated member's own repository."
            },
            "content": {
              "type": "string",
              "maxLength": 10000,
              "description": "Replacement comment text.",
              "maxGraphemes": 1000
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "cid"
          ],
          "properties": {
            "cid": {
              "type": "string",
              "format": "cid",
              "description": "CID the edited comment record now carries."
            },
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "AT URI of the edited comment record."
            }
          }
        },
        "encoding": "application/json"
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Edit the text of a comment the authenticated member owns. The artwork and reply parent remain unchanged."
}
```
