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