v1

latestOpenAPI 3.0.3GPL-3.02026-07-177978150.2 KB
documents

Index a document

A document to be indexed in a given collection must conform to the schema of the collection.

post/collections/{collectionName}/documents

Path parameters

collectionNamestring required

The name of the collection to add the document to

Query parameters

action'create' | 'update' | 'upsert' | 'emplace'

Additional action to perform

dirty_values'coerce_or_reject' | 'coerce_or_drop' | 'drop' | 'reject'

Dealing with Dirty Data

Request body

object required

Can be any key-value pair

Response

Document successfully created/indexed

object required

Can be any key-value pair