Skip to content

feat: add pagination support to truncated endpoints#30

Open
CodeKeanu wants to merge 1 commit into
mainfrom
feature/issue-16-pagination-support
Open

feat: add pagination support to truncated endpoints#30
CodeKeanu wants to merge 1 commit into
mainfrom
feature/issue-16-pagination-support

Conversation

@CodeKeanu
Copy link
Copy Markdown
Owner

Summary

  • Added limit and offset parameters to endpoints that previously truncated results
  • Endpoints now include total counts in responses for UI hints
  • Default behavior unchanged - existing clients see same limits

Changes

  • get_friend_list: Added limit (default 50) and offset parameters
  • get_player_achievements: Added limit/offset per section (unlocked/locked, default 30)
  • get_owned_games: Added offset parameter (limit already existed at 25)
  • get_wishlist: Added limit (default 50) and offset parameters

Testing

  • All 258 existing tests pass
  • Updated test assertion for new wishlist format

Checklist from Issue

  • limit and offset on truncated endpoints
  • Total count included in responses
  • Default behavior unchanged

Closes #16

🤖 Generated with Claude Code

Add limit and offset parameters to endpoints that previously capped results:
- get_friend_list: now supports limit (default 50) and offset
- get_player_achievements: limit/offset per section (unlocked/locked)
- get_owned_games: added offset param (limit already existed)
- get_wishlist: limit (default 50) and offset for wishlist items

All endpoints now include total counts in responses and inform users
when more results are available via pagination. Default behavior remains
unchanged - existing clients will see the same truncation limits.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

Architecture: Pagination Support

1 participant