From 3622968f1870cb45fee0e180eb895eb07fb5c237 Mon Sep 17 00:00:00 2001 From: Denise Pena Date: Tue, 27 May 2025 11:54:42 -0500 Subject: [PATCH 1/2] Deleted Building custom dashboards --- public/__redirects | 2 ++ .../api/building-custom-dashboards/index.mdx | 17 ----------------- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 src/content/docs/fundamentals/api/building-custom-dashboards/index.mdx diff --git a/public/__redirects b/public/__redirects index 0012aa1b84916a..306017c72bbe87 100644 --- a/public/__redirects +++ b/public/__redirects @@ -697,6 +697,8 @@ /fundamentals/subscriptions-and-billing/change-super-admin/ /fundamentals/setup/account/change-super-admin/ 301 /fundamentals/subscriptions-and-billing/delete-account/ /fundamentals/setup/account/delete-account/ 301 /fundamentals/subscriptions-and-billing/ /fundamentals/setup/account/ 301 +/fundamentals/api/building-custom-dashboards /fundamentals/api/ 301 + # gateway /gateway/about/ /cloudflare-one/policies/gateway/ 301 diff --git a/src/content/docs/fundamentals/api/building-custom-dashboards/index.mdx b/src/content/docs/fundamentals/api/building-custom-dashboards/index.mdx deleted file mode 100644 index 7294212851bd44..00000000000000 --- a/src/content/docs/fundamentals/api/building-custom-dashboards/index.mdx +++ /dev/null @@ -1,17 +0,0 @@ ---- -pcx_content_type: how-to -title: Building custom views -sidebar: - order: 11 - ---- - -The Cloudflare dashboard is built on our [API](/api/). To build custom views that reflect what appears in the Cloudflare dashboard, review the page source to see how we implemented the API calls. - -For example, to see how we implemented the API calls from the **DNS** tab of the dashboard: - -1. Go to the **DNS** application on the dashboard. -2. Open the developer tools for your web browser, such as [Chrome's developer tools](https://developer.chrome.com/docs/devtools/open/). -3. Switch to the **Network** tab of the developer tools. -4. Reload the page to capture the results. -5. Review the API calls and their responses. Filter the results by only looking at `XHR` responses or any URL containing `/api/v4/`. From 6ef3df0bc9aed32428d61da3f78ea0e2102e795d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denise=20Pe=C3=B1a?= <75506267+dcpena@users.noreply.github.com> Date: Tue, 27 May 2025 13:07:42 -0500 Subject: [PATCH 2/2] Update public/__redirects Co-authored-by: Pedro Sousa <680496+pedrosousa@users.noreply.github.com> --- public/__redirects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/__redirects b/public/__redirects index 306017c72bbe87..2f72555e57bbe7 100644 --- a/public/__redirects +++ b/public/__redirects @@ -697,7 +697,7 @@ /fundamentals/subscriptions-and-billing/change-super-admin/ /fundamentals/setup/account/change-super-admin/ 301 /fundamentals/subscriptions-and-billing/delete-account/ /fundamentals/setup/account/delete-account/ 301 /fundamentals/subscriptions-and-billing/ /fundamentals/setup/account/ 301 -/fundamentals/api/building-custom-dashboards /fundamentals/api/ 301 +/fundamentals/api/building-custom-dashboards/ /fundamentals/api/ 301 # gateway