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).
Details · procedure
| Kind | procedure |
|---|---|
| Authority | gallery.grain.social |
| Commit rev | 3n2sngsqfa5bg |
| Indexed |
Showing version bafyreibnqiwgcanndm4w7h6hxscgwpakwi4w4elpncj54yxymsdnkwsgtu. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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).",
"errors": [
{
"description": "The account has no gallery of that key.",
"name": "NotFound"
},
{
"description": "Called with a service token, or from another site.",
"name": "Forbidden"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"rkey": {
"description": "Record key of the gallery to delete.",
"format": "record-key",
"maxLength": 512,
"type": "string"
}
},
"required": [
"rkey"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "social.grain.gallery.deleteGallery",
"lexicon": 1
}