Skip to content

feat(api): add total count to pagination metadata and update tests#222

Merged
ayuki-joto merged 1 commit intomainfrom
feat/add-total-count
Feb 21, 2026
Merged

feat(api): add total count to pagination metadata and update tests#222
ayuki-joto merged 1 commit intomainfrom
feat/add-total-count

Conversation

@ayuki-joto
Copy link
Contributor

  • Updated PaginationMeta to include a total property for total result counts.
  • Modified API responses for /data/posts, /data/notes, and /data/search to populate total in pagination metadata.
  • Adjusted test cases to include assertions for the total field in pagination responses.
  • Updated example schemas in API documentation to reflect the new total field.

codeforjapan/BirdXplorer_Viewer#295

- Updated `PaginationMeta` to include a `total` property for total result counts.
- Modified API responses for `/data/posts`, `/data/notes`, and `/data/search` to populate `total` in pagination metadata.
- Adjusted test cases to include assertions for the `total` field in pagination responses.
- Updated example schemas in API documentation to reflect the new `total` field.
@ayuki-joto ayuki-joto requested a review from yu23ki14 February 21, 2026 07:41
@ayuki-joto ayuki-joto merged commit 1cd0a11 into main Feb 21, 2026
14 checks passed
@ayuki-joto ayuki-joto deleted the feat/add-total-count branch February 21, 2026 07:49
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