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
x-content-type-options: nosniff
{
"error" : false,
"code" : 201,
"result" : [
{
"_key" : "12113",
"_id" : "products/12113",
"_rev" : "_V8R1Naq--_",
"Hello1" : "World1"
},
{
"_key" : "12120",
"_id" : "products/12120",
"_rev" : "_V8R1Nau--_",
"Hello3" : "World3"
},
{
"_key" : "12123",
"_id" : "products/12123",
"_rev" : "_V8R1Nau--B",
"Hello4" : "World4"
}
],
"hasMore" : true,
"id" : "12129",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.000244140625
},
"warnings" : [ ]
},
"cached" : false
}