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) getReports(int offset, int limit) sendReport(long periodId)
-
Constructor Details
-
HubReportController
public HubReportController()
-
-
Method Details
-
getReports
@GetMapping @Secured("rewarding") public List<HubReportLocalStatus> getReports(@RequestParam("offset") int offset, @RequestParam("limit") int limit) -
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)
-