API landscape overview
API Landscape Overview
This section describe general overview of API landscape (API Platform). First, it describes a simplified picture then drills down into details. The idea is to describe what elements the API Platform consists of, where they are located, how the trafic goes and what is the purpose of all elements. As Iptor os focusing on cloud solutions, this article is only describing the API Platform for Cloud customers. To see differences between cloud and on-prem solution read article “Two API Streams”.

General overview of API Landscape in Cloud
- Backend The IBM i server with installed DC1 and RPG programs which acts as API
- API Bridge The middle layer which converts HTTP requests into RPG program calls
- API Documentation (The documentation server which serves OpenAPI documentation files. These files can be read/injected to API Bridge and API Gateway. Additionally, API documentation may be shared with end users/developers from Developer portal).
- API Gateway (The service layer which controls access and usage of API, counts requests, redirrect traffic etc)
- Developer portal (The Web Portal where developers can discover API delivered by Iptor)
- Security layer which contains: Reverse proxies, Firewalls, Keycloak authentication
Additional elements in API landscape are:
- Aperio Client which plays role of publishing simple Mobile application
- API Mock server which can be used by developers to explore and test APIs
Backend

Backend
Middle Layer

Middle Layer
There can be more security elements like Firewall or reverse proxy which limit access to API Bridge. The access to API Bridge is limited only to API Gateway. So, the trafic from API consumer goes trough API Gateway then trough security layer then through API Bridge to Backend.
API Management (Gateway + Developer Portal)
The first element which is exposed/shown to the end user is API Gateway. Its role is to measure and monitor API traffic and redirect API calls to correct API Bridges. It exposes the description of APIs to the developers and gives developers possibility to play with APIs by providing Mock server or allow to run API requests dirrectly from a web page. API Gateway secures the traffic by blocking unauthorized calls. Requests are authorized by Keycloak (for now). API Gateway can provide subscription keys which must be send together with each API call, etc… More information you can find here.