Package inha.git.user.api.controller
Class ProfessorController
java.lang.Object
inha.git.user.api.controller.ProfessorController
@RestController
@RequestMapping("/api/v1/professors")
public class ProfessorController
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBaseResponse<org.springframework.data.domain.Page<SearchStudentResponse>>
getProfessorStudents
(User user, String search, Integer page) 교수 전용 학생 검색 API
-
Constructor Details
-
ProfessorController
public ProfessorController()
-
-
Method Details
-
getProfessorStudents
@GetMapping("/students") public BaseResponse<org.springframework.data.domain.Page<SearchStudentResponse>> getProfessorStudents(@AuthenticationPrincipal User user, @RequestParam(value="search",required=false) String search, @RequestParam("page") Integer page) 교수 전용 학생 검색 API교수 전용 학생 검색 API입니다.
- Parameters:
search
- 검색어page
- 페이지 번호- Returns:
- 검색된 학생 정보를 포함하는 BaseResponse<Page
>
-