Repository navigation
api: add opt-in totals to activity and collection lists - #98
Conversation
Refs: TECH-913
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: d30ce9a The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
❌ The last analysis has failed. |
Fixes TECH-913.
Problem
Clients cannot get the total number of matching activities or collections from a paginated response.
Fix
Add
includeTotal=trueto return an exact count across all matching records before pagination. Default list behavior and search endpoints stay unchanged.Summary by CodeRabbit
totalCountfor matching records. The count reflects all filters before cursor and page limits, remains available on empty pages, and is omitted by default.