full diff

social.grain.gallery.deleteGallery

grain.social +1 −1
From
bafyreibnqiwgcanndm4w7h6hxscgwpakwi4w4elpncj54yxymsdnkwsgtu indexed 2026-11-21 08:07 UTC View this version
To
bafyreidhmvuua4ao4vwr3md7556zuic2xoaqbvlurakjmebz5m6x6wja4q indexed 2026-11-22 01:23 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "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).",
5 "description": "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 commit social.grain.gallery.getDeletionPlan's deletes at their own PDS, then call social.grain.sync.refreshRecords).",
66 "errors": [
77 {
88 "description": "The account has no gallery of that key.",
99 "name": "NotFound"
1010 },
1111 {
1212 "description": "Called with a service token, or from another site.",
1313 "name": "Forbidden"
1414 }
1515 ],
1616 "input": {
1717 "encoding": "application/json",
1818 "schema": {
1919 "properties": {
2020 "rkey": {
2121 "description": "Record key of the gallery to delete.",
2222 "format": "record-key",
2323 "maxLength": 512,
2424 "type": "string"
2525 }
2626 },
2727 "required": [
2828 "rkey"
2929 ],
3030 "type": "object"
3131 }
3232 },
3333 "output": {
3434 "encoding": "application/json",
3535 "schema": {
3636 "properties": {},
3737 "type": "object"
3838 }
3939 },
4040 "type": "procedure"
4141 }
4242 },
4343 "id": "social.grain.gallery.deleteGallery",
4444 "lexicon": 1
4545}

Compare other versions