Skip to content

feat!: add pagination to /search#409

Open
jsstevenson wants to merge 5 commits intomainfrom
pagination
Open

feat!: add pagination to /search#409
jsstevenson wants to merge 5 commits intomainfrom
pagination

Conversation

@jsstevenson
Copy link
Contributor

@jsstevenson jsstevenson commented Feb 20, 2026

  • Technically API breaking at the level of the object storage class, do with that as you will

close #295 , #150 (I think)

Implement keyset pagination for the search endpoint. The storage class's search_alleles() method now takes page size and cursor parameters, and returns a simple container around a set of results and the next cursor. The /search endpoint similarly takes page size and cursor parameters. Behavior should reflect pretty straightforward keyset/cursor based pagination.

Remove result size limit from get_objects because that's naturally limited by the # of IDs given.

@jsstevenson jsstevenson added the priority:low Low priority label Feb 20, 2026
@jsstevenson jsstevenson marked this pull request as ready for review February 20, 2026 20:04
@jsstevenson jsstevenson requested a review from a team as a code owner February 20, 2026 20:04
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ehclark FYI wanted to let you know about this change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:low Low priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Paginate API responses and undo SQL limits

2 participants