From 28ce08434a847d5f955bcbfd634c6d60d675e393 Mon Sep 17 00:00:00 2001
From: Mark Huot
Date: Fri, 22 Dec 2017 10:01:09 -0500
Subject: [PATCH 1/2] Update README.md
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index b6c356df..3ea929e0 100644
--- a/README.md
+++ b/README.md
@@ -311,6 +311,7 @@ No software is ever done. There's a lot still to do in order to make _CraftQL_ f
- [x] Mutations need a lot more testing
- [x] `relatedTo:` improvements to take source/target
- [ ] [Persisted queries](https://github.com/markhuot/craftql/issues/10)
+- [ ] [Subclassed enum fields](https://github.com/markhuot/craftql/issues/40) that are able to return the raw field value
## Requirements
From 67a8a1ff84650c9e3898f98497904a84e55e84c2 Mon Sep 17 00:00:00 2001
From: Tim Kelty You can explore your API with the permissions of this token by navigating to /admin/craftql/browse/{token}.
+ You can explore your API with the permissions of this token in GraphiQL.
will show you a graphical interface to GraphQL. Use it to explore your schema and test requests. Click _Docs_ in the upper right hand corner to see all the fields you can query against. will show you a graphical interface to GraphQL. Use it to explore your schema and test requests. Click _Docs_ in the upper right hand corner to see all the fields you can query against. You can query your schema directly by passing a GraphQL statement throuh a `query` variable. The following Curl statement should get you started,Try it out
-
diff --git a/src/templates/settings.html b/src/templates/settings.html
index 56c7ec4d..a12f5909 100644
--- a/src/templates/settings.html
+++ b/src/templates/settings.html
@@ -48,13 +48,13 @@
You can access your GraphQL endpoint in two ways,
-1. **[GraphiQL](/admin/craftql/browse)** $ curl -H "Authorization: bearer {{ settings.tokens[0].token|default('{TOKEN}') }}" -H "Content-type: application/json" -d '{"query":"{ helloWorld }"}' {{ siteUrl }}{{ settings.uri }}
Before you can use Curl you need to [add a token](/admin/craftql/token-gen) for authenticated access in to Craft.
+Before you can use Curl you need to [add a token]({{ url('craftql/token-gen') }}) for authenticated access in to Craft.
{% endif %} {% endset %} @@ -77,7 +77,7 @@Tokens control access in to your API. Instead of authenticating with a username and password, API access is granted via a token. Treat this token like a password because it provides privileged access in to your Craft website.
-Generate a new token (for my user)
+Generate a new token (for my user)
{% if settings.tokens|length > 0 %}{{ token.token }} | -Scopes… | -+ | Scopes… | +