social.grain.unspecced.deletePoolGallery

Withdraw the viewer's own gallery from a group's pool. The gallery, its photos and the items joining them are the viewer's records in the viewer's repo, held inside the group's space, so this removes them from that space and nothing else. Only the author's own repo is touched: whoever acts as the group evicts by a different route.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 not from the namespace authority
Details · procedure
Kindprocedure
Authorityunspecced.grain.social
Indexed
cid bafyreihfrkknr3wgpfmmgbxmpzsri2ncdsbmysnpzi3nlorcjfrtb6txty

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.rkeyNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Withdraw the viewer's own gallery from a group's pool. The gallery, its photos and the items joining them are the viewer's records in the viewer's repo, held inside the group's space, so this removes them from that space and nothing else. Only the author's own repo is touched: whoever acts as the group evicts by a different route.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "description": "The group whose pool holds it.",
              "format": "did",
              "type": "string"
            },
            "rkey": {
              "description": "The gallery's rkey in the author's repo.",
              "type": "string"
            }
          },
          "required": [
            "group",
            "rkey"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "deleted": {
              "description": "Records removed: the gallery, its items and its photos.",
              "type": "integer"
            }
          },
          "required": [
            "deleted"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.grain.unspecced.deletePoolGallery",
  "lexicon": 1
}