Skip to content

Add admin stats find route - #1020

Merged
tudddorrr merged 1 commit into
developfrom
admin-stats-find-route
Aug 15, 2026
Merged

Add admin stats find route#1020
tudddorrr merged 1 commit into
developfrom
admin-stats-find-route

Conversation

@tudddorrr

@tudddorrr tudddorrr commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

New admin endpoint for game stats

  • Added a new GET /admin/v1/game-stats/:id endpoint to retrieve a single game stat by ID
  • Requires READ_STATS scope on the admin API key

Metrics and global stat handling

  • Endpoint supports optional metrics loading via withMetrics query parameter for global stats, with optional date range filtering
  • For global stats, automatically recalculates the global value excluding dev data unless the x-talo-include-dev-data header is set

@tudddorrr tudddorrr added the enhancement New feature or request label Aug 15, 2026
@codecov

codecov Bot commented Aug 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.33%. Comparing base (3e5a1fb) to head (338b2d9).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1020      +/-   ##
===========================================
- Coverage    98.34%   98.33%   -0.02%     
===========================================
  Files          442      443       +1     
  Lines         7261     7274      +13     
  Branches       973      976       +3     
===========================================
+ Hits          7141     7153      +12     
  Misses          49       49              
- Partials        71       72       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tudddorrr
tudddorrr force-pushed the admin-stats-find-route branch from b639dfc to 338b2d9 Compare August 15, 2026 08:58
@tudddorrr
tudddorrr merged commit 3a1e89f into develop Aug 15, 2026
9 of 10 checks passed
@tudddorrr
tudddorrr deleted the admin-stats-find-route branch August 15, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant