outgoing webhooks: Fix sample values for slack outgoing webhooks.

This switches us to use the correct timestamp, service_id and token
formats.  The 'service_id' should be the ID of the bot user. The token
should be a sample token generated from 'random_api_key()'.
This commit is contained in:
Rhea Parekh 2018-07-20 15:19:14 +05:30 committed by Tim Abbott
parent bf70955c0c
commit b6ce93e029
1 changed files with 3 additions and 3 deletions

View File

@ -174,17 +174,17 @@ webhook expects:
The above data is posted as list of tuples (not JSON), here's an example:
```
[('token', 'abcdef'),
[('token', 'v9fpCdldZIej2bco3uoUvGp06PowKFOf'),
('team_id', 'zulip'),
('team_domain', 'zulip.com'),
('channel_id', '123'),
('channel_name', 'integrations'),
('timestamp', 123456),
('timestamp', 1532078950),
('user_id', 21),
('user_name', 'Sample User'),
('text', '@**test**'),
('trigger_word', 'mention'),
('service_id', None)]
('service_id', 27)]
```
* For successful request, if data is returned, it returns that data,