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

Developer Guide Topic

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