In the documentation page https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apiproducts-0 I tried to do a test for the API that lists all the names of products for an organization (GET List API Products). Then in "Resource URL" (https://api.enterprise.apigee.com/v1/organizations/{org_name}/apiproducts) I put the data of the name of my organization, I did not enter any data for the "Query Parameters", and Click on the "Send this request using the values above" button. But the response generated was:
HTTP / 1.1 401 Unauthorized
Connection: keep-alive
Content-Length: 0
Date: Mon, 29 Oct 2018 17:20:34 GMT
Server: Apigee LB
---
The APIGEE plan that we have is "Apigee Team Bundle". ¿With this plan "Apigee Team Bundle" can I use the API Management? ¿What APIGEE plan should I have at least to use the Management APIs?
¿If the plan I have allows me to use the API Management, then how should I do this cURL for this API?
Solved! Go to Solution.
Hi @enriquev3000, all you need is an Apigee Cloud account, you can use the email:password to work on these Management APIs.
You are getting 401 Unauthorized, so provide valid credentials.
If you are working on On-Prem Apigee, then the Hostname of the Management API will be different.
Hi @enriquev3000, all you need is an Apigee Cloud account, you can use the email:password to work on these Management APIs.
You are getting 401 Unauthorized, so provide valid credentials.
If you are working on On-Prem Apigee, then the Hostname of the Management API will be different.
Thank you. But I'm not showing this pop-up window asking for user data and password that you show me in the image - it just shows me the error message on the same page. However, and although I had already logged in "https://apigee.com/edge", following your instructions I clicked the "LOG IN" button (top right) to log in with my user, I entered my data access, and again I tried the API that lists the products; but it generated exactly the same error.
The Apigee plan that we have is "Apigee Team Bundle". My questions "With this plan 'Apigee Team Bundle' can I use the API Management?" and "What APIGEE plan should I have at least to use the Management APIs?", is because all APIs of ""API Management"" that I have seen so far address "https: //api.enterprise.apigee. com "- this is why I have had the doubt of whether the "Enterprise" plan is needed to use API Management.
I also tried to execute the corresponding cURL in Linux: curl -X GET "https://api.enterprise.apigee.com/v1/organizations/{org_name}/apiproducts". But it did not generate any response, nor did it show me any error message.
¿Do you know what may be happening in my case ?
I already found the one to ask for access data on the page https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apiproducts-0: the "HTTP Basic" button on the left. Thank you because I had not imagined that was what I was missing.
The cURL I was trying at the Linux prompt also worked. I added the following:
-u email:password
Thank you.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |