net.atpix.gallery.updatePhoto

lexicon.atpix.net

Documentation

Update photo metadata. Does not replace image blob.

main procedure

Update photo metadata. Does not replace image blob.

Input

Encodingapplication/json
albumUris array Optional

No description available.

maxLength: 100 items
caption string Optional

No description available.

maxLength: 2000 bytes
contributor stringdid Optional

A decentralized identifier (DID).

copyrightHolder stringdid Optional

A decentralized identifier (DID).

description string Optional

No description available.

maxLength: 5000 bytes
inLanguage string Optional

No description available.

maxLength: 35 bytes
keywords array Optional

No description available.

maxLength: 50 items
license stringuri Optional

A valid URI.

title string Optional

No description available.

maxLength: 500 bytes
uri stringat-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

Output

Encodingapplication/json
cid stringcid Required

A content identifier (CID) referencing immutable data.

uri stringat-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

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",
      "required": [
        "uri"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "title": {
          "type": "string",
          "maxLength": 500
        },
        "caption": {
          "type": "string",
          "maxLength": 2000
        },
        "license": {
          "type": "string",
          "format": "uri"
        },
        "keywords": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 64
          },
          "maxLength": 50
        },
        "albumUris": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "at-uri"
          },
          "maxLength": 100
        },
        "inLanguage": {
          "type": "string",
          "maxLength": 35
        },
        "contributor": {
          "type": "string",
          "format": "did"
        },
        "description": {
          "type": "string",
          "maxLength": 5000
        },
        "copyrightHolder": {
          "type": "string",
          "format": "did"
        },
        "locationCreated": {
          "ref": "net.atpix.gallery.defs#geoPlace",
          "type": "ref"
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "uri",
        "cid"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Update photo metadata. Does not replace image blob."
}

Lexicon Garden

@