1
0
Fork 0
arangodb/Documentation/Examples/RestSimpleAllBatch.generated

35 lines
751 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all <<EOF
{ "collection": "products", "batchSize" : 3 }
EOF
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "products/1481231603",
"_key" : "1481231603",
"_rev" : "1481231603",
"Hello2" : "World2"
},
{
"_id" : "products/1480903923",
"_key" : "1480903923",
"_rev" : "1480903923",
"Hello1" : "World1"
},
{
"_id" : "products/1482214643",
"_key" : "1482214643",
"_rev" : "1482214643",
"Hello5" : "World5"
}
],
"hasMore" : true,
"id" : "1482411251",
"count" : 5,
"error" : false,
"code" : 201
}