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

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

Verb: GET

Auth: Basic Auth

Build APIs

Outputs an API revision as a ZIP bundle of code and config files. This enables local development, attachment of policies and scripts. To export the ZIP file to a local file add '> filename.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" > filename.zip \
-u myname:mypass
Sample Response:
Success 2xx 


Add new comment

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.