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/1478937843",
"_key" : "1478937843",
"_rev" : "1478937843",
"Hello1" : "World1"
},
{
"_id" : "products/1479920883",
"_key" : "1479920883",
"_rev" : "1479920883",
"Hello4" : "World4"
}
],
"hasMore" : false,
"count" : 2,
"error" : false,
"code" : 201
}