Importing an API by Providing an API URL
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 providing an API URL
1. Click in the right top corner of the API Portal window to display the menu options. 2. Click Manage APIs. The Manage APIs page that lists all the APIs is displayed.
3. Click Import API.
4. Click API URL. 5. Type the required URL.
6. Select the type.
The available types are Swagger, RAML, WSDL, or user-defined. By default the options available are RAML, Swagger, 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 the 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.