-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Tomi,
I haven't completed the BrainDocs API update yet, however I wanted to give you a heads up about what I'm planning to do. I plan to implement a POST function for a library that will accept an array of JSON objects. It will return a libraryId that can then be used to monitor the status of the library (whether it is ready to analyze or not).
The API function will be:
Request:
POST /library
Content-Type: application/json
[{"id":"123", "text":"This is testunit 1."}, {"id":"abc", "text":"This is textunit 2."}, ...]Response:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{"ok": true, "libraryId": "507f1f77bcf86cd799439011"}I will let you know when complete. -Kurt