Does BlackLab support add docs to a corpus via HTTP API?
fishfree opened this issue · 3 comments
Many thanks!
It does. For this to work, an authentication system must be configured. Then logged-in users can create corpora using the API (or using our frontend, which provides a GUI to do the same).
Configuring an authentication system: Let users manage their own corpora
Relevant part of the API reference: Manage user corpora
@jan-niestadt Many thanks! However, would you please elaborate the HTTP API doc in more detail? Or even in the Swagger specification?
Can you be more specific, i.e. what specifically is unclear or could use more detail? You did see you can click through to the pages for the various endpoints (create, delete, add data, ...), right?
We don't have a Swagger spec, unfortunately. If you want to help create one, that would be great!