👜나의 여행 조회
내가 작성한 여행 목록, 내가 좋아요 누른 여행 목록 조회 api
내가 작성한 여행 전체 목록을 조회합니다.
GET http:localhost:8080/api/user/trip-list
{
"status": "OK",
"msg": "사용자 여행 검색 완료",
"data": [
{
"tripId": 1,
"userId": 1,
"tripName": "제주도 여행",
"startDate": "2023-05-01",
"endDate": "2023-05-05",
"isDomestic": true,
"tripPeriod": "4days"
},
{
"tripId": 2,
"userId": 1,
"tripName": "유럽럽 여행",
"startDate": "2023-05-01",
"endDate": "2023-05-05",
"isDomestic": false,
"tripPeriod": "4days"
}
]
}내가 작성한 여행 중 특정 여행을 여정과 함께 조회합니다.
GET http:localhost:8080/api/user/trip-detail
Path Parameters
Name
Type
Description
tripId*
Long
여행의 id
내가 좋아요💛 누른 여행 목록을 조회합니다.
GET http:localhost:8080/api/user/trip-like-list
Last updated