FasTracks / FasTracks-BE

0 stars 0 forks source link

BE - US4 add songs to a playlist #3

Closed kameronk92 closed 10 months ago

kameronk92 commented 10 months ago

BE US2 makes a GET request to spotify for workout songs and consume API JSON of spotify track uri's to US4.

US4 will send a POST request to https://api.spotify.com/v1/playlists/{playlist_id}/tracks with the JSON of spotify track uri's in the body.

If successful, a link to the playlist will be provided. And served to FE app

As a BE generator, when I consume the spotify get tracks endpoint I will POST new tracks to our generated playlist (US3) When playlist is done, I will send completed JSON info to FE app