API Gateway 10.11 | Using API Gateway | REST APIs in API Gateway | API Gateway Archive
 
API Gateway Archive
You can import already exported archives of APIs, global policies, and other related assets and re-create them in API Gateway. 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.
API Gateway provides the following REST API and the resources to export and import an archive:
*GET /rest/apigateway/archive: Retrieves the archive, which is a ZIP file that contains the selected assets and its dependent assets.
*POST /rest/apigateway/archive: Imports the API Gateway archive as well as exports the assets as an archive.
For details about the REST API, see https://github.com/SoftwareAG/webmethods-api-gateway/blob/10.11/apigatewayservices/APIGatewayArchive.json.
For details on sample payloads, import Postman collection from the following link in Postman client: https://github.com/SoftwareAG/webmethods-api-gateway/blob/10.11/apigatewayservices/postmancollections/apis/archive-service/ArchiveService.json.