Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit cbfd18c

Browse files
authored
Merge branch 'master' into kh_customizable-file
2 parents 274ff40 + 2deaff5 commit cbfd18c

13 files changed

+16
-49
lines changed

src/cloud/cdn/fastly-vcl-bypass-to-origin.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
group: cloud-guide
33
title: Custom VCL to bypass Fastly cache
4-
redirect_from:
5-
- /cloud/configure/fastly-vcl-badreferer.html
64
functional_areas:
75
- Cloud
86
- Setup

src/cloud/docker/docker-manage-cron-jobs.md

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ functional_areas:
55
- Cloud
66
- Setup
77
- Configuration
8-
redirect_from:
9-
- /cloud/reference/docker-config.html
108
---
119

1210
The [Cron container] runs the scheduled cron jobs automatically based on the cron configuration defined in the [`crons` property of the `.magento.app.yaml` file]({{ site.baseurl }}/cloud/project/magento-app-properties.html#crons), and any custom configuration specified in the `docker-compose-override.yml` file.

src/guides/v2.3/graphql/authorization-tokens.md

+6
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ mutation {
3737
}
3838
```
3939

40+
You can now use this token in the Authorization request header field for any queries and mutations.
41+
42+
![GraphQL Authorization Bearer]({{site.baseurl}}/common/images/graphql/graphql-authorization.png)
43+
44+
If necessary, you also can [revoke the customer's token]({{ page.baseurl }}/graphql/mutations/revoke-customer-token.html
45+
4046
## Admin tokens
4147

4248
In Magento GraphQL, you specify an admin token only if you need to query products, categories, price rules, or other entities that are scheduled to be in a campaign (staged content). Staging is supported in {{site.data.var.ee}} only. See [Staging queries]({{page.baseurl}}/graphql/queries/index.html#staging) for more information.

src/guides/v2.3/graphql/develop/create-graphqls-file.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
group: graphql
33
title: Define the GraphQL schema for a module
4-
redirect_from: graphql/develop/configure-graphql-xml.html
4+
redirect_from: /guides/v2.3/graphql/develop/configure-graphql-xml.html
55
---
66

77
Each module that adds to or extends from a GraphQL schema can do so by placing a `schema.graphqls` file in its `etc` directory. Magento Core adds [`GraphQl`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/GraphQl) modules based on the purpose of the schema being extended/added and the core modules they depend on. For example, the `CustomerGraphQl` module adds a query and multiple mutations to the `graphql` endpoint to view and modify customer data. The `CustomerGraphQl` module relies on the `Customer` core module.

src/guides/v2.3/graphql/get-customer-authorization-token.md

Whitespace-only changes.

src/guides/v2.3/graphql/tutorials/checkout/checkout-shopping-cart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ contributor_link: https://www.atwix.com/
1616

1717
The procedure for creating a cart varies for logged-in customers and guests.
1818

19-
The `customerCart` query returns the active cart for the logged-in customer. If the cart does not exist, the query creates one. You must specify the customer’s authorization token in the headers. Otherwise, the query fails. ["Get customer authorization token"]({{ page.baseurl }}/graphql/get-customer-authorization-token.html) describes describes these tokens.
19+
The `customerCart` query returns the active cart for the logged-in customer. If the cart does not exist, the query creates one. You must specify the customer’s authorization token in the headers. Otherwise, the query fails. ["Get customer authorization token"]({{ page.baseurl }}/graphql/authorization-tokens.html) describes describes these tokens.
2020

2121
For guests, use the [`createEmptyCart`]({{page.baseurl}}/graphql/mutations/create-empty-cart.html) mutation to create an empty shopping cart and generate a cart ID for a guest user. If the guest later logs in as a customer, use the [`mergeCarts`]({{page.baseurl}}/graphql/mutations/merge-carts.html) mutation to transfer the contents of the guest cart into the customer's cart.
2222

src/guides/v2.4/graphql/authorization-tokens.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Authorization tokens
44
contributor_name: Atwix
55
contributor_link: https://www.atwix.com/
66
redirect_from:
7-
- /guides/v2.3/graphql/get-customer-authorization-token.html
7+
- /guides/v2.4/graphql/get-customer-authorization-token.html
88
---
99

1010
Magento provides separate token services for customers and administrators. When you request a token from one of these services, the service returns a unique access token in exchange for the username and password for a Magento account.
@@ -37,6 +37,12 @@ mutation {
3737
}
3838
```
3939

40+
You can now use this token in the Authorization request header field for any queries and mutations.
41+
42+
![GraphQL Authorization Bearer]({{site.baseurl}}/common/images/graphql/graphql-authorization.png)
43+
44+
If necessary, you also can [revoke the customer's token]({{ page.baseurl }}/graphql/mutations/revoke-customer-token.html
45+
4046
## Admin tokens
4147

4248
In Magento GraphQL, you specify an admin token only if you need to query products, categories, price rules, or other entities that are scheduled to be in a campaign (staged content). Staging is supported in {{site.data.var.ee}} only. See [Staging queries]({{page.baseurl}}/graphql/queries/index.html#staging) for more information.

src/guides/v2.4/graphql/develop/create-graphqls-file.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
group: graphql
33
title: Define the GraphQL schema for a module
4-
redirect_from: graphql/develop/configure-graphql-xml.html
4+
redirect_from: /guides/v2.4/graphql/develop/configure-graphql-xml.html
55
---
66

77
Each module that adds to or extends from a GraphQL schema can do so by placing a `schema.graphqls` file in its `etc` directory. Magento Core adds [`GraphQl`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/GraphQl) modules based on the purpose of the schema being extended/added and the core modules they depend on. For example, the `CustomerGraphQl` module adds a query and multiple mutations to the `graphql` endpoint to view and modify customer data. The `CustomerGraphQl` module relies on the `Customer` core module.

src/guides/v2.4/graphql/get-customer-authorization-token.md

-1
This file was deleted.

src/guides/v2.4/install-gde/continue-to-verify.md

-35
This file was deleted.

src/guides/v2.4/install-gde/install-roadmap_web.md

-1
This file was deleted.

src/guides/v2.4/install-gde/prereq/mysql.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
group: installation-guide
33
title: MySQL
4-
redirect_from:
5-
- guides/v2.3/install-gde/trouble/tshoot_mysql_table-open-cache.html
64
---
75

86
## Help if you are just starting out {#mysql-help-beginner}

src/guides/v2.4/install-gde/prereq/php-settings.md

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ functional_areas:
55
- Install
66
- System
77
- Setup
8-
redirect_from:
9-
- /guides/v2.3/install-gde/prereq/php-settings-ubuntu.html
108
---
119

1210
This topic discusses how to set required [PHP](https://glossary.magento.com/php) options.

0 commit comments

Comments
 (0)