![]() Every time you add a new API to your application network, Anypoint Platform stores it as a graph of metadata. If there is a new API consumer demanding the data in a different way, it can specify its requirements as a GraphQL query without needing to create a new API.Īnypoint DataGraph leverages GraphQL to enhance the consume-ability of APIs. For example, instead of exposing several APIs to provide individually tailored product data to API consumers, just one GraphQL endpoint is required. Thus, only the data that is needed is moved over the network and the consuming application does not need to filter, sort, or join data.įrom an API provider perspective, GraphQL standardizes the definition of an API that fulfills the needs of multiple consumers and use cases. Flexibility of consumption is enhanced, as the developers of consuming applications get more control and freedom to define what data they want. These include filtering, sorting, search, pagination, and join operations. It introduces enhanced query capabilities in a standardized way. In contrast to REST and SOAP APIs, GraphQL allows every consumer to individually specify what data it needs and how. It was developed at Facebook and was released publicly in 2015. GraphQL is an open-source data query and manipulation language for APIs. DataGraph is evaluated as a new option to consume APIs compared to REST-based approaches. ![]() This is the first blog in a series on how Anypoint DataGraph relates to the concept of API-led connectivity. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |