postulo-paperless: keep every document in Paperless-ngx #15
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
Postulo/postulo#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observation
Why Paperless-ngx
It is the self-hoster's document archive (GPL-3.0, Django as well), and it has the API this needs: token authentication; consumption through
POST /api/documents/post_document/as multipart withdocument,title,created,correspondent,document_type,tagsandcustom_fields; a task id back, polled at/api/tasks/, that resolves to the document once consumed; and documents can be found again by tag, correspondent or custom field. Paperless also refuses a document whose checksum it already holds, which makes re-sending idempotent for free.Shape
postulo-paperless, registering a store in thepostulo.storesgroup (#13) and using a connection (#11): Paperless URL and API token (secret). Test lists one document with the token.DocumentKindpostulo, plus one tag per application (or a custom field — see the open questions)Postulo← the application's URL on the instance, so a document found in Paperless leads back to its applicationcreated← the date it was sentExternalRef. A "duplicate" answer counts as success, with the existing document's id.browse()against the Paperless API to attach a document that already lives there — a signed contract, a letter that came by post — to an application.Classification
Enhancement. A separate package; changes nothing unless installed and connected. Not breaking.
Depends on
Open questions