Edge: How do I list API products associated with an API proxy?

Hi Community,

This is just like Krishna's question from an hour ago. Hopefully this is a quick and easy for all your collective wisdom!

I have a UX use-case for listing all API Products associated with a particular API Proxy. I can’t figure out the right query.

Sort of like this:

https://api.enterprise.apigee.com/v1/organizations/myorg/apiproducts?attributename=access&attributev...

...which works for returning a filtered list of API products in the org based on matching attrs, but instead of querying based on attributes, I want to query based on a particular API proxy name and return only the relevant API Products.

I also tried this various queries and digging into /apis for details of product-associations, looking into revisions and such, but nothing seems to point back to associated API products.

I would rather not have to iterate over each API product in an org to get this info. Any tricks?

Solved Solved
1 1 640
1 ACCEPTED SOLUTION

Hi Evan,

Can you try https://api.enterprise.apigee.com/v1/organizations/myorg/apiproducts?expand=true ?

This should get you a list of all the products and all their attributes. You could then filter that list based on your criteria. Just look at the "proxies" property, obvs.

View solution in original post

1 REPLY 1

Hi Evan,

Can you try https://api.enterprise.apigee.com/v1/organizations/myorg/apiproducts?expand=true ?

This should get you a list of all the products and all their attributes. You could then filter that list based on your criteria. Just look at the "proxies" property, obvs.