Capture all users of a Proxy

Hi All,

Is there a API Management URL that can be used to capture all users of a Proxy. In other words we will need to get all Developer Apps of each Proxy.

Thank you in advance.

0 3 106
3 REPLIES 3

Yes, it's in the /stats API.

https://apidocs.apigee.com/api/stats

Thank you. But Stat will be generated only requests are invoked.

I am looking for a way to capture all Developer Apps which has access to invoke a Proxy.

Oh I see. I misunderstood the question.

The way you can do that is:

  • query all the API Products and select the ones that have authorization for the Proxy of interest
  • Query all the apps that have authorization for any of those API Products

I don't have a working off-the-shelf solution for that combination, but ... For the first step, you can use this script:

https://github.com/DinoChiesa/apigee-edge-js/blob/master/examples/findApiProductForProxy.js

And for the second step, there's another script:

https://github.com/DinoChiesa/apigee-edge-js/blob/master/examples/findAppForApiProduct.js

But if I were you, trying to solve this problem I would want to write my own script that combines these functions.