Get Detail Genre
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/genre?id=(id)
Response : 200 - OK
[
{
"id": 1,
"name": "Pop",
"created_at": "2022-12-22T13:37:09.832956+00:00",
"artists": [
{
"id": 1,
"created_at": "2022-07-06T10:43:42+00:00",
"name": "Noah",
"cover_url": "https://i.scdn.co/image/ab6761610000e5eba8fe25ec607f3cca02f5db6c",
"genre_id": 1
}
]
}
]
Response : 404 - Not Found
Not Found
Response : 500 - Server Error
Internal Server Error