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

Add backupList GraphQL API for Listing Available Backups with Pagination Support #33

Open
msk opened this issue May 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@msk
Copy link
Contributor

msk commented May 26, 2023

Summary:

We need to add a new GraphQL API, backupList. This API should return a list of currently available backups with full BackupInfo details, as returned by review_database::backup::list. Importantly, the API should support pagination using after, before, first, and last arguments.

Proposed Changes:

  1. Implement a new GraphQL API backupList in the review-web project.
  2. The backupList API should return a list of BackupInfo details as returned by review_database::backup::list.
  3. Include support for pagination within backupList, accepting after, before, first, and last arguments.

Acceptance Criteria:

  1. A new GraphQL API backupList is implemented and tested.
  2. The backupList API correctly returns a list of all BackupInfo details as returned by review_database::backup::list.
  3. The backupList API successfully implements pagination and accurately returns data according to after, before, first, and last arguments.
@msk msk added the enhancement New feature or request label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant