1
0
Fork 0
arangodb/Documentation/Examples/api-simple-replace-by-example

12 lines
307 B
Plaintext

> curl --data @- -X PUT --dump - http://localhost:8529/_api/simple/replace-by-example
{ "collection" : "test", "example" : { "age" : 37, "likes" : "tennis" }, "newValue" : { "foo" : "bar" }, "limit" : 3 }
HTTP/1.1 200 Ok
content-type: application/json
{
"code": 200,
"replaced": 1,
"error": false
}