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
Kindprocedure
Authoritygallery.atpix.net
Indexed
cid bafyreif7men3nc45ly354wza6ruap53dr2f3c7m2vybnwz27j45da3stzi

Checks

Valid
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$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
}