Documents
Add Document
Adds a document to a given collection.
A status code of 201 Created
will be returned if a document was successfully added. A status code of 409 Conflict
will be returned if the given collection already has a document with the same path.
If overwrite
is given a value of true
, then a status code of 200 OK
will be returned if a document was overwritten (Rather than a status code of 409 Conflict
).
When a document is inserted, it can take time to appear in the index. Check the /status/get-status
endpoint to see progress.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.