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:
@@ -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}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user