The metrics endpoint does not accept the url metric type
Describe the Bug
The /api/websites/:websiteId/metrics does not allow the type=url parameter as documented. In the self deployed instance it works, in the cloud instance it seems like it was renamed to type=path.
When doing it on the cloud umami you get the error
{"error":{"message":"Bad request","code":"bad-request","status":400}}
Database
PostgreSQL
Relevant log output
Which Umami version are you using? (if relevant)
No response
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
This issue is stale because it has been open for 60 days with no activity.
From the API Documentation page for metrics the type=path is the only one listed. I was using type=url as well and found there was backwards compatibility for url to route to path but in v3.0.0 seems like this broke again. In my case, I could switch to type=path and my process for using the API continued working again.