1
0
mirror of https://github.com/TwiN/gatus.git synced 2026-02-04 11:11:44 +00:00

docs: Add gatus-cli command to push a external endpoint status

This commit is contained in:
TwiN
2025-09-18 07:31:32 -04:00
parent 565831aa46
commit 0d2a55cf11

View File

@@ -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}
```