Request

{
	"user_id":1,
	"name":"playlist1",
	"tag":"genre",
	"songs": [
		{"id":"4Gmdm6oRVwJgsM8gYnwRoE",
		"title":"Tenth Avenue Freeze-Out",
		"artist":"Bruce Springsteen",
		"duration":190466,
		"file":"<https://p.scdn.co/mp3-preview/0e7f39a9c6c767007ed8fad3cbc277f4f0fc429c?cid=c6cb940d34be48a4ba99edee4d43fc63>",
		"title_album":"Born To Run",
		"image_album":"<https://i.scdn.co/image/ab67616d0000b273503143a281a3f30268dcd9f9>"}
		,
		{"id":"0pAPFaE1Iwfvex9EVJuQlG",
		"title":"Control (Somehow You Want Me)",
		"artist":"Tenth Avenue North",
		"duration":248733,
		"file":"<https://p.scdn.co/mp3-preview/7be1d3ba854aacf7d0a1ac2f9140685bc8038245?cid=c6cb940d34be48a4ba99edee4d43fc63>",
		"title_album":"Followers",
		"image_album":"<https://i.scdn.co/image/ab67616d0000b27369fa55f10c5293bbb985c1af>"}
	]
}

Response

user가 없을 경우(로그인이 안 된 경우)

{
    "status": "error",
    "message": "You need to login first"
}

-request에 songs 목록이 있으면

{"status": "success", "message": "successfully saved"}

-request에 songs 목록이 없으면

"status":"error",
"message":"no songs data"

request

{ 
	"user_id": 1
}

response

{
    "username": "harry",
    "playlist": [
        {
            "id": 27,
            "name": "playlist1",
            "tag": "genre"
        },
        {
            "id": 28,
            "name": "rock playlist",
            "tag": "rock"
        }
    ],
    "image": [
        {
            "27": [
                "<https://i.scdn.co/image/ab67616d0000b273503143a281a3f30268dcd9f9>",
                "<https://i.scdn.co/image/ab67616d0000b27369fa55f10c5293bbb985c1af>"
            ]
        },
        {
            "28": [
                "<https://i.scdn.co/image/ab67616d0000b2733efcd243aaa5638f55318f91>",
                "<https://i.scdn.co/image/ab67616d0000b27343294cfa2688055c9d821bf3>",
                "<https://i.scdn.co/image/ab67616d0000b273dcd829318f889df294d2bb7a>",
                "<https://i.scdn.co/image/ab67616d0000b27336572e6726714544f5bed456>"
            ]
        }
    ]
}