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 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)