Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: add offset-based pagination support to aibridge list endpoint#20393

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deansheather merged 2 commits intomainfromdean/aibridge-offset-pagination
Oct 21, 2025

Conversation

@deansheather
Copy link
Member

Necessary for the frontend to be able to paginate easily. Cursor pagination is good for fetching all events, but doesn't play very well when a pagination component gets involved.

Adds support for?offset=x to the existing endpoint. The cursor-based pagination (?after_id=x) is still supported. The two pagination modes are mutually exclusive, and are documented as such. If both are supplied, the request will be rejected.

Also adds atotal property to the response that contains the full count of items matching the filter. We already have indices in place so I don't think this will impact performance (or we can revisit it before GA).

@deansheatherdeansheatherenabled auto-merge (squash)October 21, 2025 11:39
@deansheatherdeansheather merged commitea261a1 intomainOct 21, 2025
33 of 35 checks passed
@deansheatherdeansheather deleted the dean/aibridge-offset-pagination branchOctober 21, 2025 11:50
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@pawbanapawbanapawbana approved these changes

Assignees

@deansheatherdeansheather

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@deansheather@pawbana

[8]ページ先頭

©2009-2025 Movatter.jp