Skip to content

Commit fe5d617

Browse files
routing
1 parent f55848b commit fe5d617

File tree

3 files changed

+46
-31
lines changed

3 files changed

+46
-31
lines changed

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

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,11 @@ Once your Source Endpoints are added to Endpoint Management, use the following s
2424

2525
### Create a route
2626

27-
<Render file="routing" params={{ one: "Create", two: "route" }} />
27+
<Render file="routing" />
2828

2929
<Render file="routing-path-variables" />
3030

31-
### Edit a route
32-
33-
<Render file="routing" params={{ one: "Edit", two: "routing" }} />
34-
35-
### Remove a route
36-
37-
<Steps>
38-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
39-
2. Select **Security** > **API Shield**.
40-
3. In **Endpoint Management**, select an existing endpoint and expand its details.
41-
4. Under **Routing**, select **Edit routing**.
42-
5. Select **Delete route**.
43-
</Steps>
31+
You can also edit or delete a route by selecting **Edit route** on an existing route.
4432

4533
### Test a route
4634

src/content/partials/api-shield/routing.mdx

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,27 @@ inputParameters: param1;;param2
33

44
---
55

6-
import { Markdown, Steps } from "~/components"
6+
import { Markdown, Steps, Tabs, TabItem } from "~/components"
77

8-
<Steps>
9-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
10-
2. Go to **Security** > **API Shield**.
11-
3. In **Endpoint Management**, select an existing endpoint and expand its details.
12-
4. Under **Routing**, select **{props.one} {props.two}**.
13-
5. Enter the target URL or IP address to route your endpoint to.
14-
6. Select **Deploy route**.
15-
</Steps>
8+
<Tabs syncKey="dashNewNav">
9+
<TabItem label="Old dashboard">
10+
<Steps>
11+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
12+
2. Go to **Security** > **API Shield**.
13+
3. In **Endpoint Management**, select an existing endpoint and expand its details.
14+
4. Under **Routing**, select **Create route**.
15+
5. Enter the target URL or IP address to route your endpoint to.
16+
6. Select **Deploy route**.
17+
</Steps>
18+
</TabItem>
19+
<TabItem label="New dashboard" icon="rocket">
20+
<Steps>
21+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account and domain.
22+
2. Go to **Security** > **Web assets**.
23+
3. In **Endpoints**, select an existing endpoint and expand its details.
24+
4. Under **Routing**, select **Create route**.
25+
5. Enter the target URL or IP address to route your endpoint to.
26+
6. Select **Deploy route**.
27+
</Steps>
28+
</TabItem>
29+
</Tabs>

src/content/partials/api-shield/source-endpoints.mdx

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,29 @@
33

44
---
55

6-
import { Steps } from "~/components"
6+
import { Steps, Tabs, TabItem } from "~/components"
77

88
You must add Source Endpoints to Endpoint Management through established methods, including [uploading a schema](/api-shield/security/schema-validation/#add-validation-by-uploading-a-schema), via [API Discovery](/api-shield/security/api-discovery/), or by [adding manually](/api-shield/management-and-monitoring/#add-endpoints-manually), before creating a route.
99

1010
To create a route, you will need the operation ID of the Source Endpoint. To find the operation ID in the dashboard:
1111

12-
<Steps>
13-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
14-
2. Select **Security** > **API Shield**.
15-
3. Filter the endpoints to find your **Source Endpoint**.
16-
4. Expand the row for your Source Endpoint and note the **operation ID** field.
17-
5. Select the copy icon to copy the operation ID to your clipboard.
18-
</Steps>
12+
<Tabs syncKey="dashNewNav">
13+
<TabItem label="Old dashboard">
14+
<Steps>
15+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
16+
2. Select **Security** > **API Shield**.
17+
3. Filter the endpoints to find your **Source Endpoint**.
18+
4. Expand the row for your Source Endpoint and note the **operation ID** field.
19+
5. Select the copy icon to copy the operation ID to your clipboard.
20+
</Steps>
21+
</TabItem>
22+
<TabItem label="New dashboard" icon="rocket">
23+
<Steps>
24+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account and domain.
25+
2. Select **Security** > **Web assets**.
26+
3. Filter the endpoints to find your **Source Endpoint**.
27+
4. Expand the row for your Source Endpoint and note the **operation ID** field.
28+
5. Select the copy icon to copy the operation ID to your clipboard.
29+
</Steps>
30+
</TabItem>
31+
</Tabs>

0 commit comments

Comments
 (0)