Total Song by Artist
To get the data in the specified collection. If no parameters are passed, it lists all of them. Otherwise, it lists the documents in the collection matching the specified parameters:
Method : GET
URL : /api/statistics/song-by-artist
Response : 200 - OK
[
{
"id": 1,
"label": "Noah",
"total": 49
},
{
"id": 2,
"label": "Guns n Roses",
"total": 14
},
{
"id": 3,
"label": "Coldplay",
"total": 18
},
{
"id": 4,
"label": "Kshmr",
"total": 7
}
]
Response : 404 - Not Found
Not Found
Response : 500 - Server Error
Internal Server Error