Total Song by Playlist
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-playlist
Response : 200 - OK
[
{
"id": 1,
"label": "Noah Top 10 ",
"total": 10
},
{
"id": 2,
"label": "Coldplay Top 10",
"total": 10
},
{
"id": 3,
"label": "Guns n Roses Top 5",
"total": 5
},
{
"id": 4,
"label": "Kshmr Top 5",
"total": 5
}
]
Response : 404 - Not Found
Not Found
Response : 500 - Server Error
Internal Server Error