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
{
"result" : [
{
"_key" : "103536",
"_id" : "products/103536",
"_rev" : "_XPb9y42--B",
"Hello4" : "World4"
},
{
"_key" : "103533",
"_id" : "products/103533",
"_rev" : "_XPb9y42--_",
"Hello3" : "World3"
},
{
"_key" : "103539",
"_id" : "products/103539",
"_rev" : "_XPb9y42--D",
"Hello5" : "World5"
}
],
"hasMore" : true,
"id" : "103542",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.0001385211944580078
},
"warnings" : [ ]
},
"cached" : false,
"error" : false,
"code" : 201
}