mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Added a route definition to bulk-delete attachments
This commit is contained in:
@ -2789,6 +2789,28 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/BasicResult"
|
$ref: "#/components/schemas/BasicResult"
|
||||||
|
|
||||||
|
/sec/attachments/delete:
|
||||||
|
post:
|
||||||
|
tags:
|
||||||
|
- Attachment (Multi Edit)
|
||||||
|
summary: Delete multiple attachments.
|
||||||
|
description: |
|
||||||
|
Given a list of attachment ids, deletes all of them.
|
||||||
|
security:
|
||||||
|
- authTokenHeader: [ ]
|
||||||
|
requestBody:
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/IdList"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: Ok
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/BasicResult"
|
||||||
|
|
||||||
/sec/queue/state:
|
/sec/queue/state:
|
||||||
get:
|
get:
|
||||||
tags: [ Job Queue ]
|
tags: [ Job Queue ]
|
||||||
|
Reference in New Issue
Block a user