post_document
Upload and organize documents in Paperless-NGX by specifying file, filename, title, and metadata like tags, correspondents, and document types for efficient document management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
archive_serial_number | No | ||
correspondent | No | ||
created | No | ||
custom_fields | No | ||
document_type | No | ||
file | Yes | ||
filename | Yes | ||
storage_path | No | ||
tags | No | ||
title | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"archive_serial_number": {
"type": "string"
},
"correspondent": {
"type": "number"
},
"created": {
"type": "string"
},
"custom_fields": {
"items": {
"type": "number"
},
"type": "array"
},
"document_type": {
"type": "number"
},
"file": {
"type": "string"
},
"filename": {
"type": "string"
},
"storage_path": {
"type": "number"
},
"tags": {
"items": {
"type": "number"
},
"type": "array"
},
"title": {
"type": "string"
}
},
"required": [
"file",
"filename"
],
"type": "object"
}