1
0
Fork 0
arangodb/Documentation/Examples/RestSimpleAllSkipLimit.gene...

39 lines
810 B
Plaintext

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
{
"result" : [
{
"Hello3" : "World3",
"_id" : "products/838398859",
"_rev" : "838398859",
"_key" : "838398859"
},
{
"Hello2" : "World2",
"_id" : "products/838071179",
"_rev" : "838071179",
"_key" : "838071179"
}
],
"hasMore" : false,
"count" : 2,
"cached" : false,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 5,
"scannedIndex" : 0,
"filtered" : 0
},
"warnings" : [ ]
},
"error" : false,
"code" : 201
}