Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

proxy creation through management api

Hi,

I wanted to create the api proxy through management api and I could find two management apis.

1) create api proxy - this only create the api proxy with name. but how can I create the api proxy with at least base url and target url.

2) import the proxy - this is though a zip file which has manual steps.

I just want to create a api proxy with only base path and target url. How can I do that.

Regards,

Krushna

Solved Solved
0 8 443
1 ACCEPTED SOLUTION

Not applicable
@krushna.padhee.ap

I see what you are trying to achieve. API proxy is bundle of xml files. The base path configuration goes in proxies/default.xml and target server goes in targets/default.xml by default. So there is no way to create API proxy through management API using JSON body.

But if you are using APIGEE maven plugin then its pretty simple to create APIs. You get rid of manually zipping the file and then call management API, APIGEE maven plugin does this all for you.

View solution in original post

8 REPLIES 8