net.atpix.gallery.removeFromAlbum
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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | gallery.atpix.net |
| Indexed |
Checks
Validendpoint-output-undefineddefs.mainNo output is defined. Endpoints should define one, even an empty one.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"albumUri": {
"format": "at-uri",
"type": "string"
},
"photoUri": {
"description": "Photo record URI (public at:// or permissioned at://…/space/…). Used with albumUri when uri is omitted.",
"maxLength": 512,
"type": "string"
},
"uri": {
"description": "Specific net.atpix.gallery.albumItem record URI. When set, removes only this junction record.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"albumUri",
"photoUri"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "net.atpix.gallery.removeFromAlbum",
"lexicon": 1
}