Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return warning when imported stats are skipped in Stats API due to unsupported query #4116

Merged
merged 1 commit into from
May 21, 2024

Conversation

zoldar
Copy link
Contributor

@zoldar zoldar commented May 20, 2024

Changes

This PR adds a hint in a form of warning to Stats API responses when imported data are requested but can't be processed because query parameters are not supported for it.

Goes together with changes in docs at https://github.com/plausible/docs/pull/499/files

Tests

  • Automated tests have been added

@zoldar zoldar force-pushed the stats-api-handle-return-imported-warning branch from d484567 to a1dc6b4 Compare May 21, 2024 07:44
@zoldar zoldar force-pushed the stats-api-handle-return-imported-warning branch from a1dc6b4 to 8806854 Compare May 21, 2024 08:41
@zoldar zoldar requested review from RobertJoonas and a team May 21, 2024 09:12
@zoldar zoldar marked this pull request as ready for review May 21, 2024 09:12
Copy link
Contributor

@RobertJoonas RobertJoonas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one suggestion in line, otherwise looks good to me! 👍

@zoldar zoldar merged commit 2d23db2 into master May 21, 2024
9 checks passed
@zoldar zoldar deleted the stats-api-handle-return-imported-warning branch May 21, 2024 09:45
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.

None yet

2 participants