mirror of
https://github.com/chenasraf/nextcloud-pantry.git
synced 2026-05-17 17:28:01 +00:00
feat: support deleting photo folders with content
This commit is contained in:
11
openapi.json
11
openapi.json
@@ -5178,7 +5178,7 @@
|
||||
"delete": {
|
||||
"operationId": "photo-delete-folder",
|
||||
"summary": "Delete a photo folder",
|
||||
"description": "Photos in this folder are moved to the board root.",
|
||||
"description": "When deleteContents is false (default), photos are moved to the board root. When true, the folder and all its photos (including files) are permanently deleted.",
|
||||
"tags": [
|
||||
"photo"
|
||||
],
|
||||
@@ -5211,6 +5211,15 @@
|
||||
"format": "int64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "deleteContents",
|
||||
"in": "query",
|
||||
"description": "Whether to also delete photos inside the folder.",
|
||||
"schema": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "OCS-APIRequest",
|
||||
"in": "header",
|
||||
|
||||
Reference in New Issue
Block a user