Package org.saidone.controller
Class AuditApiController
java.lang.Object
org.saidone.controller.AuditApiController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<List<AuditEntry>> getEntries
(String auth, String type, Instant from, Instant to, int page, int size)
-
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)
-