You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: products/analytics/src/content/graphql-api/getting-started/explore-graphql-schema.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,13 @@ title: Explore the GraphQL schema
3
3
order: 40
4
4
---
5
5
6
-
# Explore the GraphQL schema in the GraphiQL client
6
+
# Explore the GraphQL schema
7
7
8
8
One of the great features of a GraphQL API is that it offers "introspection"—you can explore the graph (by making API calls) to see the available data sets, the fields and their types, and the operations you can perform.
9
9
10
-
_GraphiQL_ uses this functionality to provide a "Documentation Explorer" that you can use to understand the schema. Click on the _Docs_ link on the right-hand side and then drill down starting with `query` and proceeding to `viewer` and then `zone`. Introspection is also used to provide query auto-complete and syntax validation.
10
+
_GraphiQL_ uses this functionality to provide a "Documentation Explorer" that you can use to understand the schema. Click on the **Docs** link on the right-hand side and then drill down, starting with `query` and proceeding to `viewer` and then `zone`. GraphiQL also uses introspection to provide query auto-complete and syntax validation.
11
11
12
-
You can explore the schema of the Coudflare GraphQL endpoint in the the GraphQL client. The examples below use the GraphiQL client.
12
+
You can explore the schema of the Coudflare GraphQL endpoint in a GraphQL client. The examples below use the GraphiQL client.
13
13
14
14
Before you begin, configure the API endpoint and HTTP headers in the GraphQL client.
15
15
@@ -33,9 +33,9 @@ In this example `query` is the name of the node, and `Query` is the type definit
33
33
34
34
## Find the fields available for a given type definition
35
35
36
-
Click on the _type definition_ of a node to view the fields that it provides. The **Documentation Explorer** pane also displays descriptions of the nodes.
36
+
Click on the **type definition** of a node to view the fields that it provides. The **Documentation Explorer** pane also displays descriptions of the nodes.
37
37
38
-
Click the Query type definition. The **Documentation Explorer** panel displays the fields that the `query` node provides. In this example, the fields are `cost` and `viewer`.
38
+
Click the `Query` type definition. The **Documentation Explorer** panel displays the fields that the `query` node provides. In this example, the fields are `cost` and `viewer`.
39
39
40
40

41
41
@@ -45,9 +45,9 @@ Click on the type definition of the `viewer` field to list its sub-fields. The `
The `accounts` and `zones` fields take arguments to specify what data set to query.
48
+
The `accounts` and `zones` fields take arguments to specify which data set to query.
49
49
50
-
For the `zones` node you can provide a filter of ZoneFilter_InputObject type. To view the fields to specify in the filter, click **ZoneFilter_InputObject**.
50
+
For the `zones` node you can provide a filter of `ZoneFilter_InputObject` type. To view the fields available to filter, click **ZoneFilter_InputObject**.
51
51
52
52
To limit the amount of search results that the query returns, click the **limit** argument.
0 commit comments