Fetch Products under a specific Environment in an Organization - Apigee Edge

137 views Asked by At

I am trying to fetch all the Products which are associated to an Environment under an organization.

I am able to fetch all the products in an organization but i don't seem to find a way in getting Environment specific Products.

2

There are 2 answers

2
Asim Ranjan On

You can try putting the full URL after GET inside quotes ('') and it will work with curl

0
evansche On

You might think the 'Search API Products' API call would facilitate this, but I cannot make it work either. Docs: https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apiproducts

e.g., curl -X GET https://api.enterprise.apigee.com/v1/organizations/{my_org}/apiproducts?attributename=environments&attributevalue=prod