app.didpic.write.updatePost

Edit an existing app.didpic.feed.post record via putRecord on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). The image, aspectRatio, and createdAt are immutable and carried over from the existing record untouched; only text, facets, alt, and labels may change.

Details · procedure
Kindprocedure
Authoritywrite.didpic.app
Indexed
cid bafyreigf5b7r7bk7lhhpqjxggwjebo3duoeopwaz4vy3cuzk7n3bhcbbvm

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.altNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.labels.itemsNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.textNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Edit an existing app.didpic.feed.post record via putRecord on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). The image, aspectRatio, and createdAt are immutable and carried over from the existing record untouched; only text, facets, alt, and labels may change.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "alt": {
              "type": "string"
            },
            "facets": {
              "items": {
                "ref": "app.didpic.richtext.facet",
                "type": "ref"
              },
              "type": "array"
            },
            "labels": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "text": {
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.write.updatePost",
  "lexicon": 1
}