Skip to content

Commit 54eb94f

Browse files
authored
[API Shield] Remove trailing spaces (#19787)
1 parent 1298849 commit 54eb94f

File tree

5 files changed

+34
-34
lines changed

5 files changed

+34
-34
lines changed

src/content/docs/api-shield/management-and-monitoring/api-routing/configure.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ API Shield Routing enables customers to create a unified external-facing API tha
1212

1313
:::note
1414

15-
The term **Source Endpoint** refers to the endpoint managed by API Shield in Endpoint Management. The term **Target Endpoint** refers to the ultimate destination the request is sent to by the Routing feature.
15+
The term **Source Endpoint** refers to the endpoint managed by API Shield in Endpoint Management. The term **Target Endpoint** refers to the ultimate destination the request is sent to by the Routing feature.
1616
:::
1717

1818
## Process
@@ -84,7 +84,7 @@ If API Shield returns unexpected results, check your Source Endpoint host, metho
8484

8585
:::note
8686

87-
You may need to wait up to five minutes for route changes to synchronize across the Cloudflare network.
87+
You may need to wait up to five minutes for route changes to synchronize across the Cloudflare network.
8888
:::
8989

9090
## Limitations

src/content/docs/api-shield/management-and-monitoring/api-routing/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ API Shield Routing enables customers to create a unified external-facing API tha
1313

1414
:::note
1515

16-
The term **Source Endpoint** refers to the endpoint managed by API Shield in Endpoint Management. The term **Target Endpoint** refers to the ultimate destination the request is sent to by the Routing feature.
16+
The term **Source Endpoint** refers to the endpoint managed by API Shield in Endpoint Management. The term **Target Endpoint** refers to the ultimate destination the request is sent to by the Routing feature.
1717
:::
1818

1919
## Process
@@ -48,7 +48,7 @@ If API Shield returns unexpected results, check your Source Endpoint host, metho
4848

4949
:::note
5050

51-
You may need to wait up to five minutes for Route changes to synchronize across the Cloudflare network.
51+
You may need to wait up to five minutes for Route changes to synchronize across the Cloudflare network.
5252
:::
5353

5454
## Availability

src/content/docs/api-shield/management-and-monitoring/developer-portal.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Once <GlossaryTooltip term="API endpoint">endpoints</GlossaryTooltip> are saved
2222

2323
If you do not have a schema to upload or to select from a pre-existing schema, export your Endpoint Management schema. For best results, include the learned parameters.
2424

25-
Only <GlossaryTooltip term="API schema">API schemas</GlossaryTooltip> uploaded to Schema Validation 2.0 are available when selecting existing schemas
25+
Only <GlossaryTooltip term="API schema">API schemas</GlossaryTooltip> uploaded to Schema Validation 2.0 are available when selecting existing schemas
2626
:::
2727

2828
5. Select **Download project files** to save a local copy of the files that will be uploaded to Cloudflare Pages. Downloading the project files can be helpful if you wish to modify the project in any way and then upload the new version manually to Pages.

src/content/docs/api-shield/management-and-monitoring/endpoint-labels.mdx

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Today, managed labels are useful for organizing endpoints by use case. In a futu
1616

1717
User-defined labels can also be added to endpoints in API Shield by creating a label and adding it to an individual endpoint or multiple endpoints. User-defined labels will be useful for organizing your endpoints by owner, version, or type.
1818

19-
You can filter your endpoints based on the labels.
19+
You can filter your endpoints based on the labels.
2020

2121
## Managed labels
2222

@@ -32,7 +32,7 @@ You can filter your endpoints based on the labels.
3232

3333
`cf-add-cart`: Add this label to endpoints that add items to a user's shopping cart or verify item availability.
3434

35-
`cf-add-payment`: Add this label to endpoints that accept credit card or bank account details where fraudsters may iterate through account numbers to guess valid combinations of payment information.
35+
`cf-add-payment`: Add this label to endpoints that accept credit card or bank account details where fraudsters may iterate through account numbers to guess valid combinations of payment information.
3636

3737
`cf-check-value`: Add this label to endpoints that check the balance of rewards points, in-game currency, or other stored value products that can be earned, transferred, and redeemed for cash or physical goods.
3838

@@ -44,7 +44,7 @@ You can filter your endpoints based on the labels.
4444

4545
`cf-risk-missing-auth`: Automatically added when all successful requests lack a session identifier. Refer to the table below for more information.
4646

47-
`cf-risk-mixed-auth`: Automatically added when some successful requests contain a session identifier and some successful requests lack a session identifier. Refer to the table below for more information.
47+
`cf-risk-mixed-auth`: Automatically added when some successful requests contain a session identifier and some successful requests lack a session identifier. Refer to the table below for more information.
4848

4949
`cf-risk-sensitive`: Cloudflare will automatically add this label to endpoints when HTTP responses match the WAF's [Sensitive Data Detection](/api-shield/management-and-monitoring/#sensitive-data-detection) ruleset.
5050

@@ -56,39 +56,39 @@ Cloudflare will only add authentication labels to endpoints with successful resp
5656

5757
## Create a label
5858

59-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
59+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
6060
2. Go to **Security** > **Settings** > **Labels**.
6161
3. Under **Security labels**, select **Create label**.
62-
4. Name the label and add an optional label description.
63-
5. Apply the label to your selected endpoints.
64-
6. Select **Create label**.
62+
4. Name the label and add an optional label description.
63+
5. Apply the label to your selected endpoints.
64+
6. Select **Create label**.
6565

66-
Alternatively, you can create a user-defined label via Endpoint Management in API Shield.
66+
Alternatively, you can create a user-defined label via Endpoint Management in API Shield.
6767

68-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
68+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
6969
2. Go to **Security** > **Settings** > **Labels**.
70-
3. Choose the endpoint that you want to label.
70+
3. Choose the endpoint that you want to label.
7171
4. Select **Edit labels**.
72-
5. Under **User**, select **Create user label**.
73-
6. Enter the label name.
74-
7. Select **Create**.
72+
5. Under **User**, select **Create user label**.
73+
6. Enter the label name.
74+
7. Select **Create**.
7575

7676
## Apply a label to an individual endpoint
7777

78-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
78+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
7979
2. Go to **Security** > **API Shield** > **Endpoint Management**.
80-
3. Choose the endpoint that you want to label.
80+
3. Choose the endpoint that you want to label.
8181
4. Select **Edit labels**.
82-
5. Add the label(s) that you want to use for the endpoint from the list of managed and user-defined labels.
83-
6. Select **Save labels**.
82+
5. Add the label(s) that you want to use for the endpoint from the list of managed and user-defined labels.
83+
6. Select **Save labels**.
8484

8585
## Bulk apply labels to multiple endpoints
8686

87-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
87+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
8888
2. Go to **Security** > **Settings** > **Labels**.
89-
3. On the existing label that you want to apply to multiple endpoints, select **Bulk apply**.
90-
4. Choose the endpoints that you want to label by selecting its checkbox.
91-
5. Select **Save label**.
89+
3. On the existing label that you want to apply to multiple endpoints, select **Bulk apply**.
90+
4. Choose the endpoints that you want to label by selecting its checkbox.
91+
5. Select **Save label**.
9292

9393
## Availability
9494

src/content/docs/api-shield/management-and-monitoring/index.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Cloudflare will start collecting [performance data](/api-shield/management-and-m
2222

2323
:::note
2424

25-
When an endpoint is using [Cloudflare Workers](/workers/), the metrics data will not be populated.
25+
When an endpoint is using [Cloudflare Workers](/workers/), the metrics data will not be populated.
2626
:::
2727

2828
## Access
@@ -57,7 +57,7 @@ API Shield will look for duplicate endpoints that have the same host, method, an
5757

5858
:::note
5959

60-
If you deselect **Save new endpoints to endpoint management**, the endpoints will not be added.
60+
If you deselect **Save new endpoints to endpoint management**, the endpoints will not be added.
6161
:::
6262

6363
## Add endpoints manually
@@ -68,10 +68,10 @@ If you deselect **Save new endpoints to endpoint management**, the endpoints wil
6868

6969
:::note
7070

71-
By selecting multiple checkboxes, you can add several endpoints from Discovery at once instead of individually.
71+
By selecting multiple checkboxes, you can add several endpoints from Discovery at once instead of individually.
7272
:::
7373

74-
When adding an endpoint manually, you can specify variable fields in the path or host by enclosing them in braces, `/api/user/{var1}/details` or `{hostVar1}.example.com`.
74+
When adding an endpoint manually, you can specify variable fields in the path or host by enclosing them in braces, `/api/user/{var1}/details` or `{hostVar1}.example.com`.
7575

7676
Cloudflare supports hostname variables in the following formats:
7777

@@ -84,9 +84,9 @@ foo.{hostVar1}.example.com
8484
{hostVar2}.{hostVar1}.example.com
8585
```
8686

87-
Hostname variables must comprise the entire domain field and must not be used with other text in the field.
87+
Hostname variables must comprise the entire domain field and must not be used with other text in the field.
8888

89-
The following format is not supported:
89+
The following format is not supported:
9090

9191
```txt
9292
@@ -119,7 +119,7 @@ To protect your API with a learned schema, refer to [Schema Validation](/api-shi
119119

120120
:::note
121121

122-
The schema is saved as a JSON file in OpenAPI `v3.0.0` format.
122+
The schema is saved as a JSON file in OpenAPI `v3.0.0` format.
123123
:::
124124

125125
#### Learned schemas will always include:
@@ -148,7 +148,7 @@ For each saved endpoint, customers can view:
148148

149149
:::note
150150

151-
Customers viewing analytics have the ability to toggle detailed metrics view between the last 24 hours and 7 days.
151+
Customers viewing analytics have the ability to toggle detailed metrics view between the last 24 hours and 7 days.
152152
:::
153153

154154
## Using the Cloudflare API

0 commit comments

Comments
 (0)