Edit in GitHubLog an issue

What is API Mesh for Adobe Developer App Builder?

API Mesh is a decoupled API platform that enables enterprise and mid-market developers to integrate private or third-party APIs and other software interfaces with Adobe products using Adobe IO. This allows businesses that need to access functionality across multiple systems to provide better end-user experiences. API Mesh allows developers to configure multiple APIs and other sources and serve them through a single gateway. Developers can query the combined sources through a single GraphQL query. Adobe Commerce, for example, also supports GraphQL queries.

API Mesh enables developers to integrate third-party APIs with other Adobe products, like App Builder, Adobe IO Gateway, or other serverless technologies. By subscribing to near-real-time events, developers can allow these external systems to synchronize data, participate in distributed workflows, and generally react to events as they occur.

Why GraphQL?

GraphQL has several advantages over REST and other APIs:

  • GraphQL has predictable responses: With GraphQL, you specify what information your response should contain.
  • Faster response time: Since you can control what data appears in your response, there is less extraneous data slowing down your calls.
  • Defined Schema: With its well-defined set of types, GraphQL lets you know what data you can query.

Features

  • API Mesh - A reverse proxy that accepts most API calls for many backend services
  • Configurable Integrations - Low/No-code method to integrate with your own private APIs with Adobe Commerce and other Adobe products, and third-party APIs
  • Backwards Compatibility - Preserve existing APIs while gradually adopting new ones
  • Extensibility - Customize and extend all of your APIs directly in the gateway without making changes to the API source

Example use case

Adobe Commerce users can consider API Mesh as a low-code way to integrate other APIs to the Storefront and Storefront Management APIs. It also provides a way for the Storefront API and the Storefront Management APIs to communicate with each other.

Security

The GraphQL data plane used by API Mesh is public but requires both a MeshID and an API Key to access. We recommend storing your API Key in a header, instead of using the API Key attached to your mesh's URL.

Basic identification is provided by your Mesh ID and API Key. Additionally, API Mesh honors any downstream authorization headers provided by your sources.

If you require additional authentication or authorization, you can use custom resolvers.

Distributed denial-of-service (DDOS) attack protection, rate limiting, and throttling are provided at a global level by graph.adobe.io. For more individualized protection, we recommend adding a Content Delivery Network (CDN), such as Fastly, through edge caching.

Rate limiting mitigates DDoS threats by preventing any given traffic source from sending too many requests. API Mesh controls the incoming traffic to graph.adobe.io by limiting the number of requests that the API can receive within a given time span. When the limit is reached before the time expires, the policy rejects all requests, which avoids any additional load on the API Mesh service and the backend source APIs within your mesh configurations. This is a global policy, covering the entire service, and is based upon your individual API key. In the event you are rate limited, your API will receive a HTTP 429 Too Many Requests response status code.

If you encounter repeated 429 response codes or for any other security issues, contact API Mesh support through Zendesk.

Where to go next

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.