I have an evaluation account. I have my test API running and configured. I am able to go to Analyze -> API Proxy Performance and see data for my "test" environment.
However, when I try to get the same data using the REST API. I always get a 404 error: The format I am using is as described here:
https://docs.apigee.com/api-platform/analytics/analytics-command-reference
I also use Basic Authentication and I am passing my edge credentials. I replaced "myorg" for the name of my organization under my username in the Main page.
Are eval accounts allowed to make REST API calls to performance data? I figure it should since I am able to access the same data using the GUI page. Thanks!
Solved! Go to Solution.
The stats API is somewhat complicated. As an example.
GET https://api.enterprise.apigee.com/v1/o/ORG/e/ENV/stats/apis ?select=sum(message_count)&timeUnit=month&timeRange=05/01/2018 07:00~05/31/2019 07:00
The stats API is somewhat complicated. As an example.
GET https://api.enterprise.apigee.com/v1/o/ORG/e/ENV/stats/apis ?select=sum(message_count)&timeUnit=month&timeRange=05/01/2018 07:00~05/31/2019 07:00
Thanks Dino. I thought I can get it without the dimension. I tried it with dimensions and worked. Awesome!