shell> curl -X PUT --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/simple/all <<EOF
{ "collection": "products", "skip": 2, "limit" : 2 }
EOF
HTTP/1.1 Created
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"result" : [
{
"_key" : "105572",
"_id" : "products/105572",
"_rev" : "_Y2g62Ky--D",
"Hello3" : "World3"
},
{
"_key" : "105575",
"_id" : "products/105575",
"_rev" : "_Y2g62Ky--F",
"Hello4" : "World4"
}
],
"hasMore" : false,
"count" : 2,
"cached" : false,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 4,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.00014925003051757812,
"peakMemoryUsage" : 2408
},
"warnings" : [ ]
},
"error" : false,
"code" : 201
}