shell> curl -X PUT --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/simple/all <<EOF
{ "collection": "products", "batchSize" : 3 }
EOF
HTTP/1.1 Created
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"result" : [
{
"_key" : "105455",
"_id" : "products/105455",
"_rev" : "_YDCrhHW--H",
"Hello5" : "World5"
},
{
"_key" : "105442",
"_id" : "products/105442",
"_rev" : "_YDCrhHW--_",
"Hello1" : "World1"
},
{
"_key" : "105446",
"_id" : "products/105446",
"_rev" : "_YDCrhHW--B",
"Hello2" : "World2"
}
],
"hasMore" : true,
"id" : "105458",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.00013375282287597656
},
"warnings" : [ ]
},
"cached" : false,
"error" : false,
"code" : 201
}