InterAction+™ Cloud API is built on GraphQL, a flexible and efficient query language for APIs. Unlike REST, which often requires multiple endpoints, GraphQL allows clients to request exactly the data they need through a single endpoint. This approach ensures better control over data fetching and reduces unnecessary requests.
Key Concepts
- GraphQL Schema: The schema defines the types, fields, and relationships between the different types. It acts as a contract between the client and the server, specifying what data can be queried and mutated.
- Queries: Queries are used to retrieve data from the server. Third-Party Clients can specify exactly which fields of a type they need, avoiding the over-fetching of data.
- Mutations: Mutations allow Third-Party clients to modify data, such as creating updating or deleting records. Mutations are structured similarly to queries and can return updated data.
Learning GraphQL
To learn more about GraphQL, we recommend visiting the official GraphQL website. It provides a comprehensive guide covering the core concepts, including writing queries, mutations, and understanding schemas.
Using InterAction+™ Cloud API
InterAction+™ Cloud API currently only supports Queries and Mutations. Developers can refer to the InterAction+™ Cloud API GraphQL documentation for details on the available GraphQL types, fields, and how to structure queries and mutations. The link to this documentation is available on the InterAction+™ Cloud API Answer Center.