Analytics API - Number of developers/developer apps using the same API proxies

Not applicable

We could retrieve the "number of developer apps using the same API Product" with the below analytics api end point

https://api.enterprise.apigee.com/v1/o/{{organization}}/environments/{{environment}}/stats/apiproduc... 00:00~01/31/2017 23:59

How do we get the same based on api proxy? Below end point does not seem to work:

https://api.enterprise.apigee.com/v1/o/{{organization}}/environments/{{environment}}/stats/apis?sele... 00:00~01/31/2017 23:59

Response:

{ "code": "analytics.dataapi.service.data_access_error", "message": "Data Access Error - Data Access Error", "contexts": [] }

0 1 426
1 REPLY 1

@Selvaprabhu Chellamuthu ,

I don't think there is any single api which gives data across different dimensions that you are asking for. But, You can retrieve the data using multiple api calls & aggregate using client side script to find out the info you are looking for.

For example, To get traffic by Developer,

https://api.enterprise.apigee.com/v1/o/{{organization}}/environments/{{environment}}/stats/developer...

To get traffic by app by specific developer,

https://api.enterprise.apigee.com/v1/o/{{organization}}/environments/{{environment}}/stats/developer...

To get traffic by apiproxy by app by developer,

https://api.enterprise.apigee.com/v1/o/{{organization}}/environments/{{environment}}/stats/apiproxy?...

Its a multi dimension data you are asking for, i would suggest use custom reports in Apigee Edge UI or call multiple APIs & aggregate data on client side.

Similarly, you can first fetch traffic by api proxy & drill down to developer app / developer. Try to create a custom report in Edge UI & Open network tab to see analytics API calls to better understand same. Edge UI also uses same analytics api to display information in dashboard.

Hope it helps. Keep us posted if any.