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
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 tohttps://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