Class HubReportController

java.lang.Object
io.meeds.tenant.hub.rest.HubReportController

@RestController @RequestMapping("reports") public class HubReportController extends Object
  • Constructor Details

    • HubReportController

      public HubReportController()
  • Method Details

    • getReports

      @GetMapping @Secured("rewarding") public org.springframework.hateoas.PagedModel<org.springframework.hateoas.EntityModel<HubReportLocalStatus>> getReports(jakarta.servlet.http.HttpServletRequest request, org.springframework.data.domain.Pageable pageable, org.springframework.data.web.PagedResourcesAssembler<HubReportLocalStatus> assembler)
    • getReport

      @GetMapping("{periodId}") @Secured("rewarding") public HubReportLocalStatus getReport(@PathVariable("periodId") long periodId, @RequestParam("refresh") boolean refresh)
    • sendReport

      @PutMapping("{periodId}") @Secured("rewarding") public HubReportLocalStatus sendReport(@PathVariable("periodId") long periodId)