updated Ping docs to include how to use new method property

This commit is contained in:
Isaac Suttell 2022-07-10 13:10:09 -07:00 committed by Bastien Wirtz
parent 6c083d6a36
commit db28142374

View File

@ -93,7 +93,7 @@ Two lines are needed in the config.yml :
The url must be the root url of Lidarr, Prowlarr, Radarr or Sonarr application.
The Lidarr, Prowlarr, Radarr or Sonarr API key can be found in Settings > General. It is needed to access the API.
If you are using an older version of Radarr or Sonarr which don't support the new V3 api endpoints, add the following line to your service config "legacyApi: true", example:
If you are using an older version of Radarr or Sonarr which don't support the new V3 api endpoints, add the following line to your service config "legacyApi: true", example:
```yaml
- name: "Radarr"
@ -117,7 +117,7 @@ API key can be generated in Settings > Administration > Auth Tokens
## Ping
For Ping you need to set the type to Ping and provide a url.
For Ping you need to set the type to Ping and provide a url. By default the HEAD method is used but it can be configured to use GET using the optional `method` property.
```yaml
- name: "Awesome app"
@ -126,6 +126,7 @@ For Ping you need to set the type to Ping and provide a url.
subtitle: "Bookmark example"
tag: "app"
url: "https://www.reddit.com/r/selfhosted/"
method: "head"
```
## Prometheus