# app.bivri.feed.updateArtwork

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

✓ This is the authoritative definition for this NSID.

## Description

Edit an artwork the authenticated member owns. Only the fields present in the request change; the rest of the record is preserved as it stands at the member's PDS.

## Links

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

## Definitions

### `app.bivri.feed.updateArtwork`

**Type**: `procedure`

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes | AT URI of the app.bivri.feed.artwork record to edit. It must live in the authenticated member's own repository. |
| `tags` | `array` | No | Replacement set of tags. Send null to clear them; omit the field to leave them unchanged. |
| `langs` | `array` | No | Replacement languages. Send null to clear them; omit the field to leave them unchanged. |
| `media` | `array` | No | Replacement images, in display order. Omit the field to leave them unchanged; the artwork cannot be left without any, and the items together may not exceed 200MB — a total this schema cannot express. |
| `title` | `string` | No | Replacement title. Omit the field to leave it unchanged; the artwork cannot be left without one. |
| `labels` | `union` | No | Replacement self-label values. Send null to clear them; omit the field to leave them unchanged. |
| `description` | `string` | No | Replacement description. Send null to clear it; omit the field to leave it unchanged. |

#### Output

**Encoding**: `application/json`

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

## Raw Schema

```json
{
  "id": "app.bivri.feed.updateArtwork",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "nullable": [
            "description",
            "tags",
            "labels",
            "langs"
          ],
          "required": [
            "uri"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "AT URI of the app.bivri.feed.artwork record to edit. It must live in the authenticated member's own repository."
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 640,
                "minLength": 1,
                "maxGraphemes": 64
              },
              "maxLength": 8,
              "description": "Replacement set of tags. Send null to clear them; omit the field to leave them unchanged."
            },
            "langs": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "language"
              },
              "maxLength": 3,
              "description": "Replacement languages. Send null to clear them; omit the field to leave them unchanged."
            },
            "media": {
              "type": "array",
              "items": {
                "ref": "app.bivri.feed.artwork#mediaItem",
                "type": "ref"
              },
              "maxLength": 50,
              "minLength": 1,
              "description": "Replacement images, in display order. Omit the field to leave them unchanged; the artwork cannot be left without any, and the items together may not exceed 200MB — a total this schema cannot express."
            },
            "title": {
              "type": "string",
              "maxLength": 500,
              "minLength": 1,
              "description": "Replacement title. Omit the field to leave it unchanged; the artwork cannot be left without one.",
              "maxGraphemes": 50
            },
            "labels": {
              "refs": [
                "com.atproto.label.defs#selfLabels"
              ],
              "type": "union",
              "description": "Replacement self-label values. Send null to clear them; omit the field to leave them unchanged."
            },
            "description": {
              "type": "string",
              "maxLength": 3000,
              "description": "Replacement description. Send null to clear it; omit the field to leave it unchanged.",
              "maxGraphemes": 300
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "cid"
          ],
          "properties": {
            "cid": {
              "type": "string",
              "format": "cid",
              "description": "CID the edited record now carries."
            },
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "AT URI of the edited artwork record."
            }
          }
        },
        "encoding": "application/json"
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Edit an artwork the authenticated member owns. Only the fields present in the request change; the rest of the record is preserved as it stands at the member's PDS."
}
```
