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.
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
You can try putting the full URL after GET inside quotes ('') and it will work with curl
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