mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Added a route definition to bulk-delete attachments
This commit is contained in:
@ -2789,6 +2789,28 @@ paths:
|
||||
schema:
|
||||
$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:
|
||||
get:
|
||||
tags: [ Job Queue ]
|
||||
|
Reference in New Issue
Block a user