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

24 lines
493 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/by-example
{ "collection": "products", "example" : { "a" : { "j" : 1 } } }
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "products/1346987478",
"_key" : "1346987478",
"_rev" : "1346987478",
"i" : 1,
"a" : {
"j" : 1
}
}
],
"hasMore" : false,
"count" : 1,
"error" : false,
"code" : 201
}