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

1154 enhancement apiv2 return total amount of pages for paginated api calls #1173

Conversation

jessevz
Copy link
Contributor

@jessevz jessevz commented Jan 9, 2025

  • Added total page size in meta data for paginated API calls, so that front end is able to render the total pages
  • Added aggregation queries in the pagination code, to more efficiently and precisely calculate the first and last page for pagination
  • Made it possible to configure the default page size and maximum page size

@jessevz jessevz requested a review from gluafamichl January 9, 2025 11:21
@gluafamichl gluafamichl merged commit df3c233 into dev Jan 9, 2025
1 check passed
@gluafamichl gluafamichl deleted the 1154-enhancement-apiv2-return-total-amount-of-pages-for-paginated-api-calls branch January 9, 2025 13:07
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