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

28 lines
595 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" : [
{
"_id" : "products/1465263157",
"_key" : "1465263157",
"_rev" : "1465263157",
"Hello2" : "World2"
},
{
"_id" : "products/1465590837",
"_key" : "1465590837",
"_rev" : "1465590837",
"Hello3" : "World3"
}
],
"hasMore" : false,
"count" : 2,
"error" : false,
"code" : 201
}