How to create proxy by rest api endpoints in Apigee Edge Cloud Eval Org ?

HI There,

1. Do we have any Rest Api that I can use to create and import the proxy(zip bundle) in Apigee Edge Cloud ?

2. And once imported/created the proxy how can I deploy that proxy to Test Env via rest api only ?


I found below POST rest api which is getting used when I upload the zip proxy bundle via Edge UI.

https://apigee.com/organizations/abcxyz-eval/apis?name=apiproxy&action=import&validate=true

  1. How can I use above post api in my Code so that I will call this and create proxy programmatically ?
  2. What Access token to pass?, will this access token will expire?
  3. What query params or Form_data to pass ?
3 REPLIES 3

Please consider to read the documentation at https://apidocs.apigee.com/apis

I tried post api to create proxy in apigee edge cloud but ended up getting 403 Forbidden.

what mistake I am making ?

how can I get access token if I am importing proxies in apigee edge UI? (https://apigee.com/organizations/abcxyz-eval/proxies)

I assume you're Apigee Edge version. You should get help in generating token from https://docs.apigee.com/api-platform/system-administration/using-oauth2#get-the-tokens

 

API URIs are relative to https://api.enterprise.apigee.com/v1, unless otherwise noted.