Skip to content

플레이리스트곡조회

SimJungUk edited this page Jul 12, 2019 · 1 revision

플레이 리스트 곡 조회

메소드 경로 짧은 설명
GET /pl/playlists/{playlistIdx} 플레이 리스트 곡 조회

요청 헤더

Content-Type: application/json
Authorization: Json Web Token

응답 바디

플레이리스트 조회 성공

{
    "status": 200,
    "success": true,
    "data": {
        "songList": [
            {
                "genre": [
                    "g6"
                ],
                "mood": [
                    "m6"
                ],
                "_id": "5d25baf914f0f71c24b85135",
                "originTitle": "빨간맛",
                "userIdx": 103,
                "coverArtistName": "석영현",
                "streamCount": 0,
                "likeCount": 0,
                "artwork": "https://project-wave-1.s3.ap-northeast-2.amazonaws.com/80964658_1499421855077_1_600x600.jpg",
                "originArtistIdx": 8,
                "originArtistName": "알라딘",
                "enrollTime": "2019-07-10T02:39:03.054Z",
                "songUrl": "https://project-wave-1.s3.ap-northeast-2.amazonaws.com/%EB%B9%A8%EA%B0%84+%EB%A7%9B+(Red+Flavor)_Red+Velvet+(%EB%A0%88%EB%93%9C%EB%B2%A8%EB%B2%B3)_320k.mp3",
                "songComment": "이것은코멘트이다코멘트는코멘트야",
                "reportCount": 0,
                "rateScore": 100,
                "highlightTime": "1:34",
                "songStatus": 1,
                "uploadDate": "2019-07-10T01:14:24.000Z",
                "deleteTime": "2019-07-17T01:14:24.000Z",
                "rateUserCount": 20
            },
            {
                "genre": [
                    "g6"
                ],
                "mood": [
                    "m6"
                ],
                "_id": "5d25bad614f0f71c24b85134",
                "originTitle": "TV를껏어",
                "userIdx": 103,
                "coverArtistName": "석영현",
                "streamCount": 0,
                "likeCount": 0,
                "artwork": "https://project-wave-1.s3.ap-northeast-2.amazonaws.com/4e680d9c75643ab514130609b0c05e38.1000x1000x1.jpg",
                "originArtistIdx": 8,
                "originArtistName": "알라딘",
                "enrollTime": "2019-07-10T02:39:03.054Z",
                "songUrl": "https://project-wave-1.s3.ap-northeast-2.amazonaws.com/TV%EB%A5%BC+%EA%BB%90%EB%84%A4...+(feat.+t%EC%9C%A4%EB%AF%B8%EB%9E%98%2C+%EA%B6%8C%EC%A0%95%EC%97%B4+Of+10cm)_%EB%A6%AC%EC%8C%8D(Leessang)_192k.mp3",
                "songComment": "이것은코멘트이다코멘트는코멘트야",
                "reportCount": 0,
                "rateScore": 100,
                "highlightTime": "1:34",
                "songStatus": 1,
                "uploadDate": "2019-07-10T01:14:24.000Z",
                "deleteTime": "2019-07-17T01:14:24.000Z",
                "rateUserCount": 20
            },
            {
                "genre": [
                    "g6"
                ],
                "mood": [
                    "m6"
                ],
                "_id": "5d25baa414f0f71c24b85133",
                "originTitle": "롤러코스터",
                "userIdx": 103,
                "coverArtistName": "석영현",
                "streamCount": 0,
                "likeCount": 0,
                "artwork": "https://project-wave-1.s3.ap-northeast-2.amazonaws.com/99A3094C5A654BDA36.jpg",
                "originArtistIdx": 8,
                "originArtistName": "알라딘",
                "enrollTime": "2019-07-10T02:39:03.054Z",
                "songUrl": "https://project-wave-1.s3.ap-northeast-2.amazonaws.com/Roller+Coaster_%EC%B2%AD%ED%95%98_320k.mp3",
                "songComment": "이것은코멘트이다코멘트는코멘트야",
                "reportCount": 0,
                "rateScore": 100,
                "highlightTime": "1:34",
                "songStatus": 1,
                "uploadDate": "2019-07-10T01:14:24.000Z",
                "deleteTime": "2019-07-17T01:14:24.000Z",
                "rateUserCount": 20
            }
        ],
        "_id": "5d253f23f061683d225ff86c",
        "playlistName": "upload",
        "playlistComment": "업로드한곡",
        "userIdx": 105
    }
}

플레이리스트를 찾을 수 없을 경우

{
    "status": 404,
    "success": true,
    "message": "플레이리스트를 찾을 수 없습니다."
}

비회원일 경우

{
    "status": 404,
    "success": false,
    "message": "토큰과 일치하는 유저가 없습니다."
}

INTERNAL SERVER ERROR

{
    "status": 500,
    "success": false,
    "message": "INTERNAL SERVER ERROR",
}

Clone this wiki locally