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" : "228003",
"_id" : "products/228003",
"_rev" : "228003",
"Hello4" : "World4"
},
{
"_key" : "227993",
"_id" : "products/227993",
"_rev" : "227993",
"Hello1" : "World1"
},
{
"_key" : "228000",
"_id" : "products/228000",
"_rev" : "228000",
"Hello3" : "World3"
}
],
"hasMore" : true,
"id" : "228009",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"executionTime" : 0.0002090930938720703
},
"warnings" : [ ]
},
"cached" : false,
"error" : false,
"code" : 201
}