mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 03:26:50 +01:00
Allow setting the ASN on document upload
This commit is contained in:
parent
1471dd72a6
commit
bec8d00232
5 changed files with 50 additions and 7 deletions
11
docs/api.md
11
docs/api.md
|
|
@ -257,11 +257,14 @@ The endpoint supports the following optional form fields:
|
|||
- `tags`: Similar to correspondent. Specify this multiple times to
|
||||
have multiple tags added to the document.
|
||||
- `owner`: An optional user ID to set as the owner.
|
||||
- `archive_serial_number`: An optional archive serial number to set.
|
||||
|
||||
The endpoint will immediately return "OK" if the document consumption
|
||||
process was started successfully. No additional status information about
|
||||
the consumption process itself is available, since that happens in a
|
||||
different process.
|
||||
The endpoint will immediately return HTTP 200 if the document consumption
|
||||
process was started successfully, with the UUID of the consumption task
|
||||
as the data. No additional status information about
|
||||
the consumption process itself is available immediately, since that happens in a
|
||||
different process. Querying the tasks endpoint with the returned UUID will
|
||||
provide information on the state of the consumption.
|
||||
|
||||
## API Versioning
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue