Importing Exported Files
You can import already exported archives of APIs, global policies, and other related assets and re-create them in
API Gateway. For more information about exporting APIs, see
Exporting APIs. For information about exporting global policies, see
Exporting Global Policies.
Each artifact in an archive is associated with a universally unique identifier (UUID) across all API Gateway installations. When importing an archive, the UUID helps in determining whether the corresponding artifact is already available in API Gateway. In such a situation, you can specify whether to overwrite an already existing artifact during the import process.
You must have the API Gateway's import assets functional privilege assigned to import an archive.
Note: During export or import of assets, ensure that the master password is identical across stages and on different instances of API Gateway.
To import the exported files
1. Select Username > Import.
2. Provide the following information:
Parameter | Description |
Select archive file | Click Browse to select a file or ZIP format file. |
Advanced options | Select this option to overwrite either or all the following with the imported content: API Policy Applications Alias |
3. Click Import.
The Import report displays the following information:
Parameter | Description |
Type | The artifact type. The available values are: API Policy Policy Actions Applications Alias |
Successful | The number of successful imports for each artifact type. |
Unsuccessful | The number of unsuccessful imports for each artifact type. |
Replaced | The number of instances replaced for each artifact type. |
Warning | The number of warnings displayed during the import of each artifact type. API Gateway displays warning messages when the import is successful but some additional information is required. |
4. Click Download the detail report here > to download the detail report.
The detail report displays the following information about the imported artifact:
Parameter | Description |
Name | The name of the artifact imported. |
Type | The artifact type. The available values are: API Policy Policy Actions Application Alias |
Status | The status of the imported artifact. The available values are: Success Replaced Warning Failure |
Explanation | The reason if the import fails or if a warning occurs. |