From db2814237443bb68c11c728d5206679d3cc38e94 Mon Sep 17 00:00:00 2001 From: Isaac Suttell Date: Sun, 10 Jul 2022 13:10:09 -0700 Subject: [PATCH] updated Ping docs to include how to use new method property --- docs/customservices.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/customservices.md b/docs/customservices.md index c9ce093..8877ece 100644 --- a/docs/customservices.md +++ b/docs/customservices.md @@ -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 -- 2.41.0