-
Notifications
You must be signed in to change notification settings - Fork 2
Emirhan`s Music Suggester Documentation
Emirhan Yasin Cetin edited this page May 12, 2019
·
3 revisions
A user can GET, PUT and DELETE songs and the endpoint returns a JSON
object.
Url extension: /music/v1/songs
{
"title": "Dark Side of The Moon",
"artist": "Pink Floyd"
}
If successful:
{
"title": "Symphony No. 40",
"artist": "Amadeus Mozart"
}
If not successful:
{
"message": "Song with id: {} does not exist",
}
If successful:
{
"title": "They Don't Care About Us",
"artist": "Michael Jackson"
}
If not successful:
{
"message": "Song with id: {} does not exist",
}