Skip to content

refactor(admin-api): add cursor-based pagination to list revisions endpoint#1976

Open
shiyasmohd wants to merge 1 commit intomainfrom
shiyasmohd/cursor-list-revisions
Open

refactor(admin-api): add cursor-based pagination to list revisions endpoint#1976
shiyasmohd wants to merge 1 commit intomainfrom
shiyasmohd/cursor-list-revisions

Conversation

@shiyasmohd
Copy link
Contributor

  • Adds cursor-based pagination (last_id) to the GET /revisions endpoint and ampctl table list command, following the same pattern used by jobs::list
  • Merges the separate list (cursor-only) and list_all (active-filter-only) functions in physical_table_revision into a single list function that supports both cursor pagination and active filtering
  • Removes the now-redundant list_all and sql::list_all functions
  • Add tests

@shiyasmohd shiyasmohd self-assigned this Mar 14, 2026
@shiyasmohd shiyasmohd force-pushed the shiyasmohd/cursor-list-revisions branch from 7da5ab6 to 7477c7f Compare March 14, 2026 10:55
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.

1 participant