webMethods Integration Cloud and Cloud Deployment Documentation 5.6.0 | webMethods Integration Cloud | Integrations, Built-In Services, REST APIs, SOAP APIs, Doc Types, and Recipes | REST APIs | Copying REST APIs
 
Copying REST APIs
Integration Cloud allows you to create a copy of a REST API from the REST APIs page. You can copy a REST API if you have the required permissions.
* To copy a REST API
1. From the Integration Cloud navigation bar, click Projects > <Select a Project> > REST APIs. The REST APIs page appears.
2. Select a REST API and click Copy.
The Copy dialog box appears.
3. Type a new name in the Copy As field and click Copy. A REST API with the new name will be created and appears in the REST APIs page.
If you have created a REST API by using a file containing the Open API specification (formerly known as the Swagger specification) as a template, a copy of the REST API (including its dependencies namely its Integrations, Document Types, and Resources) is created. All resources and document types are renamed as per the new name. When Integrations encapsulated by the copied REST API are modified, the changes are reflected only in the copied REST API and not in the REST API from which it was copied. This is because, if you have created a REST API using the Build with Swagger approach, each REST API has its own set of Integrations.
If you have created a REST API by using an existing set of Integrations (Build from scratch), a copy of the REST API will be created. You can type a new name at the time of copying and a REST API with the new name will be created. The same REST APIs that are referred to in the original REST API will also be referred to in the copied REST API. If the referred to Integration is modified in the copied REST API, then the changes will reflect in the original REST API because both the REST APIs refer or point to the same Integration. However, if another path with a different Integration is added to the copied REST API, this will not show in the original REST API.
Orchestrated Integrations
Integrations
Importing Integrations

Copyright © 2014- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.