Class ProjectStarController

java.lang.Object
inha.git.project.api.controller.ProjectStarController

@RestController @RequestMapping("/api/v1/project/star") public class ProjectStarController extends Object
ProjectStarController는 project Star 게시글 관련 엔드포인트를 처리.
  • Constructor Details

    • ProjectStarController

      public ProjectStarController()
  • Method Details

    • searchProjectStar

      @GetMapping("/{projectIdx}") public BaseResponse<SearchProjectStarResponses> searchProjectStar(@AuthenticationPrincipal User user, @PathVariable("projectIdx") Integer projectIdx)
      프로젝트 Star 조회 API

      프로젝트 Star를 조회합니다.

      Parameters:
      user - 사용자 정보
      projectIdx - 프로젝트 인덱스
      Returns:
      조회된 프로젝트 Star 정보를 포함하는 BaseResponse
    • searchProjectStarPage

      @GetMapping public BaseResponse<org.springframework.data.domain.Page<SearchProjectStarResponses>> searchProjectStarPage(@RequestParam("page") Integer page, @RequestParam("size") Integer size)
      프로젝트 Star 페이징 조회 API

      프로젝트 Star를 페이징 조회합니다.

      Parameters:
      page - 페이지
      size - 사이즈
      Returns:
      프로젝트 Star 페이징 조회 결과를 포함하는 BaseResponse<Page>