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/1322411478",
"_key" : "1322411478",
"_rev" : "1322411478",
"Hello2" : "World2"
},
{
"_id" : "products/1323066838",
"_key" : "1323066838",
"_rev" : "1323066838",
"Hello4" : "World4"
},
{
"_id" : "products/1322739158",
"_key" : "1322739158",
"_rev" : "1322739158",
"Hello3" : "World3"
}
],
"hasMore" : true,
"id" : "1323591126",
"count" : 5,
"error" : false,
"code" : 201
}