Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add doc section to table of contents
Adam Janika9bfa8a5b6fd
diff --git a/docs/architecture.rst b/docs/architecture.rstindex 0db35e3f4c..4801ce861c 100644--- a/docs/architecture.rst+++ b/docs/architecture.rst@@ -15,3 +15,4 @@ Architecturearchitecture/settingsarchitecture/pagearchitecture/gdpr+ architecture/graphqldiff --git a/docs/architecture/graphq_api.rst b/docs/architecture/graphql.rstsimilarity index 96%rename from docs/architecture/graphq_api.rstrename to docs/architecture/graphql.rstindex c3ec9d1851..eeec432f9a 100644--- a/docs/architecture/graphq_api.rst+++ b/docs/architecture/graphql.rst@@ -25,7 +25,7 @@ Quering for data in GraphQL can be vary easy with tool GraphiQL, which can be usFor example this query:-.. code-block::+.. code-block:: htmlquery happyThreeProducts {products(first: 3){@@ -42,7 +42,7 @@ For example this query:results in the following result:-.. code-block::+.. code-block:: html{"data": {@@ -81,7 +81,7 @@ Authorization----------------------------Saleor GraphQL API uses `JWT <https://jwt.io/>`_ - to authorize you need to create and add token to the ``Authorization`` header. You can do it with the following mutation:-.. code-block::+.. code-block:: htmlmutation tokenCreate($username: String!, $password: String!) {tokenAuth(username: $username, password: $password) {@@ -91,7 +91,7 @@ Saleor GraphQL API uses `JWT <https://jwt.io/>`_ - to authorize you need to creaVerification and refreshing the token is very simple:-.. code-block::+.. code-block:: htmlmutation tokenVerify($token: String!) {verifyToken(token: $token) {@@ -99,7 +99,7 @@ Verification and refreshing the token is very simple:}}-.. code-block::+.. code-block:: htmlmutation tokenRefresh($token: String!) {tokenRefresh(token: $token) {