-
Notifications
You must be signed in to change notification settings - Fork 2
Document Management
Matthias Schildwächter edited this page Oct 17, 2017
·
6 revisions
The document management service handles the upload of PDF documents. It extracts the plain text needed for further phases. Other than that, it can export finished documents to HTML.
There are no additional dependencies. mvn clean install
Method | Path | Result | Comment |
---|---|---|---|
POST | /document/import | the imported document | consumes multipart/form-data (doc=document) |
POST | /document/tokenize/text | list of tokens (Strings) | expects the text to tokenize as request param |
PUT | /document/{documentId} | the updated document | |
GET | /document/{documentId} | the document | |
GET | /document/count | number of documents | |
GET | /document | all documents | |
GET | /document/{id}/original | the original of the document | |
GET | /document/{id}/export | the document with anonymizations as a zip file | |
GET | /replacement/ | replacement based on given original and label | expects original and label as params |
DELETE | /document/{documentId} | deletes the document |