Lightweight Playlisting API built using Node JS and Express.
Uses https://github.com/felixge/node-dirty as in memory store.
Request
POST /playlist/create
Body:
{ "name": "My first playlist" }Response
{
"id": "1234",
"name": "My first playlist",
"tracks": {}
}Request
POST /playlist/1234/track/5678
Body:
{
"trackName": "Reckoner",
"artistName": "Radiohead",
"imageUri": "http://image.url.com"
}Response
{
"id": "5678"
"trackName": "Reckoner",
"artistName": "Radiohead",
"imageUri": "http://image.url.com"
}Request
GET /playlist/1234Response
{
"id": "1234",
"name": "My first playlist",
"tracks":
{
"id": "5678"
"trackName": "Reckoner",
"artistName": "Radiohead",
"imageUri": "http://image.url.com"
}
}