API now supports setting metadata when POSTing documents.

This commit is contained in:
jonaswinkler
2020-12-04 12:09:21 +01:00
parent 57ad485913
commit eb5bdc48aa
4 changed files with 49 additions and 42 deletions

View File

@@ -216,9 +216,7 @@ be instructed to consume the document from there.
The endpoint supports the following optional form fields:
* ``title``: Specify a title that the consumer should use for the document.
* ``correspondent``: Specify a correspondent that the consumer should use for the document.
Case sensitive. If the specified correspondent does not exist, it will be created with this
name and default settings.
* ``correspondent``: Specify the ID of a correspondent that the consumer should use for the document.
* ``document_type``: Similar to correspondent.
* ``tags``: Similar to correspondent. Specify this multiple times to have multiple tags added
to the document.