Add more properties to upload meta data

This commit is contained in:
Eike Kettner
2020-11-11 01:08:07 +01:00
parent a21a97f7d5
commit 55a6f7aaf6
10 changed files with 70 additions and 21 deletions

View File

@ -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: |