shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/all-keys <<EOF
{
"collection" : "products"
}
EOF
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"result" : [
"/_db/_system/_api/document/products/10816",
"/_db/_system/_api/document/products/10812",
"/_db/_system/_api/document/products/10819"
],
"hasMore" : false,
"cached" : false,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 3,
"scannedIndex" : 0,
"filtered" : 0,
"httpRequests" : 0,
"executionTime" : 0.00018787384033203125
},
"warnings" : [ ]
},
"error" : false,
"code" : 201
}