Class TuteeController
java.lang.Object
inha.dayoook_e.tutee.api.controller.TuteeController
TuteeController은 튜티 관련 엔드포인트를 처리.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBaseResponse<org.springframework.data.domain.Slice<SearchTuteeApplicationResponse>>
getTuteeApplications
(User user, Integer page, Status status) 튜티 신청 내역 조회 APIgetTuteeSchedule
(User user, Integer year, Integer month)
-
Constructor Details
-
TuteeController
public TuteeController()
-
-
Method Details
-
getTuteeApplications
@GetMapping("/applications") public BaseResponse<org.springframework.data.domain.Slice<SearchTuteeApplicationResponse>> getTuteeApplications(@AuthenticationPrincipal User user, @RequestParam("page") Integer page, @RequestParam(value="status",required=false) Status status) 튜티 신청 내역 조회 API튜티가 신청한 수업 목록을 조회합니다.
- Parameters:
user
- 사용자 정보page
- 페이지 번호status
- 상태- Returns:
- 튜티 신청 내역 조회 결과를 포함하는 BaseResponse<Slice
>
-
getTuteeSchedule
@GetMapping("/schedule") public BaseResponse<TuteeScheduleResponse> getTuteeSchedule(@AuthenticationPrincipal User user, @RequestParam(required=false,value="year") Integer year, @RequestParam(required=false,value="month") Integer month)
-