class StatusController {

    @GetMapping("/competition/{competitionId}")
    public RestResult<ProjectStatusPageResource> getCompetitionStatus(@PathVariable final long competitionId,
                                                                      @RequestParam(name = "applicationSearchString", defaultValue = "") String applicationSearchString,
                                                                      @RequestParam(value = "page", defaultValue = DEFAULT_PAGE_NUMBER) int page,
                                                                      @RequestParam(value = "size", defaultValue = DEFAULT_PAGE_SIZE) int size) {
        return internalUserProjectStatusService.getCompetitionStatus(competitionId, StringUtils.trim(applicationSearchString), page, size).toGetResponse();
    }

}