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
{
"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"
}