-
Notifications
You must be signed in to change notification settings - Fork 509
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
I'm trying to follow this documentation to create a webhook for sending messages only.
Here is most of the command I'm trying to run: occ talk:bot:install --output=json --no-setup --feature=none -vvv -- "Server Alerts" "$(cat talk-pass)" but I can't figure out the URL argument (or what it's even for).
This page shows that it is a required argument - which confuses me as the first page I linked shows (as best I can tell) to send a message I will send data to <website>/ocs/v2.php/apps/spreed/api/v1/bot/<secret_key>/message. That is clearly a URL, and a unique one at that, so what more I would need I'm not sure. The second issue is that it doesn't elaborate on how this should look. I tried passing "alert" and "/alert" but both result in the same message "The provided URL is not a valid URL". The only text given on the webpage is "Webhook endpoint to post messages to (max. 4000 chars)" which tells me nothing honestly.
Server configuration
Nextcloud Version: 27.1.0