mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Document the re-generate all previews endpoint
This commit is contained in:
@ -1069,6 +1069,29 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/BasicResult"
|
$ref: "#/components/schemas/BasicResult"
|
||||||
|
|
||||||
|
/sec/collective/previews:
|
||||||
|
post:
|
||||||
|
tags: [ Collective ]
|
||||||
|
summary: Starts the generate previews task
|
||||||
|
description: |
|
||||||
|
Submits a task that re-generates preview images of all
|
||||||
|
attachments of the current collective. Each existing preview
|
||||||
|
image will be replaced.
|
||||||
|
|
||||||
|
This can be used after changing the `preview` settings.
|
||||||
|
|
||||||
|
If only preview images of selected attachments should be
|
||||||
|
regenerated, see the `/sec/attachment/{id}/preview` endpoint.
|
||||||
|
security:
|
||||||
|
- authTokenHeader: []
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: Ok
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/BasicResult"
|
||||||
|
|
||||||
/sec/user:
|
/sec/user:
|
||||||
get:
|
get:
|
||||||
tags: [ Collective ]
|
tags: [ Collective ]
|
||||||
|
@ -93,9 +93,6 @@
|
|||||||
padding: 0.8em;
|
padding: 0.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.default-layout .ui.card div.image {
|
|
||||||
background: #fff;
|
|
||||||
}
|
|
||||||
.default-layout img.preview-image {
|
.default-layout img.preview-image {
|
||||||
max-width: 160px;
|
max-width: 160px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
Reference in New Issue
Block a user