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" : "13127",
"_id" : "products/13127",
"_rev" : "_WgE8LAS--_",
"Hello3" : "World3"
},
{
"_key" : "13130",
"_id" : "products/13130",
"_rev" : "_WgE8LAW--_",
"Hello4" : "World4"
},
{
"_key" : "13133",
"_id" : "products/13133",
"_rev" : "_WgE8LAW--B",
"Hello5" : "World5"
}
],
"hasMore" : true,
"id" : "13136",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.0004379749298095703
},
"warnings" : [ ]
},
"cached" : false
}