NoIssue: Introduce additional getAdminEvents method with the resourceTypes query parameter.

This commit is contained in:
jhollmann 2021-11-02 09:20:44 +01:00 committed by Stian Thorgersen
parent bfe6f34e1d
commit 1f000fe218

View file

@ -137,6 +137,15 @@ public interface RealmResource {
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
List<AdminEventRepresentation> getAdminEvents(); List<AdminEventRepresentation> getAdminEvents();
@GET
@Path("admin-events")
@Produces(MediaType.APPLICATION_JSON)
List<AdminEventRepresentation> getAdminEvents(@QueryParam("operationTypes") List<String> operationTypes, @QueryParam("authRealm") String authRealm, @QueryParam("authClient") String authClient,
@QueryParam("authUser") String authUser, @QueryParam("authIpAddress") String authIpAddress,
@QueryParam("resourcePath") String resourcePath, @QueryParam("dateFrom") String dateFrom,
@QueryParam("dateTo") String dateTo, @QueryParam("first") Integer firstResult,
@QueryParam("max") Integer maxResults);
@GET @GET
@Path("admin-events") @Path("admin-events")
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)