API Gateway
Using Fusio as API Gateway means, that you have existing internal APIs / microservices or legacy SOAP APIs and you want to expose those APIs through a modern REST API.
Design
The first step would be to specify the endpoints which you like to expose and define the request and response schema of those endpoints. You could do this also directly in Fusio, before you actually integrate those endpoints, take a look at the create schema page.
Integration
The next step is to create the fitting actions to proxy the requests from Fusio to your internal APIs. In this use case the following actions are mostly used:
- Create HTTP Proxy action
- Create HTTP Raw action
- Create AMQP action
- Transform request/response action
Besides this you can of course always build a custom action to solve specific technical requirements.
SDK
The last step is optional, but you could now automatically generate an SDK for your API. An SDK makes it easier for clients to consume your API since all generated SDKs are complete type safe.
Beyond
These steps are already enough to build a basic API gateway with Fusio. If your API gateway should be consumed by external developers you can also setup a developer portal or start to monetize your API.