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

27 lines
585 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all
{ "collection": "products", "skip": 2, "limit" : 2 }
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "products/1246374051",
"_key" : "1246374051",
"_rev" : "1246374051",
"Hello1" : "World1"
},
{
"_id" : "products/1246701731",
"_key" : "1246701731",
"_rev" : "1246701731",
"Hello2" : "World2"
}
],
"hasMore" : false,
"count" : 2,
"error" : false,
"code" : 201
}