Skip to content

Emirhan`s Music Suggester Documentation

Emirhan Yasin Cetin edited this page May 12, 2019 · 3 revisions

Music Suggestion

A user can GET, PUT and DELETE songs and the endpoint returns a JSON object.

Usage

Url extension: /music/v1/songs

GET

{
"title": "Dark Side of The Moon", 
"artist": "Pink Floyd" 
}

PUT

If successful:

{
"title": "Symphony No. 40", 
"artist": "Amadeus Mozart" 
}

If not successful:

{
"message": "Song with id: {} does not exist", 
}

DELETE

If successful:

{
"title": "They Don't Care About Us", 
"artist": "Michael Jackson" 
}

If not successful:

{
"message": "Song with id: {} does not exist", 
}

🏠 Home

📃 Assignments

👯 Team Members

📚 Resources

Clone this wiki locally