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

Implement pagination on the API #65

Merged
merged 3 commits into from
Oct 13, 2023
Merged

Implement pagination on the API #65

merged 3 commits into from
Oct 13, 2023

Conversation

pshenmic
Copy link
Owner

@pshenmic pshenmic commented Oct 13, 2023

Things done

  • Implemented pagination on all listable methods on the API
  • Added PaginatedResultSet interface

All lists are now paginated via query params ?page=1&limit=1&order=asc

Paginated result returns to the client with the info of total items

image

@pshenmic pshenmic self-assigned this Oct 13, 2023
@vercel
Copy link

vercel bot commented Oct 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 13, 2023 11:37am

@pshenmic pshenmic merged commit 868c1ef into master Oct 13, 2023
@pshenmic pshenmic deleted the feat/api-pagination branch October 13, 2023 11:38
@pshenmic pshenmic added frontend Related to fronted (UI) backend Related to backend (API) and removed frontend Related to fronted (UI) labels Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend (API)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant