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" : "10617",
"_id" : "products/10617",
"_rev" : "_VReqwLG---",
"Hello1" : "World1"
},
{
"_key" : "10627",
"_id" : "products/10627",
"_rev" : "_VReqwLK--_",
"Hello4" : "World4"
},
{
"_key" : "10621",
"_id" : "products/10621",
"_rev" : "_VReqwLG--_",
"Hello2" : "World2"
}
],
"hasMore" : true,
"id" : "10633",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.00014090538024902344
},
"warnings" : [ ]
},
"cached" : false
}