1
0
Fork 0
arangodb/Documentation/Examples/RestSimpleReplaceByExample....

12 lines
329 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/replace-by-example
{ "collection": "products", "example" : { "a" : { "j" : 1 } }, "newValue" : {"foo" : "bar"}, "limit" : 3 }
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"replaced" : 1,
"error" : false,
"code" : 200
}