What is GraphQL?
GraphQL is a query language for APIs that allows clients to request only the data they need. It provides a more efficient, powerful, and flexible alternative to traditional REST APIs.
Key Concepts
-
Schema defines the structure of the data available for queries. It includes types and queries.
-
Types define the shape of the data, such as
String
,Int
,Float
,Boolean
, and custom object types. -
Queries how clients request data. They specify what data is needed and in what shape.
Example:
query {
sources_A {
name
}
}
Further Reading
For more detailed information and advanced topics, please refer to the official GraphQL documentation:
- GraphQL Introduction (opens in a new tab)
- GraphQL Queries (opens in a new tab)
- GraphQL Clients (opens in a new tab)
By understanding these basics, you can efficiently interact with our provided GraphQL server and fetch the data you need.
How to Make Requests→