Class AuditApiController

java.lang.Object
org.saidone.controller.AuditApiController

@RestController @RequestMapping("/api/audit") public class AuditApiController extends Object
  • Constructor Details

    • AuditApiController

      public AuditApiController()
  • Method Details

    • getEntries

      @GetMapping public org.springframework.http.ResponseEntity<List<AuditEntry>> getEntries(@RequestHeader(value="Authorization",required=false) String auth, @RequestParam(required=false) String type, @RequestParam(required=false) Instant from, @RequestParam(required=false) Instant to, @RequestParam(required=false,defaultValue="0") int page, @RequestParam(required=false,defaultValue="20") int size)