net.atpix.gallery.updatePhoto

Update photo metadata. Does not replace image blob.

Details · procedure
Kindprocedure
Authoritygallery.atpix.net
Indexed
cid bafyreid7ctga2y6z3rqys2w55subbposebiyq2bqhwq7ospvwrqgawoxhe

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Update photo metadata. Does not replace image blob.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "albumUris": {
              "items": {
                "format": "at-uri",
                "type": "string"
              },
              "maxLength": 100,
              "type": "array"
            },
            "caption": {
              "maxLength": 2000,
              "type": "string"
            },
            "contributor": {
              "format": "did",
              "type": "string"
            },
            "copyrightHolder": {
              "format": "did",
              "type": "string"
            },
            "description": {
              "maxLength": 5000,
              "type": "string"
            },
            "inLanguage": {
              "maxLength": 35,
              "type": "string"
            },
            "keywords": {
              "items": {
                "maxLength": 64,
                "type": "string"
              },
              "maxLength": 50,
              "type": "array"
            },
            "license": {
              "format": "uri",
              "type": "string"
            },
            "locationCreated": {
              "ref": "net.atpix.gallery.defs#geoPlace",
              "type": "ref"
            },
            "title": {
              "maxLength": 500,
              "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": "net.atpix.gallery.updatePhoto",
  "lexicon": 1
}