¿Does the Management API support a "copy" action for API Proxy revisions?

Can we copy existing Proxy as New Proxy through Management API ? If YES, How?

0 3 80
3 REPLIES 3

No. There is no "copy" action. Not in one step.

You can export a proxy bundle as a zip, and then import what you have exported.

export:

GET -H "Accept:*.*" /v1/o/$ORG/apis/$PROXY/revisions/$R?format=bundle
<br>

And then import is:

POST -H content-type:multipart/form-data 
  /v1/o/$ORG/apis?action=import&name=$NEWNAME -F file=$ZIPFILE

It worked .. Thank you .. How can I create new Target Endpoint using Management API

That's also in the API documentation for the Administrative API.

Check it out! Good reading.