From 03dd595b180dfbbdc9ffaa62c59340b8b932d37c Mon Sep 17 00:00:00 2001 From: lee Date: Tue, 22 Jun 2021 09:07:21 +0100 Subject: [PATCH] remove: graphiql form subject --- subjects/graphql/README.md | 4 ++-- subjects/graphql/index.html | 36 ------------------------------------ 2 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 subjects/graphql/index.html diff --git a/subjects/graphql/README.md b/subjects/graphql/README.md index c31f40da..a6a80358 100644 --- a/subjects/graphql/README.md +++ b/subjects/graphql/README.md @@ -48,7 +48,7 @@ for example: [github-pages](https://pages.github.com/), [netlify](https://www.ne ### Usage -> To test your queries you can access the GraphQL IDE on _https://((DOMAIN))/public/subjects/graphql/_ or create your own [**GraphiQL Docs**](https://github.com/graphql/graphiql). This will give you a bigger picture of the tables, attributes and all the types of queries that you can do. +> To test your queries you can access the GraphQL IDE on _https://((DOMAIN))/graphql/_ or create your own [**GraphiQL Docs**](https://github.com/graphql/graphiql). This will give you a bigger picture of the tables, attributes and all the types of queries that you can do. Here are the list of tables that you are allowed to query (it will be only provided the columns present on the tables): @@ -152,7 +152,7 @@ You can see the result using `curl`: - `curl "https://((DOMAIN))/api/graphql-engine/v1/graphql" --data '{"query":"{user(where:{id:{_eq:6}}){id login}}"}'` -In graphQL the usage of arguments can be specified in the schema of the API. Like said above you can visit the _docs_ for the graphQL endpoint, _https://((DOMAIN))/public/subjects/grapqhl_ +In graphQL the usage of arguments can be specified in the schema of the API. Like said above you can visit the _docs_ for the graphQL endpoint, _https://((DOMAIN))/grapqhl_ Example of nesting, using the result and user table : diff --git a/subjects/graphql/index.html b/subjects/graphql/index.html deleted file mode 100644 index 60e86fe6..00000000 --- a/subjects/graphql/index.html +++ /dev/null @@ -1,36 +0,0 @@ - - - GraphiQL - - - -
- - - - - - - - \ No newline at end of file