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" : "11109",
"_id" : "products/11109",
"_rev" : "11109",
"Hello5" : "World5"
},
{
"_key" : "11100",
"_id" : "products/11100",
"_rev" : "11100",
"Hello2" : "World2"
},
{
"_key" : "11096",
"_id" : "products/11096",
"_rev" : "11096",
"Hello1" : "World1"
}
],
"hasMore" : true,
"id" : "11112",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"executionTime" : 0.00018405914306640625
},
"warnings" : [ ]
},
"cached" : false,
"error" : false,
"code" : 201
}