- Add a favorite to the database
- user_id and spotify_id requires
- ex. {
"spotify_id": "2374M0fQpWi3dLnB54qaLX",
"user_id": 1
}
- Get a list of current users favorites
- must pass the user id in the url
- Change a favorite track (not really needed Its just for my MVP)
- user_id and spotify_id required
- must pass the track id in the url
- deletes a track from favorites
- must pass track id in the url
- adds a user to the database
- username, email, password required
- sends back token and user data
- sends back token
- username and password required
- gets a list of tracks based of users search params
- gets data for a specific track
- must pass the spotify id in the url
- gets a list of tracks
- must provide an array of spotify ids in the form of...
{
"ids": ["2374M0fQpWi3dLnB54qaLX", "1irAliF0T8sLIOPJp6n7rU"]
}
- no limit to amount of ids