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" : [
{
"_key" : "11011",
"_id" : "products/11011",
"_rev" : "11011",
"Hello5" : "World5"
},
{
"_key" : "10998",
"_id" : "products/10998",
"_rev" : "10998",
"Hello1" : "World1"
},
{
"_key" : "11008",
"_id" : "products/11008",
"_rev" : "11008",
"Hello4" : "World4"
}
],
"hasMore" : true,
"id" : "11014",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"executionTime" : 0.0002582073211669922
},
"warnings" : [ ]
},
"cached" : false,
"error" : false,
"code" : 201
}