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
{
"result" : [
{
"_key" : "11185",
"_id" : "products/11185",
"_rev" : "11185",
"a" : {
"k" : 1,
"j" : 1
},
"i" : 1
},
{
"_key" : "11189",
"_id" : "products/11189",
"_rev" : "11189",
"a" : {
"j" : 1
},
"i" : 1
}
],
"hasMore" : false,
"count" : 2,
"error" : false,
"code" : 201
}