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
{
"error" : false,
"code" : 201,
"result" : [
{
"_key" : "10469",
"_id" : "products/10469",
"_rev" : "_U-_qVNy--_",
"Hello5" : "World5"
},
{
"_key" : "10460",
"_id" : "products/10460",
"_rev" : "_U-_qVNu--_",
"Hello2" : "World2"
},
{
"_key" : "10466",
"_id" : "products/10466",
"_rev" : "_U-_qVNy---",
"Hello4" : "World4"
}
],
"hasMore" : true,
"id" : "10472",
"count" : 5,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0,
"executionTime" : 0.0003428459167480469
},
"warnings" : [ ]
},
"cached" : false
}