integrations: Make Hello World example less confusing.

This commit is contained in:
Tim Abbott
2021-03-25 01:40:29 -07:00
parent b9549250f3
commit c3998a3d3b

View File

@@ -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 \