shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all <<EOF
{ "collection": "products", "skip": 2, "limit" : 2 }
EOF
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"result" : [
{
"_key" : "11390",
"_id" : "products/11390",
"_rev" : "_XiAwSLu--_",
"Hello5" : "World5"
},
{
"_key" : "11381",
"_id" : "products/11381",
"_rev" : "_XiAwSLq--B",
"Hello2" : "World2"
}
],
"hasMore" : false,
"count" : 2,
"cached" : false,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 4,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.0001227855682373047
},
"warnings" : [ ]
},
"error" : false,
"code" : 201
}