feat(api): add awardKind filter and multi-game filtering to player-games#5042
Merged
wescopeland merged 6 commits intoJul 14, 2026
Conversation
Contributor
Confidence Score: 5/5Safe to merge — the new filter logic is correct and well-tested. The badge-based fallback query correctly adds the user_id column constraint that the relationship omits, the OR grouping prevents filter bleed, unknown values return 400, and test coverage is thorough across all new paths. No files require special attention. Reviews (6): Last reviewed commit: "Merge branch 'master' into v2-player-gam..." | Re-trigger Greptile |
Jamiras
reviewed
Jul 10, 2026
Jamiras
approved these changes
Jul 14, 2026
wescopeland
enabled auto-merge (squash)
July 14, 2026 16:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a
filter[awardKind]and comma-delimitedfilter[gameId]support to the V2 player-games resource, which covers the beaten portion of API_GetUserCompletedGames and provides a replacement pathway from API_GetUserProgress.Things worth noting:
filter[awardKind]accepts beaten-casual and beaten-hardcore, matching the user-awardsfilter[kind]vocab.filter[gameId]now accepts a comma-delimited list, so V1's multi-game API_GetUserProgress map is a single V2 request.