{
"id": "net.atpix.gallery.removeFromAlbum",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"albumUri",
"photoUri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "Specific net.atpix.gallery.albumItem record URI. When set, removes only this junction record."
},
"albumUri": {
"type": "string",
"format": "at-uri"
},
"photoUri": {
"type": "string",
"maxLength": 512,
"description": "Photo record URI (public at:// or permissioned at://…/space/…). Used with albumUri when uri is omitted."
}
}
},
"encoding": "application/json"
},
"description": "Remove albumItem junction record(s). When uri is provided, deletes exactly that albumItem (albumUri and photoUri are ignored). When uri is omitted, albumUri and photoUri are required and ALL matching junction records are removed."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}