From 0d2a55cf115ca36055ab1694a2fb9a744ee1d805 Mon Sep 17 00:00:00 2001 From: TwiN Date: Thu, 18 Sep 2025 07:31:32 -0400 Subject: [PATCH] docs: Add gatus-cli command to push a external endpoint status --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 035e082e..560092fe 100644 --- a/README.md +++ b/README.md @@ -357,7 +357,12 @@ external-endpoints: send-on-resolved: true ``` -To push the status of an external endpoint, you can use [gatus-cli](https://github.com/TwiN/gatus-cli), or send an HTTP request: +To push the status of an external endpoint, you can use [gatus-cli](https://github.com/TwiN/gatus-cli): +``` +gatus-cli external-endpoint push --url https://status.example.org --key "core_ext-ep-test" --token "potato" --success +``` + +or send an HTTP request: ``` POST /api/v1/endpoints/{key}/external?success={success}&error={error}&duration={duration} ```