1
0
Fork 0
arangodb/Documentation/Examples/RestSimpleLastSingle.generated

21 lines
397 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/last
{ "collection": "products" }
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"result" : {
"_id" : "products/1276765815",
"_key" : "1276765815",
"_rev" : "1276765815",
"i" : 1,
"a" : {
"k" : 2,
"j" : 2
}
},
"error" : false,
"code" : 200
}