API Management 10.4 | Using API Gateway | APIs | Creating an API by Importing an API from a URL
 
Creating an API by Importing an API from a URL
You must have the API Gateway's manage APIs or activate/deactivate APIs functional privilege assigned to perform this task.
* To create an API by importing an API from a URL
1. Click APIs in the title navigation bar.
A list of available APIs appears.
2. Click Create API.
3. Select Importing API from URL.
4. Type the URL from where the API is to be imported.
5. Select Protected to make the API a protected API.
6. Type a name for the API name in the Name field.
*If you provide an API name, this overwrites the API name mentioned in the uploaded file and the 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.
7. Provide a description for the API in the Description field.
8. Select the required type.
The available types are RAML, Swagger, WSDL, and OData.
9. Provide a version for the API in the Version field.
10. Click Create.
Note: Creating an API by importing swagger files from an HTTPS URL that is using self-signed certificates may fail. To workaround this, you can set the system environment variable as: export TRUST_ALL=true, so that the invalid certificates are ignored. Be aware that setting this variable makes the swagger-parser ignore all invalid certificates too. So this workaround has to be used with caution.

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