Closed danbriechle closed 5 years ago
As a user when I send a get request to /api/v1/favorites
The response returns all favorited songs currently in the database.
The index of favorites will be returned in the following format:
[ { "id": 1, "name": "We Will Rock You", "artist_name": "Queen" "genre": "Rock", "rating": 88 }, { "id": 2, "name": "Careless Whisper", "artist_name": "George Michael" "genre": "Pop", "rating": 93 }, ]
As a user when I send a get request to /api/v1/favorites
The response returns all favorited songs currently in the database.
The index of favorites will be returned in the following format:
[ { "id": 1, "name": "We Will Rock You", "artist_name": "Queen" "genre": "Rock", "rating": 88 }, { "id": 2, "name": "Careless Whisper", "artist_name": "George Michael" "genre": "Pop", "rating": 93 }, ]