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

35 lines
751 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all <<EOF
{ "collection": "products", "batchSize" : 3 }
EOF
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "products/1468277813",
"_key" : "1468277813",
"_rev" : "1468277813",
"Hello5" : "World5"
},
{
"_id" : "products/1467950133",
"_key" : "1467950133",
"_rev" : "1467950133",
"Hello4" : "World4"
},
{
"_id" : "products/1466967093",
"_key" : "1466967093",
"_rev" : "1466967093",
"Hello1" : "World1"
}
],
"hasMore" : true,
"id" : "1468474421",
"count" : 5,
"error" : false,
"code" : 201
}