Upload new documents.
Implemented as asynchronous request and returns 202 ACCEPTED.Documents will be uploaded, segmented and analyzed.If any annotations are given, these will also be analyzed and added to the database.
Path Parameters
- project_id integer required
ID of the project
- application/json
Request Body array required
- text string
The document text
- id integer
The ID of the document.
Responses
- 202
- 400
- 401
- 403
- 404
- 500
Accepted
The body sent is invalid. Check the error message for more details
User is not authenticated. This means token is either not present or invalid
User is read-only or does not have the minimal project role "MANAGER"
The project was not found
Something is wrong with the API.
Loading...