We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
사용자의 마이페이지에 필요한 API 개발이 필요합니다. 마이페이지에서는 사용자가 좋아요한 장소/코스, 저장한 장소/코스, 방문 일정, 리뷰 등의 정보를 볼 수 있어야 합니다.
GET /api/users/me
PUT /api/users/me
GET /api/users/me/liked/places
GET /api/users/me/liked/courses
GET /api/users/me/bookmarks/places
GET /api/users/me/bookmarks/courses
GET /api/users/me/reviews
GET /api/users/me/visits
PUT /api/users/me/preferences/theme
// 사용자 프로필 정보 { "id": 1, "nickname": "사용자 닉네임", "profileImage": "이미지 URL", "email": "[email protected]", "theme": "PURPLE", "createdAt": "2023-01-01T00:00:00" } // 좋아요/저장한 장소 목록 { "content": [ { "id": 1, "name": "장소 이름", "thumbnail": "이미지 URL", "category": { "id": 1, "name": "카테고리" }, "likeCount": 10, "reviewCount": 5, "averageRating": 4.5 } ], "pageable": { "pageNumber": 0, "pageSize": 10, "sort": { "empty": false, "sorted": true, "unsorted": false } }, "totalElements": 100, "totalPages": 10, "last": false, "size": 10, "number": 0, "sort": { "empty": false, "sorted": true, "unsorted": false }, "numberOfElements": 10, "first": true, "empty": false } // 테마 설정 { "theme": "PURPLE" }
첨부된 UI 디자인 이미지를 참고하여 필요한 데이터 구조 설계
The text was updated successfully, but these errors were encountered:
Zerohertz
No branches or pull requests
개요
사용자의 마이페이지에 필요한 API 개발이 필요합니다. 마이페이지에서는 사용자가 좋아요한 장소/코스, 저장한 장소/코스, 방문 일정, 리뷰 등의 정보를 볼 수 있어야 합니다.
필요한 기능
API 엔드포인트
GET /api/users/me
: 사용자 프로필 정보 조회PUT /api/users/me
: 사용자 프로필 정보 수정GET /api/users/me/liked/places
: 좋아요한 장소 목록 조회GET /api/users/me/liked/courses
: 좋아요한 코스 목록 조회GET /api/users/me/bookmarks/places
: 저장한 장소 목록 조회GET /api/users/me/bookmarks/courses
: 저장한 코스 목록 조회GET /api/users/me/reviews
: 작성한 리뷰 목록 조회GET /api/users/me/visits
: 방문 일정 목록 조회PUT /api/users/me/preferences/theme
: 색상 테마 설정응답 형식 (예시)
추가 고려 사항
참고 이미지
첨부된 UI 디자인 이미지를 참고하여 필요한 데이터 구조 설계
The text was updated successfully, but these errors were encountered: