shell> curl -X PUT --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/simple/range <<EOF
{
"collection" : "products",
"attribute" : "i",
"left" : 2,
"right" : 4
}
EOF
HTTP/1.1 Created
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"result" : [
{
"_key" : "70828",
"_id" : "products/70828",
"_rev" : "_ZXF6Z9a--B",
"i" : 2
},
{
"_key" : "70830",
"_id" : "products/70830",
"_rev" : "_ZXF6Z9a--D",
"i" : 3
}
],
"hasMore" : false,
"count" : 2,
"error" : false,
"code" : 201
}