social.grain.gallery.deleteGallery

Delete one of the logged-in account's galleries with what hangs off it: its items, the photos they place that no other of the account's galleries does, those photos' EXIF, and the account's own favorite of it and comments on it, children first, at the account's PDS and from the index before answering. What others wrote about it stays theirs. For the web, by its session cookie, from a page of the site; a service token is refused (the apps delete at their own PDS, then call social.grain.sync.refreshRecords).

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · procedure
Kindprocedure
Authoritygallery.grain.social
Commit rev3n2sngsqfa5bg
Indexed

Showing version bafyreibnqiwgcanndm4w7h6hxscgwpakwi4w4elpncj54yxymsdnkwsgtu. Show the latest

Procedure

procedure · POST

Input

application/json

rkey

requiredstring · record-key

Record key of the gallery to delete.

  • maxLength: 512

Output

application/json

Errors

NotFound

The account has no gallery of that key.

Forbidden

Called with a service token, or from another site.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Delete a gallery and all associated records (items, photos, EXIF, favorites, comments).

  • Plan the deletion of one of the viewer's galleries with what hangs off it, as social.grain.gallery.deleteGallery deletes it: its items, the photos they place that no other of the viewer's galleries does, those photos' EXIF, and the viewer's own favorite of it and comments on it, children first, then the gallery. What others wrote about it stays theirs. Answered as the deletes of one com.atproto.repo.applyWrites, for an app to commit at the viewer's PDS all or none, then call social.grain.sync.re

  • 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.

  • 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.

  • Delete a photo record from public repo or permissioned space.