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

added paging system for email lists #20

Closed
wants to merge 1 commit into from

Conversation

kalim-Asim
Copy link
Contributor

Issue: #9

Description:

  • Implemented pagination for the GET /api/email-lists endpoint to retrieve a paginated list of email records.
  • Added query parameters (page and limit) to allow users to specify the page number and the number of items per page.
  • Ensured that the response includes metadata such as currentPage, totalPages, totalItems, and limit
  • Verified the changes by testing the endpoint and ensuring accurate paginated responses.
  • added api endpoints

Screenshot:
Screenshot 2024-12-18 011046
Screenshot 2024-12-18 011207

@Opencodeiiita-Bot
Copy link

Hey @kalim-Asim

Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.

Thanks for contributing in OpenCode'24 ✨✨!

@kalim-Asim
Copy link
Contributor Author

do i have to create another pr ?

@anubhabnath098
Copy link
Contributor

anubhabnath098 commented Dec 17, 2024

@kalim-Asim fix the merge conflicts and open another pr

@kalim-Asim
Copy link
Contributor Author

aight

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.

3 participants