Was this helpful?

 

API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path:

/apis/{api_name}/revisions{revision_number}?format=bundle

Description: Exports an API from Apigee Edge to the local machine a ZIP bundle of config and code files.

Verb: GET
Auth: Basic Auth
Media types:
application/octet-stream

For detailed instructions on API proxy development, see the Build APIs section.

Overview:

Outputs an API revision as a ZIP formatted bundle of code and config files. This enables local configuration and development, including attachment of policies and scripts.

To export the ZIP file to a local file add -o {file_name}.zip to the curl command above to create the named ZIP in the current working directory.

Sample Request:
$ curl  https://api.enterprise.apigee.com/v1/o/{org_name}/apis/{api_name}/revisions/{revision_number}?"format=bundle" -o {file_name}.zip \
-u myname:mypass
Sample Response:
Success 2xx 

 

コメントを追加

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.