After you have created an API using Design Center or any other application, you can then manage that API in API Manager by adding an API instance. API instances remain under management until you delete them.
Use Mule Gateway if you have APIs on Mule Runtime that need an API gateway to manage, observe, and secure your APIs.
There are three options for adding an API instance:
-
Add a new API: Select this option to add a completely new instance of an API.
-
Promote API from environment: Select this option if you have an API instance in a different environment, for instance
the sandbox environment, and you want to promote it to the current or production environment.
-
Import API from zip file: Select this option if you have exported an API instance from a different Anypoint Platform
instance.
When you are promoting or importing an API instance, you do not have options to alter the configuration. However, when you add a new API instance, you need to the downstream and the upstream configuration settings.
The following diagram shows the relationship of the upstream and downstream configurations settings to your upstream service and the downstream consumer application. In this configuration, the downstream service is the service making API requests that are completed by the upstream service. These terms represent the direction of dependency, not the direction of information. A downstream service could make a POST request where it provides information to the upstream service. However, the downstream service is still dependent on the upstream service to complete the request.