Package metrics API endpoint doesn't work
Closed this issue · 2 comments
hedgehog1029 commented
As far as I can tell the /api/v1/package-metrics
endpoints don't work: they just return a 404.
e.g. https://thunderstore.io/api/v1/package-metrics/tristanmcpherson/R2API/ is just giving me a 404.
I've even tried using the Swagger UI to make the request, to make sure I'm not messing up the URL, but it has the same result:
MythicManiac commented
Hey, thanks for the report! This is already being looked into and should be getting fixed shortly. The gist of the problem is that the production server configuration has a dedicated routing rule for /api/v1/package
(sub)routes which unintentionally also grabs this endpoint.
I'll update this issue once this has been resolved
MythicManiac commented