app.bivri.feed.updateArtwork

lexicons.bivri.app

Documentation

main procedure

No description available.

Input

Encodingapplication/json
description string OptionalNullable

Replacement description. Send null to clear it; omit the field to leave it unchanged.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
labels union OptionalNullable

Replacement self-label values. Send null to clear them; omit the field to leave them unchanged.

langs array OptionalNullable

Replacement languages. Send null to clear them; omit the field to leave them unchanged.

maxLength: 3 items
media array Optional

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.

maxLength: 50 itemsminLength: 1 items
tags array OptionalNullable

Replacement set of tags. Send null to clear them; omit the field to leave them unchanged.

maxLength: 8 items
title string Optional

Replacement title. Omit the field to leave it unchanged; the artwork cannot be left without one.

maxLength: 500 bytesminLength: 1 bytesmaxGraphemes: 50 graphemes
uri stringat-uri Required

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

Output

Encodingapplication/json
cid stringcid Required

CID the edited record now carries.

uri stringat-uri Required

AT URI of the edited artwork record.

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
{
  "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"
  }
}

Lexicon Garden

@