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" : "13469",
"_id" : "products/13469",
"_rev" : "_XGh_EiK--_",
"Hello4" : "World4"
},
{
"_key" : "13459",
"_id" : "products/13459",
"_rev" : "_XGh_Ei---_",
"Hello1" : "World1"
},
{
"_key" : "13472",
"_id" : "products/13472",
"_rev" : "_XGh_EiO--_",
"Hello5" : "World5"
}
],
"hasMore" : true,
"id" : "13475",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.0011937618255615234
},
"warnings" : [ ]
},
"cached" : false
}