Skip to content

추천곡리스트조회

SimJungUk edited this page Jul 11, 2019 · 1 revision

추천곡 리스트 조회

메소드 경로 짧은 설명
GET /pl/recommend 추천곡 리스트 조회

요청 헤더

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

응답 바디

추천곡 조회 성공

{
    "status": 200,
    "success": true,
    "data": [
        {
            "genre": [
                "g6"
            ],
            "mood": [
                "m6"
            ],
            "_id": "5d25a417812cc6456c344ae8",
            "originTitle": "이것은제목이다",
            "userIdx": 103,
            "coverArtistName": "석영현",
            "streamCount": 0,
            "likeCount": 0,
            "artwork": "https://simjus3.s3.ap-northeast-2.amazonaws.com/1562721263387.jpg",
            "originArtistIdx": 2,
            "originArtistName": "알라딘",
            "enrollTime": "2019-07-10T02:39:03.054Z",
            "songUrl": "https://simjus3.s3.ap-northeast-2.amazonaws.com/1562721263403.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
        }
    ]
}

비회원일 경우

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

INTERNAL SERVER ERROR

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

Clone this wiki locally