This repository was archived by the owner on Feb 16, 2023. It is now read-only.
Return the <PK> after uploading in API #1176
toushin-taishi
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. First of all, thank you for such a wonderful application.
Is it possible for the API to return the primary key after uploading?
I am just thinking about another use case scenario for paperless-ng wherein it can be a back-end for storing documents, for example, an in-house system for 201 files, medical records, etc.
It's almost perfect to be used for such, as the files uploaded are processed by paperless-ng and yet still physically present in the filesystem.
The API can search, display thumbnail and download. What's missing is the primary key that I can store somewhere as a pointer to the document in paperless-ng.
Is it possible for such a feature to be included in the future releases of paperless-ng? Or is there a workaround to get the primary key after uploading using the API?
TIA and kind regards
Beta Was this translation helpful? Give feedback.
All reactions