Breaking changes
GET /api/v1/stats and GET /api/v1/export now require authentication and the scope parameter is removed. Replacements:
- Public statistics for a single link:
GET /api/v1/public/stats/{code}(no auth required) - Statistics and export for a link you own:
GET /api/v1/stats/links/{url_id}andGET /api/v1/export/links/{url_id}
See the statistics docs for the full surface.
What's Changed
- feat: tighten anonymous and legacy rate limits by @Zingzy in #289
- fix(errors): set X-Error-Code header on JSON error responses by @Zingzy in #290
- feat(stats): per-link stats and export endpoints, url_id filter by @Zingzy in #291
- feat(stats)!: drop the scope param, stats and export require auth by @Zingzy in #292
- fix(ci): migrate the stats smoke script off the removed scope param by @Zingzy in #296
Full Changelog: v2.1.1...v2.1.2