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