feat(admin-api): implement paginated datasets endpoints#750
Merged
Conversation
13 tasks
leoyvens
reviewed
Sep 16, 2025
leoyvens
approved these changes
Sep 17, 2025
dd2e894 to
1f4bac6
Compare
Contributor
Author
|
Putting this PR in draft mode as the |
98c15ce to
5c12d41
Compare
Contributor
Author
|
Updated the PR. It depends on #796 |
606178c to
9cf5817
Compare
Add comprehensive dataset registry API endpoints with cursor-based pagination to enable efficient browsing and management of registered datasets through the admin interface.
- Add `GET /datasets` endpoint with cursor-based pagination support
- Add `GET /datasets/{name}/versions` endpoint for version listing
- Implement metadata-db datasets' `pagination.rs` module with `list_first_page()` and `list_next_page()` functions
- Add comprehensive integration tests with semver ordering validation
Signed-off-by: Lorenzo Delgado <lorenzo@edgeandnode.com>
Signed-off-by: Lorenzo Delgado <lorenzo@edgeandnode.com>
9cf5817 to
9a7339d
Compare
fubhy
approved these changes
Sep 30, 2025
leoyvens
approved these changes
Sep 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add comprehensive dataset registry API endpoints with cursor-based pagination to enable efficient browsing and management of registered datasets through the admin interface.
GET /datasetsendpoint with cursor-based pagination supportGET /datasets/{name}/versionsendpoint for version listing