mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-25 16:45:05 +00:00
Document the re-generate all previews endpoint
This commit is contained in:
parent
f4e50c5229
commit
30682fbecc
@ -1069,6 +1069,29 @@ paths:
|
||||
schema:
|
||||
$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:
|
||||
get:
|
||||
tags: [ Collective ]
|
||||
|
@ -93,9 +93,6 @@
|
||||
padding: 0.8em;
|
||||
}
|
||||
|
||||
.default-layout .ui.card div.image {
|
||||
background: #fff;
|
||||
}
|
||||
.default-layout img.preview-image {
|
||||
max-width: 160px;
|
||||
margin-left: auto;
|
||||
|
Loading…
x
Reference in New Issue
Block a user