Skip to content

Conversation

@r4victor
Copy link
Collaborator

@r4victor r4victor commented Jan 23, 2026

Closes #3487

This PR implements cursor-based pagination for endpoints /api/project/list and /api/users/list similar to other paginated endpoints.

Max and default limit is currently set to 2000 to avoid breaking the UI. The UI should switch to the new API for performance.

Notes:

  • Added return_total_count param to include total_count in response so that the UI can still show the number of projects/users without getting all of them.
  • Added name_pattern to be able to filter projects/users by name substring on the server side. The UI can also use this to get project and user names for filters, e.g. by requesting one page.

@r4victor r4victor merged commit d959828 into master Jan 23, 2026
28 checks passed
@r4victor r4victor deleted the issue_3487_projects_users_pagination branch January 23, 2026 08:48
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.

Implement pagination for /api/projects/list and /api/users/list

2 participants