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" : "11144",
"_id" : "products/11144",
"_rev" : "11144",
"Hello4" : "World4"
},
{
"_key" : "11138",
"_id" : "products/11138",
"_rev" : "11138",
"Hello2" : "World2"
},
{
"_key" : "11141",
"_id" : "products/11141",
"_rev" : "11141",
"Hello3" : "World3"
}
],
"hasMore" : true,
"id" : "11150",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"executionTime" : 0.0001327991485595703
},
"warnings" : [ ]
},
"cached" : false,
"error" : false,
"code" : 201
}