Skip to content

AAI-228 Add pagination to admin endpoints that return multiple results#21

Merged
marius-mather merged 11 commits into
mainfrom
admin-pagination
Jun 3, 2025
Merged

AAI-228 Add pagination to admin endpoints that return multiple results#21
marius-mather merged 11 commits into
mainfrom
admin-pagination

Conversation

@marius-mather

@marius-mather marius-mather commented Jun 2, 2025

Copy link
Copy Markdown
Collaborator

Description

AAI-228: paginate responses that return multiple users: Auth0 endpoints return a maximum of 100 users at a time so we need to paginate if we have more users than that.

Changes

  • Add pagination params to Auth0Client methods: page and per_page
  • Add pagination params to our admin endpoints as query params
  • Add tests of pagination params

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have added unit / integration tests that prove my fix is effective or that my feature works
  • I have run all tests locally and they pass
  • I have updated the documentation (if applicable)

How to Test Manually (if necessary)

Run uv run pytest

@amandazhuyilan amandazhuyilan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No complaints - lets ship it!

@marius-mather marius-mather merged commit 340e80c into main Jun 3, 2025
1 check passed
@amandazhuyilan amandazhuyilan deleted the admin-pagination branch June 19, 2026 03:21
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

Successfully merging this pull request may close these issues.

2 participants