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