justinmauldin7 / Play_BE

0 stars 1 forks source link

Get Favorites Show Endpoint #14

Closed danbriechle closed 5 years ago

danbriechle commented 5 years ago

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 } ]