Updated for v 0.23 on 2021 16 Mar
$baseurl → Base API URL
$storeID → Identifier for your store
$identifier → Document identifier
$apikey → General API Key for your collection
$readkey → Read document(s) specific API Key (if one has generated) or $apikey
$createkey → Create document(s) specific API Key (if one has generated) or $apikey
$updatekey → Update document(s) specific API Key (if one has generated) or $apikey
$deletekey → Delete document(s) specific API Key (if one has generated) or $apikey
curl $baseurl/store/$storeID \\
-x POST \\
-d '{"name": "John Doe"}' \\
-h 'x-api-key: $createkey' \\
-h 'Content-Type: application/json'
Every document will be assigned a unique identifier while adding to the collection. You can get the identifier in the response (key: '_id'). Created time for all document is also stored and returned with key '_created'
Custom Identifiers: See Add a document with custom identifier below.
Keys: Documents should not ideally contain keys that starts with underscore as this is reserved for system usage. Currently this is not limited by the system, but will be the case in near future.
Success Response:
Expect a 200 status code. Response json will contain status equals 0. data will have an array with single document that's being saved, including the document identifier with key '_id'.