API Gateway Aggregation for REST Endpoint Routing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing solutions for managing and routing REST API requests in complex systems are inefficient due to the need for multiple requests to access multiple endpoints and the complexity of dynamic system composition.
Innovation Solution
The implementation of an API Gateway with expression-based routing and aggregation capabilities, allowing for a single HTTP request to interact with multiple instances of an identical REST API and providing automated tooling through semantically consistent API documentation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If multiple requests are sent to access multiple endpoints, then complete data retrieval is achieved, but client-side CPU load and network utilization increase
Solution Approach 1:
The patent introduces an API gateway as an intermediary component that receives client requests and automatically aggregates responses from multiple backend endpoints. The gateway acts as a mediator between the client and multiple service endpoints, handling the complexity of multiple requests on the server side while presenting a single request interface to the client. This resolves the contradiction by maintaining complete data retrieval (reliability) while eliminating the need for the client to send multiple requests, thereby reducing client-side CPU load and network utilization.
2Reliability
If multiple requests are sent to access multiple endpoints, then complete data retrieval is achieved, but network utilization increases
Solution Approach 1:
The patent merges multiple separate endpoint requests into a single aggregated response through the API gateway. Instead of the client sending multiple separate requests to different endpoints and receiving multiple separate responses, the gateway combines the functionality of multiple endpoints and returns a single consolidated response. This merging approach maintains complete data retrieval while significantly reducing network utilization by eliminating redundant request-response cycles.
3Adaptability or versatility
If dynamic system composition is supported, then system adaptability is improved, but system complexity increases
Solution Approach 1:
The patent implements a universal API gateway that handles multiple functions including request routing, response aggregation, filtering, and dynamic endpoint composition. The gateway serves as a multi-functional component that can adapt to different system configurations and endpoint structures without requiring changes to the client code. This universal approach enables dynamic system composition while managing complexity centrally in the gateway rather than distributing it across the entire system.
Solution Approach 2:
The API gateway provides self-service capabilities by automatically discovering available endpoints, generating appropriate routing logic, and composing responses without requiring manual configuration for each endpoint combination. The system enables itself to adapt to dynamic compositions through automated endpoint registration and routing rule generation, reducing the burden of system management while maintaining high adaptability.
Data Source
AI summary
Embodiments perform routing of client provided application programming interface (“API”) requests via an API gateway by receiving. at the API gateway, a POST registration request from a proxy API gateway, where the POST registration request is in response to a newly registering of a remote API endpoint at a remote proxy API registry. Embodiments create, at the API gateway, a first proxy API endpoint that represents the registered remote API endpoint and registers, at the API gateway, the first proxy API endpoint with an API registry. A first resource registers a first API with a remote API registry as a local API endpoint and the remote API registry groups a plurality of local API endpoints by API type and API version. The first proxy API endpoint corresponds to the first API.


