Management REST APIs for ApiGee Edge Private Cloud

Hello,

I am trying to hit my organization's ApiGee Edge private cloud instance with management REST APIs. I have immense documentation on management APIs for public cloud but very limited documentation on private cloud. I find a few questions on this in the community (as suggested by @vinay in https://community.apigee.com/questions/35048/manage-private-cloud-with-rest-apisapigee-private.html) but none of these solutions work.

I tried 'https://<hosturl>/v1/organizations/<organizationName>/apis' with basic auth to list API proxies and I get back '403 Forbidden' response status and the following error message:

"This distribution is not configured to allow the HTTP request method that was used for this request. The distribution supports only cachable requests."

Similar problem occurs when trying to use apigee-deploy-maven-plugin to deploy my proxy through the maven plugin and I suspect the root cause is the configuration itself. (https://github.com/apigee/apigee-deploy-maven-plugin#advanced-configuration-options by @Sai Saran Vaidyanathan)

Can someone please provide more documentation or guidance regarding management REST APIs to private cloud instances? Also, on authentication options other than basic auth as it involves embedding my username and password in the request? Any help is greatly appreciated. Thanks!

Regards,

Aish

0 1 512
1 REPLY 1

1st

The error message you are reporting ...

"This distribution is not configured to allow the HTTP request method that was used for this request."

...is not coming from Apigee Edge.

Looks like AWS Cloudfront. I suggest checking this stackoverflow answer. Or maybe just google for "This distribution is not configured to allow the HTTP request method that was used for this request."

It's possible you're pointing to the wrong port. Or that you haven't configured the port for access correctly in AWs. I don't have suggestions for you on that, because I'm not an AWS specialist. But check your assumptions about the network path.

2nd

The Mgmt APIs for APigee Edge OPDK are the same as documented for Apigee Edge Saas (public cloud).

In short, check your network configuration!