Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the GET /admin/realms/{realm}/users/count endpoint in the Admin API SDK #118

Closed
kanpov opened this issue Jun 14, 2024 · 3 comments

Comments

@kanpov
Copy link
Contributor

kanpov commented Jun 14, 2024

Why is this needed: In order to determine, for example, the total amount of users in the system, which is crucial for pagination (whether there is a next page or a previous page, how many items in total etc.)

Referring to the Admin API documentation for version 25.0.0 of Keycloak, this is the endpoint:
image

@kanpov kanpov changed the title Missing endpoint in Admin API SDK for fetching the amount of users matching a query Add support for the GET /admin/realms/{realm}/users/count endpoint in the Admin API SDK Jun 15, 2024
@kanpov
Copy link
Contributor Author

kanpov commented Jun 16, 2024

@NikiforovAll Made a proposal to add this endpoint in PR #120

@NikiforovAll
Copy link
Owner

Thank you for your contribution. Do you need this one, should I release the version/pre-release version?

@kanpov
Copy link
Contributor Author

kanpov commented Jun 16, 2024

Thank you for your contribution. Do you need this one, should I release the version/pre-release version?

Yes, one of my projects currently needs user pagination which is why I contributed this. I'm planning on contributing more endpoints, but later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants