Creating a GraphQL API
So far, you have created various types of API proxies using API Connect, so creating a new API should be easy. When you create a GraphQL API, there are a few different checkpoints that you will become familiar with. In this section, you will be working with a GraphQL server that is providing FHIR Patient resource data. A few of the things you will be learning about are as follows:
- How nested calls are triggered by a single API
- How throttling prevents usage spikes
- How to estimate the cost of running a complex query
- Where to establish rate limits since GraphQL APIs are not like traditional APIs
The following diagram shows how the client interacts with API Connect's GraphQL implementation and with the GraphQL server:
The preceding diagram also shows you how a query is passed in and goes through a series of checks before API Connect forwards the query to the GraphQL...