1
0
Fork 0
arangodb/Documentation/Examples/api-simple-range

17 lines
431 B
Plaintext

> curl --data @- -X PUT --dump - http://localhost:8529/_api/simple/range
{ "collection" : "6328369086", "attribute" : "i", "left" : 2, "right" : 4 }
HTTP/1.1 201 Created
content-type: application/json
{
"code": 201,
"result": [
{ "_id": "6328369086/6329876414", "i": 2, "_rev": "6329876414" },
{ "_id": "6328369086/6329941950", "i": 3, "_rev": "6329941950" }
],
"count": 2,
"hasMore": false,
"error": false
}