Export/Import

The Export/Import feature was developed to facilitate replicating APIs, plans, and Java and JavaScript custom interceptors across environments.

This feature is meant for replicating elements across environments of one API Manager. Importing and exporting objects across Managers of multiple clients, for example, will not work well.

Exporting objects

You can only export one object type at a time, but each export can contain multiple objects. That is, if you want to export both APIs and plans, you must perform the export process twice, but you’ll be able to include several APIs and plans to each export, respectively.

To export objects:

  1. Click the Export button, which will open a modal window for the required selections.

  2. Select the desired object type (APIs, Plans, Java Interceptors, or Custom Interceptors) and click on Next.
    export

  3. Select the items that will be exported and click on Export.
    export2

A JSON file will be available for download and can be reimported into the Manager later through the Import feature.

Some rules are applied when exporting objects:

  • If the visibility rule of an API is set for Organization, it will be exported as Organization; however, visibility options Teams and Only me will both be exported as Only me.

  • Teams, users and environments linked to an API will not be exported.

Importing objects

To import objects:

  1. Click the Import button, which will open a modal window for the required selections.

  2. Select the object type that matches the JSON file to be imported (APIs, Plans, Java Interceptors, or Custom Interceptors) and click on Select File.
    import

  3. Select the file that will be imported from your machine and click Next.

  4. Select the items that you wish to import and click on Import.
    import2

Some rules are applied when importing objects:

  • It’s not possible to import an API if it has a version (listed under Other Versions) that is not present on the Manager as of the import process.

  • It’s not possible to import a plan that contains an API linked to it if this API is not present on the Manager as of the import process.

  • There is backward compatibility among Manager versions 3.0.0.0+ and 4.0.0.0+ regarding exported and imported items, but not between those and previous Manager versions.

Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]