mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add more properties to upload meta data
This commit is contained in:
@ -3499,6 +3499,14 @@ components:
|
||||
The folder id that is applied to items resulting from
|
||||
importing mails. If the folder id is not valid when the
|
||||
task executes, items have no folder set.
|
||||
tags:
|
||||
$ref: "#/components/schemas/StringList"
|
||||
fileFilter:
|
||||
description: |
|
||||
A glob to filter attachments to import.
|
||||
type: string
|
||||
format: glob
|
||||
|
||||
ImapSettingsList:
|
||||
description: |
|
||||
A list of user email settings.
|
||||
@ -4256,6 +4264,18 @@ components:
|
||||
A folderId can be given, the item is placed into this folder
|
||||
after creation.
|
||||
|
||||
The `fileFilter` is an optional glob for filtering files to
|
||||
import. Only applicable if archive files are uploaded. It
|
||||
applies to all of them. For example, to only import pdf files
|
||||
when uploading e-mails, use `*.pdf`. If the pattern doesn't
|
||||
contain a slash `/`, then it is applied to all file names.
|
||||
Otherwise it is applied to the complete path in the archive
|
||||
(useful for zip files). Note that the archive file itself is
|
||||
always saved completely, too.
|
||||
|
||||
The `tags` input allows to provide tags that should be applied
|
||||
to the item being created. This only works if the tags already
|
||||
exist. It is possible to specify their ids or names.
|
||||
required:
|
||||
- multiple
|
||||
properties:
|
||||
@ -4271,6 +4291,11 @@ components:
|
||||
skipDuplicates:
|
||||
type: boolean
|
||||
default: false
|
||||
tags:
|
||||
$ref: "#/components/schemas/StringList"
|
||||
fileFilter:
|
||||
type: string
|
||||
format: glob
|
||||
|
||||
Collective:
|
||||
description: |
|
||||
|
Reference in New Issue
Block a user