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" : "105120",
"_id" : "products/105120",
"_rev" : "_YOn1XS6--H",
"Hello5" : "World5"
},
{
"_key" : "105117",
"_id" : "products/105117",
"_rev" : "_YOn1XS6--F",
"Hello4" : "World4"
},
{
"_key" : "105114",
"_id" : "products/105114",
"_rev" : "_YOn1XS6--D",
"Hello3" : "World3"
}
],
"hasMore" : true,
"id" : "105123",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.00013184547424316406,
"peakMemoryUsage" : 17984
},
"warnings" : [ ]
},
"cached" : false,
"error" : false,
"code" : 201
}