Class OrganizationGroupsResource

java.lang.Object
org.keycloak.organization.admin.resource.OrganizationGroupsResource

public class OrganizationGroupsResource extends Object
  • Constructor Details

    • OrganizationGroupsResource

      public OrganizationGroupsResource(org.keycloak.models.KeycloakSession session, org.keycloak.models.OrganizationModel organization, AdminEventBuilder adminEvent, AdminPermissionEvaluator auth)
  • Method Details

    • addTopLevelGroup

      @POST @Consumes("application/json") public jakarta.ws.rs.core.Response addTopLevelGroup(org.keycloak.representations.idm.GroupRepresentation rep)
    • getGroups

      @GET @Produces("application/json") public Stream<org.keycloak.representations.idm.GroupRepresentation> getGroups(@QueryParam("search") String search, @QueryParam("q") String searchQuery, @QueryParam("exact") @DefaultValue("false") Boolean exact, @QueryParam("first") Integer first, @QueryParam("max") Integer max, @QueryParam("briefRepresentation") @DefaultValue("true") boolean briefRepresentation, @QueryParam("populateHierarchy") @DefaultValue("false") boolean populateHierarchy, @QueryParam("subGroupsCount") @DefaultValue("false") boolean subGroupsCount)
    • getGroupByPath

      @GET @Path("group-by-path/{path: .*}") @Produces("application/json") public org.keycloak.representations.idm.GroupRepresentation getGroupByPath(@PathParam("path") String path, @QueryParam("subGroupsCount") @DefaultValue("false") boolean subGroupsCount)
    • getGroupById

      @Path("{group-id}") public OrganizationGroupResource getGroupById(@PathParam("group-id") String id)