net.atpix.gallery.createAlbum

lexicon.atpix.net

Documentation

Create an album. When visibility is permissioned, provisions a HappyView space (type net.atpix.gallery.albumSpace) and links spaceUri.

main procedure

Create an album. When visibility is permissioned, provisions a HappyView space (type net.atpix.gallery.albumSpace) and links spaceUri.

Input

Encodingapplication/json
collectionRuleUris array Optional

No description available.

maxLength: 20 items
description string Optional

No description available.

maxLength: 5000 bytes
name string Required

No description available.

maxLength: 200 bytes
seedFromRules boolean Optional

When true, evaluate linked collectionRuleUris and create initial albumItem records.

spaceKey string Optional

No description available.

maxLength: 64 bytes

Output

Encodingapplication/json
cid stringcid Required

A content identifier (CID) referencing immutable data.

spaceUri string Optional

No description available.

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": "Create an album. When visibility is permissioned, provisions a HappyView space (type net.atpix.gallery.albumSpace) and links spaceUri.",
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "collectionRuleUris": {
          "items": {
            "format": "at-uri",
            "type": "string"
          },
          "maxLength": 20,
          "type": "array"
        },
        "description": {
          "maxLength": 5000,
          "type": "string"
        },
        "name": {
          "maxLength": 200,
          "type": "string"
        },
        "seedFromRules": {
          "default": false,
          "description": "When true, evaluate linked collectionRuleUris and create initial albumItem records.",
          "type": "boolean"
        },
        "spaceKey": {
          "maxLength": 64,
          "type": "string"
        },
        "visibility": {
          "ref": "net.atpix.gallery.defs#visibility",
          "type": "ref"
        }
      },
      "required": [
        "name",
        "visibility"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "spaceUri": {
          "maxLength": 512,
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@