mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 08:33:43 +00:00
integrations: Make Hello World example less confusing.
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
Learn how Zulip integrations work with this simple Hello World example!
|
Learn how Zulip integrations work with this simple Hello World example!
|
||||||
|
|
||||||
|
This webhook is Zulip's official [example
|
||||||
|
integration](/api/incoming-webhooks-walkthrough).
|
||||||
|
|
||||||
1. The Hello World webhook will use the `test` stream, which is
|
1. The Hello World webhook will use the `test` stream, which is
|
||||||
by default in the Zulip dev environment. If you are running
|
by default in the Zulip dev environment. If you are running
|
||||||
Zulip in production, you should make sure that this stream exists.
|
Zulip in production, you should make sure that this stream exists.
|
||||||
@@ -10,8 +13,9 @@ Learn how Zulip integrations work with this simple Hello World example!
|
|||||||
|
|
||||||
`{{ api_url }}/v1/external/helloworld?api_key=abcdefgh&stream=test`
|
`{{ api_url }}/v1/external/helloworld?api_key=abcdefgh&stream=test`
|
||||||
|
|
||||||
1. To trigger a notification using this webhook, use
|
1. To trigger a notification using this webhook, you can use
|
||||||
`send_webhook_fixture_message` from the Zulip command line:
|
`send_webhook_fixture_message` from a [Zulip development
|
||||||
|
environment](https://zulip.readthedocs.io/en/latest/development/overview.html):
|
||||||
|
|
||||||
(zulip-py3-venv) vagrant@ubuntu-bionic:/srv/zulip$
|
(zulip-py3-venv) vagrant@ubuntu-bionic:/srv/zulip$
|
||||||
./manage.py send_webhook_fixture_message \
|
./manage.py send_webhook_fixture_message \
|
||||||
|
|||||||
Reference in New Issue
Block a user