API Management 10.4 | Administering API Portal | Managing APIs | Importing an API by Copying and Pasting API Content
 
Importing an API by Copying and Pasting API Content
API Portal offers direct API importing facility for standalone scenarios when you do not have CentraSite or Mediator installed.
Prerequisite
You must have the API Provider or API Administrator role.
* To import an API by copying and pasting API content
1. Click in the right top corner of the API Portal window to display the menu options.
2. Click Manage APIs. The Manage APIs window that lists all the APIs is displayed.
3. Click Import API.
4. Click API editor API editor.
5. Paste the required parser content in the text box.
The content should not have any references to an external file.
6. Select the type.
The available types are OpenAPI, RAML, WSDL, or user-defined. By default, the options available are RAML, OpenAPI, and WSDL.
7. Type the API name you want the API to be displayed as.
If you provide an API name, this overwrites the API name mentioned in the uploaded file and imported API is displayed with the name provided.
If you do not provide an API name, the API name mentioned in the uploaded file is picked up and the API is displayed with that name.
If you do not provide an API name and the uploaded file does not have an API name mentioned then the API is displayed as untitled.
8. Select an API Provider.
The imported API is associated with the API Provider selected. If a provider is not selected, by default the API is associated with the Default Provider.
9. Click Import API.
10. Click Close.
The imported API is now listed in the list of APIs.
You can use the Delete option to delete an API and the Edit option to update the API. The Edit option is available only for the directly imported APIs.

Copyright © 2015- 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.
Innovation Release