Skip to content

상세조회

황규철 edited this page Nov 18, 2020 · 4 revisions

여행지 상세 뷰 조회

메소드 경로 설명
GET /place/detail/:placeIdx 여행지 상세 뷰 조회

요청 헤더

Content-Type: application/json
Header: jwt token

응답 바디

SUCCESS : 여행지 상세 뷰 조회 성공

{
    "status": 200,
    "success": true,
    "message": "장소 세부 뷰 성공",
    "data": {
        "placeIdx": 3,
        "placeCategoryIdx": 1,
        "placeAddress": "서울",
        "placeTitle": "여기짱",
        "placeName": "서울공원6",
        "placeDate": "2020-11-11T15:00:00.000Z",
        "placeStar": 0,
        "placeReviewCnt": 0,
        "placeLikeCnt": 0,
        "placeContent": "good",
        "placeStore": 1,
        "placeCooking": 0,
        "placeLatitude": 37.66966886,
        "placeLongitude": 126.8101355,
        "placeThumbnail": "https://hwangkyucheol.s3.ap-northeast-2.amazonaws.com/1605175906572.png",
        "placeAvgStar": null,
        "placeCategoryName": "경기도",
        "placeImg": [
            "https://hwangkyucheol.s3.ap-northeast-2.amazonaws.com/1605175906573.png"
        ],
        "placeToilet": [
            {
                "toiletLatitude": 37.66966886,
                "toiletLongitude": 126.8101355
            },
            {
                "toiletLatitude": 37.66966886,
                "toiletLongitude": 126.8101355
            },
            {
                "toiletLatitude": 37.6697069,
                "toiletLongitude": 126.8092013
            },
            {
                "toiletLatitude": 37.6697069,
                "toiletLongitude": 126.8092013
            },
            {
                "toiletLatitude": 37.67051983,
                "toiletLongitude": 126.8104099
            },
            {
                "toiletLatitude": 37.67051983,
                "toiletLongitude": 126.8104099
            }
        ],
        "userLike": false
    }
}