Skip to content

유저페이지 조회

So Hyeon edited this page Mar 31, 2023 · 1 revision

[GET] ~/api/v1/members/page/{memberId}

Request

Request-Header

이름 태그
applicaion/json applicaion/json

Request-Param

이름 태그 텍스트
memberId Number 유저 고유 id

Response

Response-Body

이름 태그 텍스트
memberId Number 유저 고유 id
nickname String 유저 닉네임
count Number 로그온 유저가 마셔본 술 개수
alcohols Object[] 유저가 먹어본 전통주 정보 리스트
alcoholId Number 전통주 고유 id
name String 전통주 이름
imageUrl String 전통주 이미지 url

200 OK

{
    "success": true,
    "message": "유저 페이지 조회 성공",
    "data": {
        "memberId": 1,
        "nickname": "탐라주",
        "count": 1,
        "alcohols": [
            {
                "alcoholId": 1,
                "name": null,
                "imageUrl": null
            }
        ]
    }
}

404 Not Found

{
    "success": false,
    "message": "해당 유저가 존재하지 않습니다.",
    "data": null
}