Class ProfessorController

java.lang.Object
inha.git.user.api.controller.ProfessorController

@RestController @RequestMapping("/api/v1/professors") public class ProfessorController extends Object
  • 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>