https://explorer.metacpan.org
/v1/release
{
"aggs": {
"status": {
"terms": {
"field": "status"
}
}
},
"query": {
"match_all": {}
},
"size": 0
}
{
"timed_out" : false,
"aggregations" : {
"status" : {
"sum_other_doc_count" : 0,
"doc_count_error_upper_bound" : 0,
"buckets" : [
{
"key" : "backpan",
"doc_count" : 192273
},
{
"doc_count" : 99043,
"key" : "cpan"
},
{
"doc_count" : 36433,
"key" : "latest"
}
]
}
},
"_shards" : {
"successful" : 3,
"failed" : 0,
"total" : 3
},
"hits" : {
"max_score" : 0.0,
"hits" : [],
"total" : 327749
},
"took" : 24
}