Last Friday I wrote how we implemented Document Conversion in HR Assistant.
Part of the solution was a new project, Document Conversion API
We decided to open source it. Below I copied the details from the previous post about this new project.
Details
It is a Spring boot application, which can run stand alone. I have added also Docker support.
See the ReadMe for more details
Endpoints
Url: /api/convert-to-plain-text
Method: POST
Consumes: File
Produces: JSON
{
“convertedText”: “text”,
“message”: “information or error message”
}
Url: /api/convert-data-to-plain-text
Method: POST
Consumes: JSON
{
“mediaType”: “text”,
“data”: “base64 encoded representation of text/file”
}
Produces: JSON
{
“convertedText”: “text”,
“message”: “information or error message”
}
Swagger
To make it easy to test the api I have added Swagger
Repository
The Document Conversion API can be found in a public repository on Bitbucket. Feel free to use it or improve it. Better let me know if there are new feature request or add it your self and submit a Pull Request