Index
Replace new document in a table
Replace an existing document. Input has same format as insert operation. Responds with an object in format:
{'table':'products','id':1,'created':false,'result':'updated','status':200}
post/replace
Request body
Example request
{
"table": "test",
"doc": {
"title": "This is some title",
"gid": 100
}
}Response
OK
Example response
{
"table": "test",
"id": 1,
"result": "created",
"created": true,
"status": 201
}