Skip to content

Added album to music api with album data#73

Merged
ageddesi merged 2 commits intoageddesi:v.0.13.0from
jkol7:jk-add
Oct 2, 2022
Merged

Added album to music api with album data#73
ageddesi merged 2 commits intoageddesi:v.0.13.0from
jkol7:jk-add

Conversation

@jkol7
Copy link
Contributor

@jkol7 jkol7 commented Oct 1, 2022

Added album route for issue.

@ageddesi ageddesi changed the base branch from main to v.0.13.0 October 2, 2022 06:50
song: string
}

interface Album {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move this interface into a new folder under music called 'consts' please. :)

})

app.get("/album/", (req: Request, res: Response) => {
let data: Album[] = []
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you able to add a qty in the url to help define the amount of songs that are returned in the playlist. :)

@ageddesi
Copy link
Owner

ageddesi commented Oct 2, 2022

HI @jkol7, thank you for the PR.
If you are able and know how to update the swagger.json file to include your new endpoint that would be awesome as well.

…include quantity of songs. Added Album to swagger and also fixed music text in swagger as it was about football.
@ageddesi
Copy link
Owner

ageddesi commented Oct 2, 2022

@jkol7 So to confirm can you close this one if no longer needed. Thank you :)

@ageddesi ageddesi added the invalid This doesn't seem right label Oct 2, 2022
@ageddesi ageddesi merged commit 1bc27de into ageddesi:v.0.13.0 Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants