Skip to content

Commit f7f22f2

Browse files
authored
docs: Update outdated GraphiQL reference
1 parent 15c6fdb commit f7f22f2

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

docs/content/API-Reference/GraphQL-API.mdx

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,9 @@ client. Instead inline variables directly in the query.
2323

2424
First, ensure you're running Cube v0.28.58 or later. Then start the project
2525
locally in development mode, and navigate to
26-
`http://localhost:4000/cubejs-api/graphql` in your browser. You should see the
27-
GraphiQL interface:
28-
29-
<div style="text-align: center">
30-
<img
31-
src="https://raw.githubusercontent.com/cube-js/cube.js/master/docs/content/API-Reference/GraphQL-API-1.png"
32-
style="border: none"
33-
width="80%"
34-
/>
35-
</div>
36-
37-
If you click the 'Docs' button in the top-right, you can explore the
38-
introspected schema:
39-
40-
<div style="text-align: center">
41-
<img
42-
src="https://raw.githubusercontent.com/cube-js/cube.js/master/docs/content/API-Reference/GraphQL-API-2.png"
43-
style="border: none"
44-
width="80%"
45-
/>
46-
</div>
26+
`http://localhost:4000/` in your browser.
27+
After generating schema and running query you should see the GraphiQL interface if you click 'GraphiQL' button.
28+
If you click the 'Docs' button in the top-right, you can explore the introspected schema.
4729

4830
As an example, let's use the `Orders` cube from the example eCommerce database:
4931

0 commit comments

Comments
 (0)