Class OrganizationGroupsResource
java.lang.Object
org.keycloak.organization.admin.resource.OrganizationGroupsResource
-
Constructor Summary
ConstructorsConstructorDescriptionOrganizationGroupsResource(KeycloakSession session, OrganizationModel organization, AdminEventBuilder adminEvent) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetGroupById(String id) getGroupByPath(String path, boolean subGroupsCount) getGroups(String search, String searchQuery, Boolean exact, Integer first, Integer max, boolean briefRepresentation, boolean populateHierarchy, boolean subGroupsCount)
-
Constructor Details
-
OrganizationGroupsResource
public OrganizationGroupsResource(KeycloakSession session, OrganizationModel organization, AdminEventBuilder adminEvent)
-
-
Method Details
-
addTopLevelGroup
@POST @Consumes("application/json") public jakarta.ws.rs.core.Response addTopLevelGroup(GroupRepresentation rep) -
getGroups
@GET @Produces("application/json") public Stream<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 GroupRepresentation getGroupByPath(@PathParam("path") String path, @QueryParam("subGroupsCount") @DefaultValue("false") boolean subGroupsCount) -
getGroupById
-