shell> curl --header 'accept: application/json' --dump - http://localhost:8529/_api/collection/products/count
HTTP/1.1 OK
content-type: application/json; charset=utf-8
location: /_api/collection/products/count
x-content-type-options: nosniff
{
"error" : false,
"code" : 200,
"waitForSync" : true,
"type" : 2,
"status" : 3,
"journalSize" : 33554432,
"isVolatile" : false,
"name" : "products",
"doCompact" : true,
"isSystem" : false,
"count" : 100,
"keyOptions" : {
"allowUserKeys" : true,
"type" : "traditional",
"lastValue" : 103593
},
"globallyUniqueId" : "h2C16B688710C/103288",
"statusString" : "loaded",
"id" : "103288",
"indexBuckets" : 8
}