2024-02-05 18:01:49 -06:00
|
|
|
# Updog HTTP checker
|
|
|
|
|
|
|
|
An HTTP checker for updog.
|
|
|
|
|
|
|
|
## Arguments
|
|
|
|
|
|
|
|
Arguments marked with * are required.
|
|
|
|
|
|
|
|
### `url`*
|
|
|
|
|
|
|
|
The URL for the thing being checked.
|
|
|
|
|
|
|
|
Default: None, this is a required value.
|
|
|
|
|
|
|
|
#### Example
|
|
|
|
|
|
|
|
```json
|
|
|
|
"url": "https://example.com:443"
|
|
|
|
```
|
|
|
|
|
|
|
|
### `append-messages`
|
|
|
|
|
|
|
|
Text to be appended after the status message for each status code.
|
|
|
|
|
|
|
|
TODO: Add ranges and lists for these - will not be stored like that, just processed into a normal dict like this.
|
|
|
|
|
|
|
|
Default: None
|
|
|
|
|
|
|
|
#### Example
|
|
|
|
|
|
|
|
```json
|
|
|
|
"append-messages": {
|
2024-02-05 18:06:01 -06:00
|
|
|
"200": " - Up",
|
|
|
|
"404": " - Partial outage",
|
|
|
|
"502": " - Down"
|
2024-02-05 18:01:49 -06:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### `headers`
|
|
|
|
|
|
|
|
Headers to be sent for the HTTP request.
|
|
|
|
|
|
|
|
Default: None
|
|
|
|
|
|
|
|
#### Example
|
|
|
|
|
|
|
|
```json
|
|
|
|
"headers": {
|
|
|
|
"Content-Type": "text"
|
|
|
|
}
|
|
|
|
```
|