net.atpix.gallery.updateCollectionRule

lexicon.atpix.net

Documentation

Update an existing collection rule.

main procedure

Update an existing collection rule.

Input

Encodingapplication/json
active boolean Optional

No description available.

description string Optional

No description available.

maxLength: 2000 bytes
followedActors array Optional

No description available.

hashtags array Optional

No description available.

includeOwnPhotos boolean Optional

No description available.

name string Optional

No description available.

maxLength: 200 bytes
targetAlbumUri stringat-uri Optional

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

uri stringat-uri Required

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

useFollowGraph boolean Optional

No description available.

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
{
  "description": "Update an existing collection rule.",
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "active": {
          "type": "boolean"
        },
        "description": {
          "maxLength": 2000,
          "type": "string"
        },
        "followedActors": {
          "items": {
            "format": "did",
            "type": "string"
          },
          "type": "array"
        },
        "hashtags": {
          "items": {
            "maxLength": 64,
            "type": "string"
          },
          "type": "array"
        },
        "includeOwnPhotos": {
          "type": "boolean"
        },
        "name": {
          "maxLength": 200,
          "type": "string"
        },
        "targetAlbumUri": {
          "format": "at-uri",
          "type": "string"
        },
        "targetScope": {
          "ref": "net.atpix.gallery.defs#targetScope",
          "type": "ref"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        },
        "useFollowGraph": {
          "type": "boolean"
        }
      },
      "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"
}

Lexicon Garden

@