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

34 lines
741 B
Plaintext

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