Skip to content

Commit 6c7252c

Browse files
committed
[GraphQL] Add explorer iframe
1 parent 0e3ea1b commit 6c7252c

File tree

2 files changed

+30
-14
lines changed

2 files changed

+30
-14
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: GraphQL explorer
3+
pcx_content_type: reference
4+
sidebar:
5+
order: 1
6+
tableOfContents: false
7+
---
8+
9+
Cloudflare provides a [GraphQL explorer](https://graphql.cloudflare.com/explorer) to learn more about the schema.
10+
11+
<div style="position: relative; padding-top: 56.25%">
12+
<iframe
13+
src="https://graphql.cloudflare.com/explorer"
14+
title="Cloudflare GraphQL explorer"
15+
style="border: none; position: absolute; top: 0; left: 0; height: 100%; width: 100%;"
16+
referrerpolicy="strict-origin-when-cross-origin"
17+
allowfullscreen
18+
></iframe>
19+
</div>
Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,39 @@
11
---
22
title: Get started
3-
pcx_content_type: get-started
3+
pcx_content_type: navigation
44
sidebar:
55
order: 11
6-
76
---
87

9-
import { Render } from "~/components"
8+
import { Render } from "~/components";
109

1110
Use these articles to get started with the Cloudflare GraphQL API:
1211

13-
* [Authentication][1] - walks you through the options and the steps required to
12+
- [GraphQL Explorer][7]
13+
- [Authentication][1] - walks you through the options and the steps required to
1414
set up your access to Cloudflare API successfully,
15-
* [Querying basics][2] - brings simple query examples for you to start exploring
15+
- [Querying basics][2] - brings simple query examples for you to start exploring
1616
the GraphQL API,
17-
* [Introspect the GraphQL schema][3] - explains how-to surf the schema with
17+
- [Introspect the GraphQL schema][3] - explains how-to surf the schema with
1818
GraphQL client,
19-
* [Create a query in a GraphQL client][4] - describes how to build and run a
19+
- [Create a query in a GraphQL client][4] - describes how to build and run a
2020
query against the Cloudflare GraphQL API in the GraphQL clients,
21-
* [Use curl to query the GraphQL API][5] - walks you through running a query
21+
- [Use curl to query the GraphQL API][5] - walks you through running a query
2222
against the Cloudflare GraphQL API from the command line.
2323

2424
For examples of how to build your own GraphQL Analytics dashboard and query
2525
specific information, such as Firewall and Workers events, please refer to
2626
[Tutorials][6].
2727

2828
:::note[Data unavailability: Customer Metadata Boundary configuration]
29-
<Render file="customer_metadata_boundary_error" />
29+
30+
<Render file="customer_metadata_boundary_error" />
3031
:::
3132

3233
[1]: /analytics/graphql-api/getting-started/authentication/
33-
3434
[2]: /analytics/graphql-api/getting-started/querying-basics/
35-
3635
[3]: /analytics/graphql-api/getting-started/explore-graphql-schema/
37-
3836
[4]: /analytics/graphql-api/getting-started/compose-graphql-query/
39-
4037
[5]: /analytics/graphql-api/getting-started/execute-graphql-query/
41-
4238
[6]: /analytics/graphql-api/tutorials/
39+
[7]: /analytics/graphql-api/explorer/

0 commit comments

Comments
 (0)