From 100152ecc1de1e0e8889e2e92669d5c957384c8f Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Wed, 8 Jan 2025 17:12:45 +0000 Subject: [PATCH] feat: update API endpoint URLs in Public Status Page documentation --- Docs/Content/status-pages/public-api.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Docs/Content/status-pages/public-api.md b/Docs/Content/status-pages/public-api.md index a8c73ffff1d..a85cde09ae1 100644 --- a/Docs/Content/status-pages/public-api.md +++ b/Docs/Content/status-pages/public-api.md @@ -9,7 +9,7 @@ This API will fetch all the resources that are on the status page including the To get overall status of the resources on the status page, you can make a GET request to the following endpoint: ```bash -curl -X GET https://api.oneuptime.com/status-page-api/overview/:statusPageId +curl -X GET https://oneuptime.com/status-page-api/overview/:statusPageId ``` This is the response from the API: @@ -155,7 +155,7 @@ This is the response from the API: This API will fetch all the incidents that are on the status page. To get all the incidents on the status page, you can make a GET request to the following endpoint: ```bash -curl -X GET https://api.oneuptime.com/status-page-api/incidents/:statusPageId +curl -X GET https://oneuptime.com/status-page-api/incidents/:statusPageId ``` This is the response from the API: @@ -181,7 +181,7 @@ This is the response from the API: This API will fetch all the scheduled maintenance that are on the status page. To get all the scheduled maintenance on the status page, you can make a GET request to the following endpoint: ```bash -curl -X GET https://api.oneuptime.com/status-page-api/scheduled-maintenance/:statusPageId +curl -X GET https://oneuptime.com/status-page-api/scheduled-maintenance/:statusPageId ``` This is the response from the API: @@ -206,7 +206,7 @@ This is the response from the API: This API will fetch all the announcements that are on the status page. To get all the announcements on the status page, you can make a GET request to the following endpoint: ```bash -curl -X GET https://api.oneuptime.com/status-page-api/announcements/:statusPageId +curl -X GET https://oneuptime.com/status-page-api/announcements/:statusPageId ``` This is the response from the API: