Skip to content

Add /v1/geo-breakdown endpoint + tests#99

Merged
max-ostapenko merged 2 commits intomainfrom
development
Mar 23, 2026
Merged

Add /v1/geo-breakdown endpoint + tests#99
max-ostapenko merged 2 commits intomainfrom
development

Conversation

@max-ostapenko
Copy link
Copy Markdown
Contributor

No description provided.

alonkochba and others added 2 commits March 23, 2026 09:43
* feat: add /v1/geo-breakdown endpoint for geographic CWV breakdown

Adds a new controller and route that returns core_web_vitals data for
all geographies for a given technology. Unlike /cwv, this endpoint omits
the geo filter so callers can build a geographic breakdown chart without
issuing one request per country.

* refactor: merge geo-breakdown into reportController factory

Add crossGeo option to createReportController; delete standalone
geoBreakdownController.js. Endpoint now returns a single-month snapshot
(latest by default, or the month specified by the end param).

---------

Co-authored-by: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com>
@max-ostapenko max-ostapenko merged commit 6181751 into main Mar 23, 2026
4 checks passed
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