Package io.meeds.tenant.hub.rest
Class HubReportController
java.lang.Object
io.meeds.tenant.hub.rest.HubReportController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetReport(long periodId, boolean refresh) 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) sendReport(long periodId)
-
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)
-