diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-01-14 22:26:54 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:53 +0100 |
commit | 17d928f8ce765229690afbc78a6a31cdf24da409 (patch) | |
tree | f31fae5f12f4bc82be86353e4e21b4e8d13b1694 /scripts/update_mocks.sh | |
parent | 1906b75a92fcdc441e891546cc9cc97a2e621495 (diff) | |
download | wee-slack-17d928f8ce765229690afbc78a6a31cdf24da409.tar.gz |
Call rtm.connect (doesn't connect to web socket yet)
Diffstat (limited to 'scripts/update_mocks.sh')
-rwxr-xr-x | scripts/update_mocks.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/update_mocks.sh b/scripts/update_mocks.sh index 7aea63b..05cc072 100755 --- a/scripts/update_mocks.sh +++ b/scripts/update_mocks.sh @@ -9,6 +9,8 @@ if [ ! -d mock_data ]; then exit 1 fi +curl_slack "$api_base/rtm.connect" | jq . > mock_data/slack_rtm_connect.json + curl_slack "$api_base/users.conversations?types=public_channel&exclude_archived=True" | jq . > mock_data/slack_users_conversations_public_channel.json curl_slack "$api_base/users.conversations?types=private_channel&exclude_archived=True" | jq . > mock_data/slack_users_conversations_private_channel.json curl_slack "$api_base/users.conversations?types=mpim&exclude_archived=True" | jq . > mock_data/slack_users_conversations_mpim.json |