As a user when I send a get request to /api/v1/favorites/:id the response returns the favorite object with the specific :id you’ve passed in. A 404 is returned if the favorite is not found.
Example Response:
[
{
"id": 1,
"name": "We Will Rock You",
"artist_name": "Queen"
"genre": "Rock",
"rating": 88
}
]
As a user when I send a get request to /api/v1/favorites/:id the response returns the favorite object with the specific :id you’ve passed in. A 404 is returned if the favorite is not found.
Example Response:
[ { "id": 1, "name": "We Will Rock You", "artist_name": "Queen" "genre": "Rock", "rating": 88 } ]