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

32 lines
611 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/first
{ "collection": "products", "count" : 2 }
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "products/1278240194",
"_key" : "1278240194",
"_rev" : "1278240194",
"i" : 1,
"a" : {
"k" : 1,
"j" : 1
}
},
{
"_id" : "products/1278567874",
"_key" : "1278567874",
"_rev" : "1278567874",
"i" : 1,
"a" : {
"j" : 1
}
}
],
"error" : false,
"code" : 200
}