mirror of
https://github.com/keycloak/keycloak.git
synced 2026-06-08 16:42:13 -04:00
Clarify credentials field availability in GET /admin/realms/{realm}/users documentation
Closes #46972 Signed-off-by: Hisanobu Okuda <hisanobu.okuda@gmail.com>
This commit is contained in:
parent
7f29bc7956
commit
ce672801af
1 changed files with 2 additions and 1 deletions
|
|
@ -272,7 +272,8 @@ public class UsersResource {
|
|||
@APIResponse(responseCode = "403", description = "Forbidden")
|
||||
})
|
||||
@Tag(name = KeycloakOpenAPI.Admin.Tags.USERS)
|
||||
@Operation(summary = "Get users Returns a stream of users, filtered according to query parameters.")
|
||||
@Operation(summary = "Get users Returns a stream of users, filtered according to query parameters.",
|
||||
description = "Returns a stream of users. Note that the 'credentials' field in the returned UserRepresentation objects is typically not populated for performance reasons. If specific credential metadata is required, use the dedicated 'GET /admin/realms/{realm}/users/{user-id}/credentials' endpoint.")
|
||||
public Stream<UserRepresentation> getUsers(
|
||||
@Parameter(description = "A String contained in username, first or last name, or email. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and \"foo\" for exact search.") @QueryParam("search") String search,
|
||||
@Parameter(description = "A String contained in lastName, or the complete lastName, if param \"exact\" is true") @QueryParam("lastName") String last,
|
||||
|
|
|
|||
Loading…
Reference in a new issue