From 8a80443b7357f4e41523e331fd9cd2a96298a8e0 Mon Sep 17 00:00:00 2001 From: Zixuan James Li Date: Tue, 16 Aug 2022 15:59:51 -0400 Subject: [PATCH] uptimerobot: Use the create-bot-construct-url macro for uptimerobot. Since the setup for uptimerobot does not deviate from what we have in the "create-bot-construct-url" macro, we can reuse it and event filtering instructions for uptimerobot will be automatically included. TODO: Add event filtering documentation for buildbot when it supports custom endpoint URL. Signed-off-by: Zixuan James Li --- zerver/webhooks/uptimerobot/doc.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/zerver/webhooks/uptimerobot/doc.md b/zerver/webhooks/uptimerobot/doc.md index 421a6a0fb7..9d0e333356 100644 --- a/zerver/webhooks/uptimerobot/doc.md +++ b/zerver/webhooks/uptimerobot/doc.md @@ -2,17 +2,7 @@ Receive Zulip notifications from UptimeRobot! 1. {!create-stream.md!} -1. {!create-a-bot.md!} - - Construct the URL for the {{ integration_display_name }} - bot using the bot's API key and the desired stream name: - - `{{ api_url }}{{ integration_url }}?api_key=abcdefgh&stream=stream%20name&` - - Modify the parameters of the URL above, where `api_key` is the API key - of your Zulip bot, and `stream` is the URL-encoded stream name you want the - notifications sent to. If you do not specify a `stream`, the bot will - send notifications via PMs to the creator of the bot. +1. {!create-bot-construct-url.md!} 1. On UptimeRobot, go to **My Settings** and select **Add Alert Contact**. Set **Alert Contact Type** to **webhook**.