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
x-content-type-options: nosniff
{
"error" : false,
"code" : 201,
"result" : [
{
"_key" : "11377",
"_id" : "products/11377",
"_rev" : "_XG3zEoy--_",
"Hello2" : "World2"
},
{
"_key" : "11373",
"_id" : "products/11373",
"_rev" : "_XG3zEou--_",
"Hello1" : "World1"
},
{
"_key" : "11383",
"_id" : "products/11383",
"_rev" : "_XG3zEoy--D",
"Hello4" : "World4"
}
],
"hasMore" : true,
"id" : "11389",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.00011777877807617188
},
"warnings" : [ ]
},
"cached" : false
}