Skip to content

Add platform admin statistics endpoint - #1093

Merged
idormenco merged 2 commits into
mainfrom
feature/platform-admin-statistics
Sep 29, 2026
Merged

idormenco merged 2 commits into
mainfrom
feature/platform-admin-statistics

Conversation

@idormenco

@idormenco idormenco commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Rename GetElectionsOverview to GetPlatformStatistics (same /api/statistics/overview behavior)
  • Add GET /api/statistics/platform for platform admins with platform-wide metrics, including elections-per-country histogram, observer/NGO status counts, visits, monitoring minutes, submissions, and reports

Expose platform-wide metrics at GET /api/statistics/platform, and rename GetElectionsOverview to GetPlatformStatistics while keeping the existing overview API behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
votemonitor Error Error Sep 29, 2026 11:02am UTC

Request Review

Comment thread api/src/Feature.Statistics/GetPlatformStatistics/Endpoint.cs Fixed
…o local variable'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@idormenco
idormenco merged commit bf7f0be into main Sep 29, 2026
2 of 3 checks passed
@idormenco
idormenco deleted the feature/platform-admin-statistics branch September 29, 2026 11:01

This branch had an error being deployed

1 failed deployment
Preview — bd5e0164 Deployed Sep 29, 2026 by vercel[bot]
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.

2 participants