slack-ruby-client 0.13.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +1 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +29 -5
- data/.rubocop_todo.yml +124 -44
- data/.travis.yml +5 -8
- data/CHANGELOG.md +92 -2
- data/CONTRIBUTING.md +19 -8
- data/Dangerfile +2 -0
- data/Gemfile +10 -5
- data/LICENSE.md +1 -1
- data/README.md +186 -49
- data/RELEASING.md +1 -1
- data/Rakefile +2 -1
- data/UPGRADING.md +72 -2
- data/bin/commands/admin_analytics.rb +16 -0
- data/bin/commands/admin_apps.rb +51 -0
- data/bin/commands/admin_apps_approved.rb +17 -0
- data/bin/commands/admin_apps_requests.rb +17 -0
- data/bin/commands/admin_apps_restricted.rb +17 -0
- data/bin/commands/admin_auth_policy.rb +39 -0
- data/bin/commands/admin_barriers.rb +47 -0
- data/bin/commands/admin_conversations.rb +169 -0
- data/bin/commands/admin_conversations_ekm.rb +17 -0
- data/bin/commands/admin_conversations_restrictAccess.rb +37 -0
- data/bin/commands/admin_conversations_whitelist.rb +37 -0
- data/bin/commands/admin_emoji.rb +54 -0
- data/bin/commands/admin_inviteRequests.rb +36 -0
- data/bin/commands/admin_inviteRequests_approved.rb +16 -0
- data/bin/commands/admin_inviteRequests_denied.rb +16 -0
- data/bin/commands/admin_teams.rb +27 -0
- data/bin/commands/admin_teams_admins.rb +16 -0
- data/bin/commands/admin_teams_owners.rb +16 -0
- data/bin/commands/admin_teams_settings.rb +64 -0
- data/bin/commands/admin_usergroups.rb +48 -0
- data/bin/commands/admin_users.rb +98 -0
- data/bin/commands/admin_users_session.rb +78 -0
- data/bin/commands/api.rb +1 -1
- data/bin/commands/apps.rb +15 -0
- data/bin/commands/apps_connections.rb +13 -0
- data/bin/commands/apps_event_authorizations.rb +16 -0
- data/bin/commands/apps_manifest.rb +51 -0
- data/bin/commands/apps_permissions.rb +1 -0
- data/bin/commands/apps_permissions_resources.rb +1 -0
- data/bin/commands/apps_permissions_scopes.rb +1 -0
- data/bin/commands/apps_permissions_users.rb +1 -0
- data/bin/commands/auth.rb +1 -0
- data/bin/commands/auth_teams.rb +16 -0
- data/bin/commands/bots.rb +2 -0
- data/bin/commands/calls.rb +52 -0
- data/bin/commands/calls_participants.rb +25 -0
- data/bin/commands/channels.rb +1 -153
- data/bin/commands/chat.rb +56 -12
- data/bin/commands/chat_scheduledMessages.rb +19 -0
- data/bin/commands/conversations.rb +75 -5
- data/bin/commands/dialog.rb +1 -0
- data/bin/commands/dnd.rb +6 -3
- data/bin/commands/emoji.rb +1 -0
- data/bin/commands/files.rb +10 -18
- data/bin/commands/files_comments.rb +1 -21
- data/bin/commands/files_remote.rb +78 -0
- data/bin/commands/groups.rb +1 -161
- data/bin/commands/im.rb +1 -62
- data/bin/commands/migration.rb +2 -0
- data/bin/commands/mpim.rb +1 -60
- data/bin/commands/oauth.rb +2 -14
- data/bin/commands/oauth_v2.rb +29 -0
- data/bin/commands/openid_connect.rb +27 -0
- data/bin/commands/pins.rb +3 -6
- data/bin/commands/reactions.rb +3 -3
- data/bin/commands/reminders.rb +7 -0
- data/bin/commands/rtm.rb +3 -2
- data/bin/commands/search.rb +6 -1
- data/bin/commands/stars.rb +8 -6
- data/bin/commands/team.rb +5 -0
- data/bin/commands/team_billing.rb +13 -0
- data/bin/commands/team_preferences.rb +13 -0
- data/bin/commands/team_profile.rb +1 -0
- data/bin/commands/tooling_tokens.rb +14 -0
- data/bin/commands/usergroups.rb +7 -1
- data/bin/commands/usergroups_users.rb +3 -0
- data/bin/commands/users.rb +6 -4
- data/bin/commands/users_admin.rb +1 -0
- data/bin/commands/users_prefs.rb +1 -0
- data/bin/commands/users_profile.rb +6 -5
- data/bin/commands/views.rb +48 -0
- data/bin/commands/workflows.rb +38 -0
- data/bin/commands.rb +38 -8
- data/bin/slack +2 -3
- data/examples/hi_real_time_and_web/Gemfile +1 -0
- data/examples/hi_real_time_and_web/hi.rb +7 -3
- data/examples/hi_real_time_async_async/Gemfile +1 -0
- data/examples/hi_real_time_async_async/hi.rb +6 -2
- data/examples/hi_web/Gemfile +1 -0
- data/examples/hi_web/hi.rb +1 -0
- data/examples/new_ticket/Gemfile +1 -0
- data/examples/new_ticket/new_ticket.rb +1 -0
- data/lib/slack/config.rb +2 -2
- data/lib/slack/events/config.rb +32 -0
- data/lib/slack/events/request.rb +72 -0
- data/lib/slack/logger.rb +6 -5
- data/lib/slack/messages/formatting.rb +1 -0
- data/lib/slack/messages/message.rb +1 -4
- data/lib/slack/real_time/api/message.rb +3 -1
- data/lib/slack/real_time/api/message_id.rb +1 -0
- data/lib/slack/real_time/api/ping.rb +5 -2
- data/lib/slack/real_time/api/typing.rb +3 -1
- data/lib/slack/real_time/client.rb +101 -32
- data/lib/slack/real_time/concurrency/async.rb +77 -6
- data/lib/slack/real_time/concurrency.rb +1 -2
- data/lib/slack/real_time/config.rb +6 -10
- data/lib/slack/real_time/models/base.rb +1 -4
- data/lib/slack/real_time/models/bot.rb +1 -0
- data/lib/slack/real_time/models/channel.rb +1 -0
- data/lib/slack/real_time/models/group.rb +1 -0
- data/lib/slack/real_time/models/im.rb +1 -0
- data/lib/slack/real_time/models/team.rb +1 -0
- data/lib/slack/real_time/models/user.rb +1 -0
- data/lib/slack/real_time/models.rb +1 -0
- data/lib/slack/real_time/socket.rb +45 -17
- data/lib/slack/real_time/stores/base.rb +5 -7
- data/lib/slack/real_time/stores/starter.rb +17 -3
- data/lib/slack/real_time/stores/store.rb +33 -25
- data/lib/slack/real_time/stores.rb +1 -0
- data/lib/slack/version.rb +2 -1
- data/lib/slack/web/api/endpoints/admin_analytics.rb +28 -0
- data/lib/slack/web/api/endpoints/admin_apps.rb +78 -0
- data/lib/slack/web/api/endpoints/admin_apps_approved.rb +35 -0
- data/lib/slack/web/api/endpoints/admin_apps_requests.rb +35 -0
- data/lib/slack/web/api/endpoints/admin_apps_restricted.rb +35 -0
- data/lib/slack/web/api/endpoints/admin_auth_policy.rb +72 -0
- data/lib/slack/web/api/endpoints/admin_barriers.rb +82 -0
- data/lib/slack/web/api/endpoints/admin_conversations.rb +260 -0
- data/lib/slack/web/api/endpoints/admin_conversations_ekm.rb +35 -0
- data/lib/slack/web/api/endpoints/admin_conversations_restrictAccess.rb +61 -0
- data/lib/slack/web/api/endpoints/admin_conversations_whitelist.rb +64 -0
- data/lib/slack/web/api/endpoints/admin_emoji.rb +88 -0
- data/lib/slack/web/api/endpoints/admin_inviteRequests.rb +61 -0
- data/lib/slack/web/api/endpoints/admin_inviteRequests_approved.rb +33 -0
- data/lib/slack/web/api/endpoints/admin_inviteRequests_denied.rb +33 -0
- data/lib/slack/web/api/endpoints/admin_teams.rb +50 -0
- data/lib/slack/web/api/endpoints/admin_teams_admins.rb +34 -0
- data/lib/slack/web/api/endpoints/admin_teams_owners.rb +34 -0
- data/lib/slack/web/api/endpoints/admin_teams_settings.rb +99 -0
- data/lib/slack/web/api/endpoints/admin_usergroups.rb +77 -0
- data/lib/slack/web/api/endpoints/admin_users.rb +163 -0
- data/lib/slack/web/api/endpoints/admin_users_session.rb +122 -0
- data/lib/slack/web/api/endpoints/api.rb +2 -3
- data/lib/slack/web/api/endpoints/apps.rb +27 -0
- data/lib/slack/web/api/endpoints/apps_connections.rb +21 -0
- data/lib/slack/web/api/endpoints/apps_event_authorizations.rb +34 -0
- data/lib/slack/web/api/endpoints/apps_manifest.rb +75 -0
- data/lib/slack/web/api/endpoints/apps_permissions.rb +1 -0
- data/lib/slack/web/api/endpoints/apps_permissions_resources.rb +1 -0
- data/lib/slack/web/api/endpoints/apps_permissions_scopes.rb +1 -0
- data/lib/slack/web/api/endpoints/apps_permissions_users.rb +1 -0
- data/lib/slack/web/api/endpoints/auth.rb +2 -1
- data/lib/slack/web/api/endpoints/auth_teams.rb +33 -0
- data/lib/slack/web/api/endpoints/bots.rb +4 -1
- data/lib/slack/web/api/endpoints/calls.rb +83 -0
- data/lib/slack/web/api/endpoints/calls_participants.rb +42 -0
- data/lib/slack/web/api/endpoints/channels.rb +2 -243
- data/lib/slack/web/api/endpoints/chat.rb +144 -47
- data/lib/slack/web/api/endpoints/chat_scheduledMessages.rb +40 -0
- data/lib/slack/web/api/endpoints/conversations.rb +152 -41
- data/lib/slack/web/api/endpoints/dialog.rb +3 -2
- data/lib/slack/web/api/endpoints/dnd.rb +9 -4
- data/lib/slack/web/api/endpoints/emoji.rb +1 -0
- data/lib/slack/web/api/endpoints/files.rb +24 -29
- data/lib/slack/web/api/endpoints/files_comments.rb +2 -34
- data/lib/slack/web/api/endpoints/files_remote.rb +127 -0
- data/lib/slack/web/api/endpoints/groups.rb +1 -253
- data/lib/slack/web/api/endpoints/im.rb +1 -101
- data/lib/slack/web/api/endpoints/migration.rb +5 -2
- data/lib/slack/web/api/endpoints/mpim.rb +1 -96
- data/lib/slack/web/api/endpoints/oauth.rb +7 -31
- data/lib/slack/web/api/endpoints/oauth_v2.rb +48 -0
- data/lib/slack/web/api/endpoints/openid_connect.rb +42 -0
- data/lib/slack/web/api/endpoints/pins.rb +8 -15
- data/lib/slack/web/api/endpoints/reactions.rb +20 -19
- data/lib/slack/web/api/endpoints/reminders.rb +18 -5
- data/lib/slack/web/api/endpoints/rtm.rb +11 -10
- data/lib/slack/web/api/endpoints/search.rb +28 -13
- data/lib/slack/web/api/endpoints/stars.rb +14 -11
- data/lib/slack/web/api/endpoints/team.rb +13 -4
- data/lib/slack/web/api/endpoints/team_billing.rb +21 -0
- data/lib/slack/web/api/endpoints/team_preferences.rb +21 -0
- data/lib/slack/web/api/endpoints/team_profile.rb +2 -1
- data/lib/slack/web/api/endpoints/tooling_tokens.rb +24 -0
- data/lib/slack/web/api/endpoints/usergroups.rb +27 -16
- data/lib/slack/web/api/endpoints/usergroups_users.rb +10 -5
- data/lib/slack/web/api/endpoints/users.rb +21 -20
- data/lib/slack/web/api/endpoints/users_admin.rb +1 -0
- data/lib/slack/web/api/endpoints/users_prefs.rb +1 -0
- data/lib/slack/web/api/endpoints/users_profile.rb +8 -7
- data/lib/slack/web/api/endpoints/views.rb +97 -0
- data/lib/slack/web/api/endpoints/workflows.rb +61 -0
- data/lib/slack/web/api/endpoints.rb +76 -18
- data/lib/slack/web/api/error.rb +1 -0
- data/lib/slack/web/api/errors/server_error.rb +37 -0
- data/lib/slack/web/api/errors/slack_error.rb +14 -1
- data/lib/slack/web/api/errors/too_many_requests_error.rb +2 -4
- data/lib/slack/web/api/errors.rb +1040 -0
- data/lib/slack/web/api/mixins/{channels.id.rb → conversations.id.rb} +4 -5
- data/lib/slack/web/api/mixins/ids.id.rb +3 -2
- data/lib/slack/web/api/mixins/users.id.rb +2 -3
- data/lib/slack/web/api/mixins/users.search.rb +1 -0
- data/lib/slack/web/api/mixins.rb +2 -2
- data/lib/slack/web/api/patches/chat.1.patch +70 -0
- data/lib/slack/web/api/patches/views.1.view-json.patch +40 -0
- data/lib/slack/web/api/patches/views.1.views-published.patch +16 -0
- data/lib/slack/web/api/templates/command.erb +1 -0
- data/lib/slack/web/api/templates/commands.erb +1 -0
- data/lib/slack/web/api/templates/endpoints.erb +2 -2
- data/lib/slack/web/api/templates/errors.erb +20 -0
- data/lib/slack/web/api/templates/method.erb +5 -1
- data/lib/slack/web/api/templates/method_spec.erb +2 -1
- data/lib/slack/web/client.rb +2 -1
- data/lib/slack/web/config.rb +3 -0
- data/lib/slack/web/faraday/connection.rb +24 -20
- data/lib/slack/web/faraday/request.rb +3 -1
- data/lib/slack/web/faraday/response/raise_error.rb +21 -6
- data/lib/slack/web/faraday/response/wrap_error.rb +24 -0
- data/lib/slack/web/pagination/cursor.rb +7 -7
- data/lib/slack-ruby-client.rb +10 -4
- data/lib/slack.rb +1 -0
- data/lib/slack_ruby_client.rb +1 -0
- data/lib/tasks/git.rake +1 -0
- data/lib/tasks/real_time.rake +15 -5
- data/lib/tasks/update.rake +1 -0
- data/lib/tasks/web.rake +39 -10
- data/screenshots/create-app.png +0 -0
- data/slack-ruby-client.gemspec +9 -6
- data/spec/fixtures/slack/web/429_error.yml +50 -54
- data/spec/fixtures/slack/web/auth_test_error.yml +51 -18
- data/spec/fixtures/slack/web/auth_test_success.yml +50 -26
- data/spec/fixtures/slack/web/conversations_info.yml +167 -0
- data/spec/fixtures/slack/web/conversations_setTopic.yml +84 -0
- data/spec/fixtures/slack/web/conversations_setTopic_one_page.yml +172 -0
- data/spec/fixtures/slack/web/conversations_setTopic_paginated.yml +253 -0
- data/spec/fixtures/slack/web/paginated_users_list.yml +501 -69
- data/spec/fixtures/slack/web/rtm_connect.yml +267 -30
- data/spec/fixtures/slack/web/rtm_start.yml +771 -60
- data/spec/fixtures/slack/web/users_info.yml +153 -69
- data/spec/fixtures/slack/web/users_list.yml +102 -41
- data/spec/fixtures/slack/web/views_open_error.yml +83 -0
- data/spec/integration/integration_spec.rb +115 -47
- data/spec/slack/config_spec.rb +2 -0
- data/spec/slack/events/config_spec.rb +33 -0
- data/spec/slack/events/request_spec.rb +184 -0
- data/spec/slack/messages/formatting_spec.rb +25 -13
- data/spec/slack/real_time/api/message_spec.rb +6 -1
- data/spec/slack/real_time/api/ping_spec.rb +2 -0
- data/spec/slack/real_time/api/typing_spec.rb +5 -1
- data/spec/slack/real_time/client_spec.rb +244 -50
- data/spec/slack/real_time/concurrency/it_behaves_like_a_realtime_socket.rb +2 -0
- data/spec/slack/real_time/concurrency/with_concurrency_spec.rb +10 -0
- data/spec/slack/real_time/concurrency/without_concurrency_spec.rb +10 -0
- data/spec/slack/real_time/event_handlers/bot_spec.rb +3 -2
- data/spec/slack/real_time/event_handlers/channel_spec.rb +10 -7
- data/spec/slack/real_time/event_handlers/event_handlers_spec.rb +2 -1
- data/spec/slack/real_time/event_handlers/group_spec.rb +5 -4
- data/spec/slack/real_time/event_handlers/im_spec.rb +9 -8
- data/spec/slack/real_time/event_handlers/team_spec.rb +3 -1
- data/spec/slack/real_time/event_handlers/user_spec.rb +3 -2
- data/spec/slack/real_time/rtm_connect_spec.rb +2 -1
- data/spec/slack/real_time/rtm_start_spec.rb +2 -1
- data/spec/slack/real_time/store_spec.rb +2 -1
- data/spec/slack/slack_spec.rb +40 -6
- data/spec/slack/version_spec.rb +2 -1
- data/spec/slack/web/api/endpoints/admin_analytics_spec.rb +13 -0
- data/spec/slack/web/api/endpoints/admin_apps_approved_spec.rb +8 -0
- data/spec/slack/web/api/endpoints/admin_apps_requests_spec.rb +8 -0
- data/spec/slack/web/api/endpoints/admin_apps_restricted_spec.rb +8 -0
- data/spec/slack/web/api/endpoints/admin_apps_spec.rb +18 -0
- data/spec/slack/web/api/endpoints/admin_auth_policy_spec.rb +35 -0
- data/spec/slack/web/api/endpoints/admin_barriers_spec.rb +38 -0
- data/spec/slack/web/api/endpoints/admin_conversations_ekm_spec.rb +8 -0
- data/spec/slack/web/api/endpoints/admin_conversations_restrictAccess_spec.rb +32 -0
- data/spec/slack/web/api/endpoints/admin_conversations_spec.rb +98 -0
- data/spec/slack/web/api/endpoints/admin_emoji_spec.rb +37 -0
- data/spec/slack/web/api/endpoints/admin_inviteRequests_approved_spec.rb +8 -0
- data/spec/slack/web/api/endpoints/admin_inviteRequests_denied_spec.rb +8 -0
- data/spec/slack/web/api/endpoints/admin_inviteRequests_spec.rb +18 -0
- data/spec/slack/web/api/endpoints/admin_teams_admins_spec.rb +13 -0
- data/spec/slack/web/api/endpoints/admin_teams_owners_spec.rb +13 -0
- data/spec/slack/web/api/endpoints/admin_teams_settings_spec.rb +53 -0
- data/spec/slack/web/api/endpoints/admin_teams_spec.rb +16 -0
- data/spec/slack/web/api/endpoints/admin_usergroups_spec.rb +37 -0
- data/spec/slack/web/api/endpoints/admin_users_session_spec.rb +41 -0
- data/spec/slack/web/api/endpoints/admin_users_spec.rb +67 -0
- data/spec/slack/web/api/endpoints/api_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/apps_connections_spec.rb +8 -0
- data/spec/slack/web/api/endpoints/apps_event_authorizations_spec.rb +13 -0
- data/spec/slack/web/api/endpoints/apps_manifest_spec.rb +36 -0
- data/spec/slack/web/api/endpoints/apps_spec.rb +16 -0
- data/spec/slack/web/api/endpoints/{apps_permissions_scopes_spec.rb → auth_teams_spec.rb} +2 -1
- data/spec/slack/web/api/endpoints/bots_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/calls_participants_spec.rb +24 -0
- data/spec/slack/web/api/endpoints/calls_spec.rb +31 -0
- data/spec/slack/web/api/endpoints/chat_scheduledMessages_spec.rb +8 -0
- data/spec/slack/web/api/endpoints/custom_specs/auth_spec.rb +9 -7
- data/spec/slack/web/api/endpoints/custom_specs/chat_spec.rb +112 -36
- data/spec/slack/web/api/endpoints/custom_specs/conversations_spec.rb +13 -0
- data/spec/slack/web/api/endpoints/custom_specs/dialog_spec.rb +12 -4
- data/spec/slack/web/api/endpoints/custom_specs/users_spec.rb +8 -3
- data/spec/slack/web/api/endpoints/custom_specs/views_spec.rb +95 -0
- data/spec/slack/web/api/endpoints/dnd_spec.rb +4 -3
- data/spec/slack/web/api/endpoints/emoji_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/files_comments_spec.rb +3 -21
- data/spec/slack/web/api/endpoints/files_remote_spec.rb +24 -0
- data/spec/slack/web/api/endpoints/files_spec.rb +5 -4
- data/spec/slack/web/api/endpoints/migration_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/oauth_spec.rb +1 -22
- data/spec/slack/web/api/endpoints/oauth_v2_spec.rb +16 -0
- data/spec/slack/web/api/endpoints/openid_connect_spec.rb +8 -0
- data/spec/slack/web/api/endpoints/pins_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/reactions_spec.rb +8 -1
- data/spec/slack/web/api/endpoints/reminders_spec.rb +3 -2
- data/spec/slack/web/api/endpoints/rtm_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/search_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/stars_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/{apps_permissions_resources_spec.rb → team_billing_spec.rb} +2 -1
- data/spec/slack/web/api/endpoints/team_preferences_spec.rb +8 -0
- data/spec/slack/web/api/endpoints/team_profile_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/team_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/tooling_tokens_spec.rb +13 -0
- data/spec/slack/web/api/endpoints/usergroups_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/usergroups_users_spec.rb +3 -2
- data/spec/slack/web/api/endpoints/users_admin_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/users_prefs_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/users_profile_spec.rb +1 -0
- data/spec/slack/web/api/endpoints/workflows_spec.rb +26 -0
- data/spec/slack/web/api/error_spec.rb +7 -7
- data/spec/slack/web/api/errors/slack_error_spec.rb +26 -7
- data/spec/slack/web/api/mixins/conversations_list_spec.rb +21 -0
- data/spec/slack/web/api/mixins/conversations_spec.rb +43 -0
- data/spec/slack/web/api/mixins/users_spec.rb +17 -8
- data/spec/slack/web/api/pagination/cursor_spec.rb +41 -13
- data/spec/slack/web/client_spec.rb +168 -19
- data/spec/slack/web/faraday/request_spec.rb +80 -0
- data/spec/slack/web/faraday/response/raise_error_spec.rb +48 -12
- data/spec/spec_helper.rb +9 -2
- data/spec/support/queue_with_timeout.rb +5 -4
- data/spec/support/real_time/concurrency/mock.rb +1 -0
- data/spec/support/real_time/connected_client.rb +6 -6
- data/spec/support/real_time/event.rb +1 -0
- data/spec/support/token.rb +1 -0
- data/spec/support/vcr.rb +37 -1
- metadata +205 -147
- data/examples/hi_real_time/Gemfile +0 -5
- data/examples/hi_real_time/hi.gif +0 -0
- data/examples/hi_real_time/hi.rb +0 -37
- data/examples/hi_real_time_async_celluloid/Gemfile +0 -6
- data/examples/hi_real_time_async_celluloid/Procfile +0 -2
- data/examples/hi_real_time_async_celluloid/hi.rb +0 -35
- data/examples/hi_real_time_async_eventmachine/Gemfile +0 -6
- data/examples/hi_real_time_async_eventmachine/Procfile +0 -2
- data/examples/hi_real_time_async_eventmachine/hi.rb +0 -35
- data/lib/slack/real_time/concurrency/celluloid.rb +0 -118
- data/lib/slack/real_time/concurrency/eventmachine.rb +0 -66
- data/lib/slack/web/api/mixins/channels.id.json +0 -20
- data/lib/slack/web/api/mixins/groups.id.json +0 -20
- data/lib/slack/web/api/mixins/groups.id.rb +0 -26
- data/lib/slack/web/api/patches/chat.1.text-attachments-required.patch +0 -13
- data/lib/slack/web/api/patches/chat.2.attachments-json.patch +0 -17
- data/lib/slack/web/api/patches/chat.3.update-attachments-support.patch +0 -21
- data/lib/slack/web/api/patches/chat.4.postEphemeral-attachments-support.patch +0 -17
- data/lib/slack/web/api/patches/chat.5.postEphemeral-text-or-attachments.patch +0 -13
- data/screenshots/register-bot.png +0 -0
- data/spec/fixtures/slack/web/503_error.yml +0 -14
- data/spec/fixtures/slack/web/channels_info.yml +0 -46
- data/spec/fixtures/slack/web/groups_info.yml +0 -43
- data/spec/slack/real_time/concurrency/celluloid_spec.rb +0 -106
- data/spec/slack/real_time/concurrency/eventmachine_spec.rb +0 -47
- data/spec/slack/web/api/endpoints/apps_permissions_spec.rb +0 -15
- data/spec/slack/web/api/endpoints/apps_permissions_users_spec.rb +0 -18
- data/spec/slack/web/api/endpoints/conversations_spec.rb +0 -100
- data/spec/slack/web/api/endpoints/custom_specs/channels_spec.rb +0 -11
- data/spec/slack/web/api/endpoints/custom_specs/groups_spec.rb +0 -11
- data/spec/slack/web/api/endpoints/im_spec.rb +0 -38
- data/spec/slack/web/api/endpoints/mpim_spec.rb +0 -38
- data/spec/slack/web/api/errors/service_unavailable_spec.rb +0 -14
- data/spec/slack/web/api/mixins/channels_spec.rb +0 -33
- data/spec/slack/web/api/mixins/groups_spec.rb +0 -33
@@ -5,12 +5,14 @@ http_interactions:
|
|
5
5
|
uri: https://slack.com/api/users.list
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: limit=5&presence=true
|
8
|
+
string: limit=5&presence=true
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- application/json; charset=utf-8
|
12
12
|
User-Agent:
|
13
|
-
- Slack Ruby Client/0.
|
13
|
+
- Slack Ruby Client/0.18.0
|
14
|
+
Authorization:
|
15
|
+
- Bearer <SLACK_API_TOKEN>
|
14
16
|
Content-Type:
|
15
17
|
- application/x-www-form-urlencoded
|
16
18
|
Accept-Encoding:
|
@@ -20,29 +22,83 @@ http_interactions:
|
|
20
22
|
code: 200
|
21
23
|
message: OK
|
22
24
|
headers:
|
25
|
+
Date:
|
26
|
+
- Sat, 04 Dec 2021 20:13:19 GMT
|
27
|
+
Server:
|
28
|
+
- Apache
|
29
|
+
Access-Control-Allow-Origin:
|
30
|
+
- "*"
|
31
|
+
Referrer-Policy:
|
32
|
+
- no-referrer
|
33
|
+
X-Slack-Backend:
|
34
|
+
- r
|
35
|
+
Strict-Transport-Security:
|
36
|
+
- max-age=31536000; includeSubDomains; preload
|
37
|
+
Access-Control-Allow-Headers:
|
38
|
+
- slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid,
|
39
|
+
x-b3-sampled, x-b3-flags
|
40
|
+
Access-Control-Expose-Headers:
|
41
|
+
- x-slack-req-id, retry-after
|
42
|
+
X-Oauth-Scopes:
|
43
|
+
- identify,read,post,client,apps
|
44
|
+
X-Accepted-Oauth-Scopes:
|
45
|
+
- users:read,read
|
46
|
+
Expires:
|
47
|
+
- Mon, 26 Jul 1997 05:00:00 GMT
|
48
|
+
Cache-Control:
|
49
|
+
- private, no-cache, no-store, must-revalidate
|
50
|
+
Pragma:
|
51
|
+
- no-cache
|
52
|
+
X-Xss-Protection:
|
53
|
+
- '0'
|
54
|
+
X-Content-Type-Options:
|
55
|
+
- nosniff
|
56
|
+
X-Slack-Req-Id:
|
57
|
+
- 586921b2f04637cff5971f40e6094e01
|
58
|
+
Vary:
|
59
|
+
- Accept-Encoding
|
60
|
+
Content-Length:
|
61
|
+
- '1350'
|
23
62
|
Content-Type:
|
24
63
|
- application/json; charset=utf-8
|
64
|
+
X-Envoy-Upstream-Service-Time:
|
65
|
+
- '20'
|
66
|
+
X-Backend:
|
67
|
+
- main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow
|
68
|
+
main_control_with_overflow main_bedrock_control_with_overflow
|
69
|
+
X-Server:
|
70
|
+
- slack-www-hhvm-main-iad-jygb
|
71
|
+
X-Slack-Shared-Secret-Outcome:
|
72
|
+
- no-match
|
73
|
+
Via:
|
74
|
+
- envoy-www-iad-aqxp, envoy-edge-iad-am9y
|
75
|
+
X-Edge-Backend:
|
76
|
+
- envoy-www
|
77
|
+
X-Slack-Edge-Shared-Secret-Outcome:
|
78
|
+
- no-match
|
25
79
|
body:
|
26
|
-
encoding:
|
27
|
-
string: '{"ok":true,"offset":"U07518DTL","members":[{"id":"USLACKBOT","team_id":"T04KB5WQH","name":"slackbot","deleted":false,"color":"757575","real_name":"
|
28
|
-
|
29
|
-
ons.","
|
30
|
-
Bot","
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
recorded_at:
|
80
|
+
encoding: UTF-8
|
81
|
+
string: '{"ok":true,"offset":"U07518DTL","members":[{"id":"USLACKBOT","team_id":"T04KB5WQH","name":"slackbot","deleted":false,"color":"757575","real_name":"Slackbot","tz":"America\/Los_Angeles","tz_label":"Pacific
|
82
|
+
Standard Time","tz_offset":-28800,"profile":{"title":"","phone":"","skype":"","real_name":"Slackbot","real_name_normalized":"Slackbot","display_name":"Slackbot","display_name_normalized":"Slackbot","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"sv41d8cd98f0","always_active":true,"first_name":"slackbot","last_name":"","image_24":"https:\/\/a.slack-edge.com\/80588\/img\/slackbot_24.png","image_32":"https:\/\/a.slack-edge.com\/80588\/img\/slackbot_32.png","image_48":"https:\/\/a.slack-edge.com\/80588\/img\/slackbot_48.png","image_72":"https:\/\/a.slack-edge.com\/80588\/img\/slackbot_72.png","image_192":"https:\/\/a.slack-edge.com\/80588\/marketing\/img\/avatars\/slackbot\/avatar-slackbot.png","image_512":"https:\/\/a.slack-edge.com\/80588\/img\/slackbot_512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":0,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE"},{"id":"U04JPQ0JS","team_id":"T04KB5WQH","name":"gamebot","deleted":true,"profile":{"title":"Game
|
83
|
+
ons.","phone":"","skype":"","real_name":"Game Bot","real_name_normalized":"Game
|
84
|
+
Bot","display_name":"gamebot","display_name_normalized":"gamebot","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"28d3661bf00d","image_original":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4635825662_28d3661bf00dc6013442_original.jpg","is_custom_image":true,"bot_id":"B04JPQ0JE","first_name":"Game","last_name":"Bot","image_24":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4635825662_28d3661bf00dc6013442_24.jpg","image_32":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4635825662_28d3661bf00dc6013442_32.jpg","image_48":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4635825662_28d3661bf00dc6013442_48.jpg","image_72":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4635825662_28d3661bf00dc6013442_48.jpg","image_192":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4635825662_28d3661bf00dc6013442_48.jpg","image_512":"","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1504224422},{"id":"U04JZBDQQ","team_id":"T04KB5WQH","name":"foo","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"foo","real_name_normalized":"foo","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"44604ca32e80","image_original":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4645387956_44604ca32e800d947f22_original.jpg","is_custom_image":true,"bot_id":"B04JZBDQC","image_24":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4645387956_44604ca32e800d947f22_24.jpg","image_32":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4645387956_44604ca32e800d947f22_32.jpg","image_48":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4645387956_44604ca32e800d947f22_48.jpg","image_72":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4645387956_44604ca32e800d947f22_72.jpg","image_192":"https:\/\/avatars.slack-edge.com\/2015-04-28\/4645387956_44604ca32e800d947f22_192.jpg","image_512":"","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1504224428},{"id":"U04KB5WQR","team_id":"T04KB5WQH","name":"dblock","deleted":false,"color":"9f69e7","real_name":"Daniel","tz":"America\/New_York","tz_label":"Eastern
|
85
|
+
Standard Time","tz_offset":-18000,"profile":{"title":"","phone":"","skype":"","real_name":"Daniel","real_name_normalized":"Daniel","display_name":"dblock","display_name_normalized":"dblock","fields":null,"status_text":"A
|
86
|
+
few vices are sufficient to darken many virtues.","status_emoji":":coffee:","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"g925b45ac07e","email":"dblock@dblock.org","first_name":"Daniel","last_name":"","image_24":"https:\/\/secure.gravatar.com\/avatar\/3d925b45ac07ec0ae5bd04888f6c5b61.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/3d925b45ac07ec0ae5bd04888f6c5b61.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/3d925b45ac07ec0ae5bd04888f6c5b61.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/3d925b45ac07ec0ae5bd04888f6c5b61.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/3d925b45ac07ec0ae5bd04888f6c5b61.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/3d925b45ac07ec0ae5bd04888f6c5b61.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0015-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":true,"is_owner":true,"is_primary_owner":true,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":1604096800,"is_email_confirmed":true,"who_can_share_contact_card":"EVERYONE"},{"id":"U06JGTU5V","team_id":"T04KB5WQH","name":"mathbot","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"Math
|
87
|
+
Bot","real_name_normalized":"Math Bot","display_name":"mathbot","display_name_normalized":"mathbot","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"c507c80d735d","image_original":"https:\/\/avatars.slack-edge.com\/2015-06-19\/6629501812_c507c80d735dfc75bbc8_original.jpg","is_custom_image":true,"bot_id":"B06JH1N93","first_name":"Math","last_name":"Bot","image_24":"https:\/\/avatars.slack-edge.com\/2015-06-19\/6629501812_c507c80d735dfc75bbc8_24.jpg","image_32":"https:\/\/avatars.slack-edge.com\/2015-06-19\/6629501812_c507c80d735dfc75bbc8_32.jpg","image_48":"https:\/\/avatars.slack-edge.com\/2015-06-19\/6629501812_c507c80d735dfc75bbc8_48.jpg","image_72":"https:\/\/avatars.slack-edge.com\/2015-06-19\/6629501812_c507c80d735dfc75bbc8_48.jpg","image_192":"https:\/\/avatars.slack-edge.com\/2015-06-19\/6629501812_c507c80d735dfc75bbc8_48.jpg","image_512":"","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1504224658}],"cache_ts":1638648799,"response_metadata":{"next_cursor":"dXNlcjpVMDc1MThEVEw="}}'
|
88
|
+
recorded_at: Sat, 19 Jan 2019 21:25:48 GMT
|
35
89
|
- request:
|
36
90
|
method: post
|
37
91
|
uri: https://slack.com/api/users.list
|
38
92
|
body:
|
39
93
|
encoding: UTF-8
|
40
|
-
string: cursor=dXNlcjpVMDc1MThEVEw%3D&limit=5&presence=true
|
94
|
+
string: cursor=dXNlcjpVMDc1MThEVEw%3D&limit=5&presence=true
|
41
95
|
headers:
|
42
96
|
Accept:
|
43
97
|
- application/json; charset=utf-8
|
44
98
|
User-Agent:
|
45
|
-
- Slack Ruby Client/0.
|
99
|
+
- Slack Ruby Client/0.18.0
|
100
|
+
Authorization:
|
101
|
+
- Bearer <SLACK_API_TOKEN>
|
46
102
|
Content-Type:
|
47
103
|
- application/x-www-form-urlencoded
|
48
104
|
Accept-Encoding:
|
@@ -52,30 +108,83 @@ http_interactions:
|
|
52
108
|
code: 200
|
53
109
|
message: OK
|
54
110
|
headers:
|
111
|
+
Date:
|
112
|
+
- Sat, 04 Dec 2021 20:13:19 GMT
|
113
|
+
Server:
|
114
|
+
- Apache
|
115
|
+
Access-Control-Allow-Origin:
|
116
|
+
- "*"
|
117
|
+
Referrer-Policy:
|
118
|
+
- no-referrer
|
119
|
+
X-Slack-Backend:
|
120
|
+
- r
|
121
|
+
Strict-Transport-Security:
|
122
|
+
- max-age=31536000; includeSubDomains; preload
|
123
|
+
Access-Control-Allow-Headers:
|
124
|
+
- slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid,
|
125
|
+
x-b3-sampled, x-b3-flags
|
126
|
+
Access-Control-Expose-Headers:
|
127
|
+
- x-slack-req-id, retry-after
|
128
|
+
X-Oauth-Scopes:
|
129
|
+
- identify,read,post,client,apps
|
130
|
+
X-Accepted-Oauth-Scopes:
|
131
|
+
- users:read,read
|
132
|
+
Expires:
|
133
|
+
- Mon, 26 Jul 1997 05:00:00 GMT
|
134
|
+
Cache-Control:
|
135
|
+
- private, no-cache, no-store, must-revalidate
|
136
|
+
Pragma:
|
137
|
+
- no-cache
|
138
|
+
X-Xss-Protection:
|
139
|
+
- '0'
|
140
|
+
X-Content-Type-Options:
|
141
|
+
- nosniff
|
142
|
+
X-Slack-Req-Id:
|
143
|
+
- 1ee2d348e64aef1c8bec6ecae4434c6f
|
144
|
+
Vary:
|
145
|
+
- Accept-Encoding
|
146
|
+
Content-Length:
|
147
|
+
- '1306'
|
55
148
|
Content-Type:
|
56
149
|
- application/json; charset=utf-8
|
150
|
+
X-Envoy-Upstream-Service-Time:
|
151
|
+
- '27'
|
152
|
+
X-Backend:
|
153
|
+
- main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow
|
154
|
+
main_control_with_overflow main_bedrock_control_with_overflow
|
155
|
+
X-Server:
|
156
|
+
- slack-www-hhvm-main-iad-qg2a
|
157
|
+
X-Slack-Shared-Secret-Outcome:
|
158
|
+
- no-match
|
159
|
+
Via:
|
160
|
+
- envoy-www-iad-ycyl, envoy-edge-iad-gn47
|
161
|
+
X-Edge-Backend:
|
162
|
+
- envoy-www
|
163
|
+
X-Slack-Edge-Shared-Secret-Outcome:
|
164
|
+
- no-match
|
57
165
|
body:
|
58
|
-
encoding:
|
166
|
+
encoding: UTF-8
|
59
167
|
string: '{"ok":true,"offset":"U0GPR6KDJ","members":[{"id":"U07518DTL","team_id":"T04KB5WQH","name":"testbot","deleted":false,"color":"674b1b","real_name":"Art
|
60
|
-
Bot","tz":
|
61
|
-
used in Travis-CI for slack-ruby-client.","
|
62
|
-
Bot","real_name_normalized":"Art Bot","
|
63
|
-
Cloud","real_name_normalized":"AWS Cloud","
|
64
|
-
Artsy.","
|
65
|
-
Bot","
|
66
|
-
|
67
|
-
recorded_at: Tue, 29 Aug 2017 21:30:59 GMT
|
168
|
+
Bot","tz":"America\/Los_Angeles","tz_label":"Pacific Standard Time","tz_offset":-28800,"profile":{"title":"Also
|
169
|
+
used in Travis-CI for slack-ruby-client.","phone":"","skype":"","real_name":"Art
|
170
|
+
Bot","real_name_normalized":"Art Bot","display_name":"testbot","display_name_normalized":"testbot","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"359bf095c1fe","image_original":"https:\/\/avatars.slack-edge.com\/2015-07-02\/7171641589_359bf095c1fe0841e582_original.jpg","is_custom_image":true,"bot_id":"B0751JU2H","first_name":"Art","last_name":"Bot","image_24":"https:\/\/avatars.slack-edge.com\/2015-07-02\/7171641589_359bf095c1fe0841e582_24.jpg","image_32":"https:\/\/avatars.slack-edge.com\/2015-07-02\/7171641589_359bf095c1fe0841e582_32.jpg","image_48":"https:\/\/avatars.slack-edge.com\/2015-07-02\/7171641589_359bf095c1fe0841e582_48.jpg","image_72":"https:\/\/avatars.slack-edge.com\/2015-07-02\/7171641589_359bf095c1fe0841e582_48.jpg","image_192":"https:\/\/avatars.slack-edge.com\/2015-07-02\/7171641589_359bf095c1fe0841e582_48.jpg","image_512":"","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":true,"is_app_user":false,"updated":1504224669,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE"},{"id":"U07KECJ77","team_id":"T04KB5WQH","name":"aws","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"AWS
|
171
|
+
Cloud","real_name_normalized":"AWS Cloud","display_name":"aws","display_name_normalized":"aws","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"4755a86e204c","image_original":"https:\/\/avatars.slack-edge.com\/2015-07-14\/7660472085_4755a86e204c9706c84f_original.jpg","is_custom_image":true,"bot_id":"B07KECJ6R","first_name":"AWS","last_name":"Cloud","image_24":"https:\/\/avatars.slack-edge.com\/2015-07-14\/7660472085_4755a86e204c9706c84f_24.jpg","image_32":"https:\/\/avatars.slack-edge.com\/2015-07-14\/7660472085_4755a86e204c9706c84f_32.jpg","image_48":"https:\/\/avatars.slack-edge.com\/2015-07-14\/7660472085_4755a86e204c9706c84f_48.jpg","image_72":"https:\/\/avatars.slack-edge.com\/2015-07-14\/7660472085_4755a86e204c9706c84f_48.jpg","image_192":"https:\/\/avatars.slack-edge.com\/2015-07-14\/7660472085_4755a86e204c9706c84f_48.jpg","image_512":"","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1504224679},{"id":"U092BDCLV","team_id":"T04KB5WQH","name":"artsy","deleted":true,"profile":{"title":"Searches
|
172
|
+
Artsy.","phone":"","skype":"","real_name":"Artsy Bot","real_name_normalized":"Artsy
|
173
|
+
Bot","display_name":"artsy","display_name_normalized":"artsy","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"7bbab49314a0","image_original":"https:\/\/avatars.slack-edge.com\/2015-08-13\/9080316676_7bbab49314a0429c7f7d_original.jpg","is_custom_image":true,"bot_id":"B092B5DDG","first_name":"Artsy","last_name":"Bot","image_24":"https:\/\/avatars.slack-edge.com\/2015-08-13\/9080316676_7bbab49314a0429c7f7d_24.jpg","image_32":"https:\/\/avatars.slack-edge.com\/2015-08-13\/9080316676_7bbab49314a0429c7f7d_32.jpg","image_48":"https:\/\/avatars.slack-edge.com\/2015-08-13\/9080316676_7bbab49314a0429c7f7d_48.jpg","image_72":"https:\/\/avatars.slack-edge.com\/2015-08-13\/9080316676_7bbab49314a0429c7f7d_48.jpg","image_192":"https:\/\/avatars.slack-edge.com\/2015-08-13\/9080316676_7bbab49314a0429c7f7d_48.jpg","image_512":"https:\/\/avatars.slack-edge.com\/2015-08-13\/9080316676_7bbab49314a0429c7f7d_48.jpg","image_1024":"https:\/\/avatars.slack-edge.com\/2015-08-13\/9080316676_7bbab49314a0429c7f7d_48.jpg","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1504224699},{"id":"U092V4E9L","team_id":"T04KB5WQH","name":"broskoski","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"Cab","real_name_normalized":"Cab","display_name":"broskoski","display_name_normalized":"broskoski","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"g621cbca6ea9","email":"cab@artsymail.com","first_name":"Cab","image_24":"https:\/\/secure.gravatar.com\/avatar\/99621cbca6ea94706a8f5dcdc5e8af4a.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0017-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/99621cbca6ea94706a8f5dcdc5e8af4a.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0017-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/99621cbca6ea94706a8f5dcdc5e8af4a.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0017-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/99621cbca6ea94706a8f5dcdc5e8af4a.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0017-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/99621cbca6ea94706a8f5dcdc5e8af4a.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0017-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/99621cbca6ea94706a8f5dcdc5e8af4a.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0017-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":false,"is_app_user":false,"updated":1569143041},{"id":"U0EA7TZJN","team_id":"T04KB5WQH","name":"bar","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"bar","real_name_normalized":"bar","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"f359ba59a121","image_original":"https:\/\/avatars.slack-edge.com\/2015-11-11\/14346833313_f359ba59a1211d17912b_original.jpg","is_custom_image":true,"bot_id":"B0EA31LQM","image_24":"https:\/\/avatars.slack-edge.com\/2015-11-11\/14346833313_f359ba59a1211d17912b_24.jpg","image_32":"https:\/\/avatars.slack-edge.com\/2015-11-11\/14346833313_f359ba59a1211d17912b_32.jpg","image_48":"https:\/\/avatars.slack-edge.com\/2015-11-11\/14346833313_f359ba59a1211d17912b_48.jpg","image_72":"https:\/\/avatars.slack-edge.com\/2015-11-11\/14346833313_f359ba59a1211d17912b_72.jpg","image_192":"https:\/\/avatars.slack-edge.com\/2015-11-11\/14346833313_f359ba59a1211d17912b_192.jpg","image_512":"https:\/\/avatars.slack-edge.com\/2015-11-11\/14346833313_f359ba59a1211d17912b_512.jpg","image_1024":"https:\/\/avatars.slack-edge.com\/2015-11-11\/14346833313_f359ba59a1211d17912b_512.jpg","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1504224758}],"cache_ts":1638648799,"response_metadata":{"next_cursor":"dXNlcjpVMEdQUjZLREo="}}'
|
174
|
+
recorded_at: Sat, 19 Jan 2019 21:25:48 GMT
|
68
175
|
- request:
|
69
176
|
method: post
|
70
177
|
uri: https://slack.com/api/users.list
|
71
178
|
body:
|
72
179
|
encoding: UTF-8
|
73
|
-
string: cursor=dXNlcjpVMEdQUjZLREo%3D&limit=5&presence=true
|
180
|
+
string: cursor=dXNlcjpVMEdQUjZLREo%3D&limit=5&presence=true
|
74
181
|
headers:
|
75
182
|
Accept:
|
76
183
|
- application/json; charset=utf-8
|
77
184
|
User-Agent:
|
78
|
-
- Slack Ruby Client/0.
|
185
|
+
- Slack Ruby Client/0.18.0
|
186
|
+
Authorization:
|
187
|
+
- Bearer <SLACK_API_TOKEN>
|
79
188
|
Content-Type:
|
80
189
|
- application/x-www-form-urlencoded
|
81
190
|
Accept-Encoding:
|
@@ -85,40 +194,88 @@ http_interactions:
|
|
85
194
|
code: 200
|
86
195
|
message: OK
|
87
196
|
headers:
|
197
|
+
Date:
|
198
|
+
- Sat, 04 Dec 2021 20:13:19 GMT
|
199
|
+
Server:
|
200
|
+
- Apache
|
201
|
+
Access-Control-Allow-Origin:
|
202
|
+
- "*"
|
203
|
+
Referrer-Policy:
|
204
|
+
- no-referrer
|
205
|
+
X-Slack-Backend:
|
206
|
+
- r
|
207
|
+
Strict-Transport-Security:
|
208
|
+
- max-age=31536000; includeSubDomains; preload
|
209
|
+
Access-Control-Allow-Headers:
|
210
|
+
- slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid,
|
211
|
+
x-b3-sampled, x-b3-flags
|
212
|
+
Access-Control-Expose-Headers:
|
213
|
+
- x-slack-req-id, retry-after
|
214
|
+
X-Oauth-Scopes:
|
215
|
+
- identify,read,post,client,apps
|
216
|
+
X-Accepted-Oauth-Scopes:
|
217
|
+
- users:read,read
|
218
|
+
Expires:
|
219
|
+
- Mon, 26 Jul 1997 05:00:00 GMT
|
220
|
+
Cache-Control:
|
221
|
+
- private, no-cache, no-store, must-revalidate
|
222
|
+
Pragma:
|
223
|
+
- no-cache
|
224
|
+
X-Xss-Protection:
|
225
|
+
- '0'
|
226
|
+
X-Content-Type-Options:
|
227
|
+
- nosniff
|
228
|
+
X-Slack-Req-Id:
|
229
|
+
- a492eac2ade275cce646aaa25c34b8aa
|
230
|
+
Vary:
|
231
|
+
- Accept-Encoding
|
232
|
+
Content-Length:
|
233
|
+
- '1169'
|
88
234
|
Content-Type:
|
89
235
|
- application/json; charset=utf-8
|
236
|
+
X-Envoy-Upstream-Service-Time:
|
237
|
+
- '29'
|
238
|
+
X-Backend:
|
239
|
+
- main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow
|
240
|
+
main_control_with_overflow main_bedrock_control_with_overflow
|
241
|
+
X-Server:
|
242
|
+
- slack-www-hhvm-main-iad-u8hy
|
243
|
+
X-Slack-Shared-Secret-Outcome:
|
244
|
+
- no-match
|
245
|
+
Via:
|
246
|
+
- envoy-www-iad-iv2s, envoy-edge-iad-7mbm
|
247
|
+
X-Edge-Backend:
|
248
|
+
- envoy-www
|
249
|
+
X-Slack-Edge-Shared-Secret-Outcome:
|
250
|
+
- no-match
|
90
251
|
body:
|
91
|
-
encoding:
|
92
|
-
string: '{"ok":true,"offset":"U0HLFUZLJ","members":[{"id":"U0GPR6KDJ","team_id":"T04KB5WQH","name":"slackbotserver","deleted":
|
93
|
-
Daylight Time","tz_offset":-25200,"profile":{"first_name":"slack-ruby-bot-server","bot_id":"B0GPWQWHY","api_app_id":"A0GPRTG9Z","avatar_hash":"g36f3834829d","real_name":"slack-ruby-bot-server","real_name_normalized":"slack-ruby-bot-server","image_24":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0008-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0008-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0008-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0008-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0008-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0008-512.png","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":true,"updated":1464900685,"is_app_user":false,"presence":"away"},{"id":"U0H15MV1R","team_id":"T04KB5WQH","name":"pongbot","deleted":false,"color":"99a949","real_name":"PlayPlay.io
|
94
|
-
- Ping-Pong for Slack","tz":null,"tz_label":"Pacific Daylight Time","tz_offset":-25200,"profile":{"first_name":"PlayPlay.io
|
95
|
-
- Ping-Pong for Slack","bot_id":"B0H184MLZ","api_app_id":"A0H0ZJHP0","avatar_hash":"bfc0baddb5a2","image_24":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_512.png","image_original":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_original.png","real_name":"PlayPlay.io
|
252
|
+
encoding: UTF-8
|
253
|
+
string: '{"ok":true,"offset":"U0HLFUZLJ","members":[{"id":"U0GPR6KDJ","team_id":"T04KB5WQH","name":"slackbotserver","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"slack-ruby-bot-server","real_name_normalized":"slack-ruby-bot-server","display_name":"slackbotserver","display_name_normalized":"slackbotserver","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"gf3834829d1e","api_app_id":"A0GPRTG9Z","bot_id":"B0GPWQWHY","first_name":"slack-ruby-bot-server","image_24":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/36f3834829d1ec429f7d6acebccc7641.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1605531588},{"id":"U0H15MV1R","team_id":"T04KB5WQH","name":"pongbot","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"PlayPlay.io
|
96
254
|
- Ping-Pong for Slack","real_name_normalized":"PlayPlay.io - Ping-Pong for
|
97
|
-
Slack","
|
98
|
-
-
|
99
|
-
- Chess for Slack","
|
100
|
-
- Chess for Slack","
|
101
|
-
- Billiards for Slack","tz":null,"tz_label":"Pacific Daylight Time","tz_offset":-25200,"profile":{"first_name":"PlayPlay.io
|
102
|
-
- Billiards for Slack","bot_id":"B0HC7D1SN","api_app_id":"A0HC74EET","avatar_hash":"c95d3eeede11","image_24":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_512.png","image_original":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_original.png","real_name":"PlayPlay.io
|
255
|
+
Slack","display_name":"pongbot","display_name_normalized":"pongbot","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"bfc0baddb5a2","api_app_id":"A0H0ZJHP0","image_original":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_original.png","is_custom_image":true,"bot_id":"B0H184MLZ","first_name":"PlayPlay.io
|
256
|
+
- Ping-Pong for Slack","image_24":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52297978466_bfc0baddb5a2d42da036_512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1557890817},{"id":"U0H701CJZ","team_id":"T04KB5WQH","name":"chessbot","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"PlayPlay.io
|
257
|
+
- Chess for Slack","real_name_normalized":"PlayPlay.io - Chess for Slack","display_name":"chessbot","display_name_normalized":"chessbot","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"8f99e84480d6","api_app_id":"A0H70N5C3","image_original":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52298008610_8f99e84480d6baed1771_original.png","is_custom_image":true,"bot_id":"B0H74MK3J","first_name":"PlayPlay.io
|
258
|
+
- Chess for Slack","image_24":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52298008610_8f99e84480d6baed1771_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52298008610_8f99e84480d6baed1771_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52298008610_8f99e84480d6baed1771_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52298008610_8f99e84480d6baed1771_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52298008610_8f99e84480d6baed1771_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52298008610_8f99e84480d6baed1771_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52298008610_8f99e84480d6baed1771_512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1547581425},{"id":"U0HC7MSEA","team_id":"T04KB5WQH","name":"poolbot","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"PlayPlay.io
|
103
259
|
- Billiards for Slack","real_name_normalized":"PlayPlay.io - Billiards for
|
104
|
-
Slack","
|
105
|
-
-
|
106
|
-
- Tic-Tac-Toe for Slack","bot_id":"B0HF56491","api_app_id":"A0HF3E0AH","avatar_hash":"4a2b920dbea1","image_24":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_512.png","image_original":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_original.png","real_name":"PlayPlay.io
|
260
|
+
Slack","display_name":"poolbot","display_name_normalized":"poolbot","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"c95d3eeede11","api_app_id":"A0HC74EET","image_original":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_original.png","is_custom_image":true,"bot_id":"B0HC7D1SN","first_name":"PlayPlay.io
|
261
|
+
- Billiards for Slack","image_24":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52283120304_c95d3eeede11f766a974_512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1547581419},{"id":"U0HF43KT7","team_id":"T04KB5WQH","name":"tictactoe","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"PlayPlay.io
|
107
262
|
- Tic-Tac-Toe for Slack","real_name_normalized":"PlayPlay.io - Tic-Tac-Toe
|
108
|
-
for Slack","
|
109
|
-
|
110
|
-
recorded_at:
|
263
|
+
for Slack","display_name":"tictactoe","display_name_normalized":"tictactoe","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"4a2b920dbea1","api_app_id":"A0HF3E0AH","image_original":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_original.png","is_custom_image":true,"bot_id":"B0HF56491","first_name":"PlayPlay.io
|
264
|
+
- Tic-Tac-Toe for Slack","image_24":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2016-06-19\/52238814435_4a2b920dbea1335fd188_512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1547581403}],"cache_ts":1638648799,"response_metadata":{"next_cursor":"dXNlcjpVMEhMRlVaTEo="}}'
|
265
|
+
recorded_at: Sat, 19 Jan 2019 21:25:48 GMT
|
111
266
|
- request:
|
112
267
|
method: post
|
113
268
|
uri: https://slack.com/api/users.list
|
114
269
|
body:
|
115
270
|
encoding: UTF-8
|
116
|
-
string: cursor=dXNlcjpVMEhMRlVaTEo%3D&limit=5&presence=true
|
271
|
+
string: cursor=dXNlcjpVMEhMRlVaTEo%3D&limit=5&presence=true
|
117
272
|
headers:
|
118
273
|
Accept:
|
119
274
|
- application/json; charset=utf-8
|
120
275
|
User-Agent:
|
121
|
-
- Slack Ruby Client/0.
|
276
|
+
- Slack Ruby Client/0.18.0
|
277
|
+
Authorization:
|
278
|
+
- Bearer <SLACK_API_TOKEN>
|
122
279
|
Content-Type:
|
123
280
|
- application/x-www-form-urlencoded
|
124
281
|
Accept-Encoding:
|
@@ -128,33 +285,86 @@ http_interactions:
|
|
128
285
|
code: 200
|
129
286
|
message: OK
|
130
287
|
headers:
|
288
|
+
Date:
|
289
|
+
- Sat, 04 Dec 2021 20:13:19 GMT
|
290
|
+
Server:
|
291
|
+
- Apache
|
292
|
+
Access-Control-Allow-Origin:
|
293
|
+
- "*"
|
294
|
+
Referrer-Policy:
|
295
|
+
- no-referrer
|
296
|
+
X-Slack-Backend:
|
297
|
+
- r
|
298
|
+
Strict-Transport-Security:
|
299
|
+
- max-age=31536000; includeSubDomains; preload
|
300
|
+
Access-Control-Allow-Headers:
|
301
|
+
- slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid,
|
302
|
+
x-b3-sampled, x-b3-flags
|
303
|
+
Access-Control-Expose-Headers:
|
304
|
+
- x-slack-req-id, retry-after
|
305
|
+
X-Oauth-Scopes:
|
306
|
+
- identify,read,post,client,apps
|
307
|
+
X-Accepted-Oauth-Scopes:
|
308
|
+
- users:read,read
|
309
|
+
Expires:
|
310
|
+
- Mon, 26 Jul 1997 05:00:00 GMT
|
311
|
+
Cache-Control:
|
312
|
+
- private, no-cache, no-store, must-revalidate
|
313
|
+
Pragma:
|
314
|
+
- no-cache
|
315
|
+
X-Xss-Protection:
|
316
|
+
- '0'
|
317
|
+
X-Content-Type-Options:
|
318
|
+
- nosniff
|
319
|
+
X-Slack-Req-Id:
|
320
|
+
- 2580ae10a3e8d5a0dc83cc5f2566d171
|
321
|
+
Vary:
|
322
|
+
- Accept-Encoding
|
323
|
+
Content-Length:
|
324
|
+
- '1454'
|
131
325
|
Content-Type:
|
132
326
|
- application/json; charset=utf-8
|
327
|
+
X-Envoy-Upstream-Service-Time:
|
328
|
+
- '25'
|
329
|
+
X-Backend:
|
330
|
+
- main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow
|
331
|
+
main_control_with_overflow main_bedrock_control_with_overflow
|
332
|
+
X-Server:
|
333
|
+
- slack-www-hhvm-main-iad-25eq
|
334
|
+
X-Slack-Shared-Secret-Outcome:
|
335
|
+
- no-match
|
336
|
+
Via:
|
337
|
+
- envoy-www-iad-b6c8, envoy-edge-iad-dfy5
|
338
|
+
X-Edge-Backend:
|
339
|
+
- envoy-www
|
340
|
+
X-Slack-Edge-Shared-Secret-Outcome:
|
341
|
+
- no-match
|
133
342
|
body:
|
134
|
-
encoding:
|
343
|
+
encoding: UTF-8
|
135
344
|
string: '{"ok":true,"offset":"U0S0G028K","members":[{"id":"U0HLFUZLJ","team_id":"T04KB5WQH","name":"player1","deleted":false,"color":"d58247","real_name":"Player
|
136
|
-
1","tz":"America\/Indiana\/Indianapolis","tz_label":"Eastern
|
137
|
-
1","real_name_normalized":"Player 1","email":"dblock+
|
138
|
-
Explorer","
|
139
|
-
Explorer","
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
App","avatar_hash":"
|
144
|
-
App","image_24":"https:\/\/secure.gravatar.com\/avatar\/470eaf566ca842e4c7a2a6113aaabeff.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%
|
145
|
-
|
146
|
-
recorded_at: Tue, 29 Aug 2017 21:30:59 GMT
|
345
|
+
1","tz":"America\/Indiana\/Indianapolis","tz_label":"Eastern Standard Time","tz_offset":-18000,"profile":{"title":"","phone":"","skype":"","real_name":"Player
|
346
|
+
1","real_name_normalized":"Player 1","display_name":"player1","display_name_normalized":"player1","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"ge4e1137364c","email":"dblock+player1@dblock.org","first_name":"Player","last_name":"1","image_24":"https:\/\/secure.gravatar.com\/avatar\/cde4e1137364cf971f15160113b04e86.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0009-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/cde4e1137364cf971f15160113b04e86.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0009-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/cde4e1137364cf971f15160113b04e86.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0009-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/cde4e1137364cf971f15160113b04e86.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0009-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/cde4e1137364cf971f15160113b04e86.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0009-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/cde4e1137364cf971f15160113b04e86.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0009-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":1569143041,"is_email_confirmed":true,"who_can_share_contact_card":"EVERYONE"},{"id":"U0HPMN0GY","team_id":"T04KB5WQH","name":"slak","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"API
|
347
|
+
Explorer","real_name_normalized":"API Explorer","display_name":"slak","display_name_normalized":"slak","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"36be3c0d4513","api_app_id":"A0HP7340N","image_original":"https:\/\/avatars.slack-edge.com\/2016-01-21\/19073458786_36be3c0d451350c9f03b_original.png","is_custom_image":true,"bot_id":"B0HPLG4M7","first_name":"API
|
348
|
+
Explorer","image_24":"https:\/\/avatars.slack-edge.com\/2016-01-21\/19073458786_36be3c0d451350c9f03b_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2016-01-21\/19073458786_36be3c0d451350c9f03b_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2016-01-21\/19073458786_36be3c0d451350c9f03b_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2016-01-21\/19073458786_36be3c0d451350c9f03b_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2016-01-21\/19073458786_36be3c0d451350c9f03b_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2016-01-21\/19073458786_36be3c0d451350c9f03b_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2016-01-21\/19073458786_36be3c0d451350c9f03b_512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1504224786},{"id":"U0J1GAHN1","team_id":"T04KB5WQH","name":"travis-ci","deleted":false,"color":"5a4592","real_name":"travis-ci","tz":"America\/Los_Angeles","tz_label":"Pacific
|
349
|
+
Standard Time","tz_offset":-28800,"profile":{"title":"Used for Travis-CI integration
|
350
|
+
tests on https:\/\/github.com\/dblock\/slack-ruby-client.","phone":"","skype":"","real_name":"travis-ci","real_name_normalized":"travis-ci","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"dd0191970c25","api_app_id":"","image_original":"https:\/\/avatars.slack-edge.com\/2016-01-08\/18054871664_dd0191970c25e54ef23f_original.png","is_custom_image":true,"bot_id":"B0J1L75DY","image_24":"https:\/\/avatars.slack-edge.com\/2016-01-08\/18054871664_dd0191970c25e54ef23f_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2016-01-08\/18054871664_dd0191970c25e54ef23f_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2016-01-08\/18054871664_dd0191970c25e54ef23f_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2016-01-08\/18054871664_dd0191970c25e54ef23f_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2016-01-08\/18054871664_dd0191970c25e54ef23f_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2016-01-08\/18054871664_dd0191970c25e54ef23f_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2016-01-08\/18054871664_dd0191970c25e54ef23f_512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":true,"is_app_user":false,"updated":1504224788,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE"},{"id":"U0LAVPSLF","team_id":"T04KB5WQH","name":"market","deleted":false,"color":"db3150","real_name":"Market","tz":"America\/Los_Angeles","tz_label":"Pacific
|
351
|
+
Standard Time","tz_offset":-28800,"profile":{"title":"","phone":"","skype":"","real_name":"Market","real_name_normalized":"Market","display_name":"market","display_name_normalized":"market","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"522645c5607a","api_app_id":"A0LAU0998","image_original":"https:\/\/avatars.slack-edge.com\/2016-06-12\/50217631700_522645c5607acc032c6f_original.png","is_custom_image":true,"bot_id":"B0LAPCFT6","first_name":"Market","image_24":"https:\/\/avatars.slack-edge.com\/2016-06-12\/50217631700_522645c5607acc032c6f_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2016-06-12\/50217631700_522645c5607acc032c6f_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2016-06-12\/50217631700_522645c5607acc032c6f_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2016-06-12\/50217631700_522645c5607acc032c6f_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2016-06-12\/50217631700_522645c5607acc032c6f_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2016-06-12\/50217631700_522645c5607acc032c6f_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2016-06-12\/50217631700_522645c5607acc032c6f_512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":true,"is_app_user":false,"updated":1504224809,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE"},{"id":"U0RU32XGB","team_id":"T04KB5WQH","name":"demo_app","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"Demo
|
352
|
+
App","real_name_normalized":"Demo App","display_name":"demo_app","display_name_normalized":"demo_app","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"g0eaf566ca84","api_app_id":"A0S05U5H7","bot_id":"B0S04SHFX","first_name":"Demo
|
353
|
+
App","image_24":"https:\/\/secure.gravatar.com\/avatar\/470eaf566ca842e4c7a2a6113aaabeff.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/470eaf566ca842e4c7a2a6113aaabeff.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/470eaf566ca842e4c7a2a6113aaabeff.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/470eaf566ca842e4c7a2a6113aaabeff.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/470eaf566ca842e4c7a2a6113aaabeff.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/470eaf566ca842e4c7a2a6113aaabeff.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1569143041}],"cache_ts":1638648799,"response_metadata":{"next_cursor":"dXNlcjpVMFMwRzAyOEs="}}'
|
354
|
+
recorded_at: Sat, 19 Jan 2019 21:25:48 GMT
|
147
355
|
- request:
|
148
356
|
method: post
|
149
357
|
uri: https://slack.com/api/users.list
|
150
358
|
body:
|
151
359
|
encoding: UTF-8
|
152
|
-
string: cursor=dXNlcjpVMFMwRzAyOEs%3D&limit=5&presence=true
|
360
|
+
string: cursor=dXNlcjpVMFMwRzAyOEs%3D&limit=5&presence=true
|
153
361
|
headers:
|
154
362
|
Accept:
|
155
363
|
- application/json; charset=utf-8
|
156
364
|
User-Agent:
|
157
|
-
- Slack Ruby Client/0.
|
365
|
+
- Slack Ruby Client/0.18.0
|
366
|
+
Authorization:
|
367
|
+
- Bearer <SLACK_API_TOKEN>
|
158
368
|
Content-Type:
|
159
369
|
- application/x-www-form-urlencoded
|
160
370
|
Accept-Encoding:
|
@@ -164,18 +374,240 @@ http_interactions:
|
|
164
374
|
code: 200
|
165
375
|
message: OK
|
166
376
|
headers:
|
377
|
+
Date:
|
378
|
+
- Sat, 04 Dec 2021 20:13:20 GMT
|
379
|
+
Server:
|
380
|
+
- Apache
|
381
|
+
Access-Control-Allow-Origin:
|
382
|
+
- "*"
|
383
|
+
Referrer-Policy:
|
384
|
+
- no-referrer
|
385
|
+
X-Slack-Backend:
|
386
|
+
- r
|
387
|
+
Strict-Transport-Security:
|
388
|
+
- max-age=31536000; includeSubDomains; preload
|
389
|
+
Access-Control-Allow-Headers:
|
390
|
+
- slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid,
|
391
|
+
x-b3-sampled, x-b3-flags
|
392
|
+
Access-Control-Expose-Headers:
|
393
|
+
- x-slack-req-id, retry-after
|
394
|
+
X-Oauth-Scopes:
|
395
|
+
- identify,read,post,client,apps
|
396
|
+
X-Accepted-Oauth-Scopes:
|
397
|
+
- users:read,read
|
398
|
+
Expires:
|
399
|
+
- Mon, 26 Jul 1997 05:00:00 GMT
|
400
|
+
Cache-Control:
|
401
|
+
- private, no-cache, no-store, must-revalidate
|
402
|
+
Pragma:
|
403
|
+
- no-cache
|
404
|
+
X-Xss-Protection:
|
405
|
+
- '0'
|
406
|
+
X-Content-Type-Options:
|
407
|
+
- nosniff
|
408
|
+
X-Slack-Req-Id:
|
409
|
+
- 57a0fbf2c515653c55fcf7441d724e4c
|
410
|
+
Vary:
|
411
|
+
- Accept-Encoding
|
412
|
+
Content-Length:
|
413
|
+
- '1436'
|
167
414
|
Content-Type:
|
168
415
|
- application/json; charset=utf-8
|
416
|
+
X-Envoy-Upstream-Service-Time:
|
417
|
+
- '22'
|
418
|
+
X-Backend:
|
419
|
+
- main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow
|
420
|
+
main_control_with_overflow main_bedrock_control_with_overflow
|
421
|
+
X-Server:
|
422
|
+
- slack-www-hhvm-main-iad-00dp
|
423
|
+
X-Slack-Shared-Secret-Outcome:
|
424
|
+
- no-match
|
425
|
+
Via:
|
426
|
+
- envoy-www-iad-voa7, envoy-edge-iad-fg29
|
427
|
+
X-Edge-Backend:
|
428
|
+
- envoy-www
|
429
|
+
X-Slack-Edge-Shared-Secret-Outcome:
|
430
|
+
- no-match
|
169
431
|
body:
|
170
|
-
encoding:
|
171
|
-
string: '{"ok":true,"members":[{"id":"U0S0G028K","team_id":"T04KB5WQH","name":"demofoo","deleted":true,"profile":{"
|
172
|
-
App","avatar_hash":"
|
173
|
-
App","image_24":"https:\/\/secure.gravatar.com\/avatar\/7ff909dc801e9b78da70deb57d6a9548.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
recorded_at:
|
181
|
-
|
432
|
+
encoding: UTF-8
|
433
|
+
string: '{"ok":true,"offset":"UPD8Z2E3T","members":[{"id":"U0S0G028K","team_id":"T04KB5WQH","name":"demofoo","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"Demo
|
434
|
+
App","real_name_normalized":"Demo App","display_name":"demofoo","display_name_normalized":"demofoo","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"gf909dc801e9","api_app_id":"A0S212AD7","bot_id":"B0S21UP2L","first_name":"Demo
|
435
|
+
App","image_24":"https:\/\/secure.gravatar.com\/avatar\/7ff909dc801e9b78da70deb57d6a9548.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/7ff909dc801e9b78da70deb57d6a9548.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/7ff909dc801e9b78da70deb57d6a9548.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/7ff909dc801e9b78da70deb57d6a9548.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/7ff909dc801e9b78da70deb57d6a9548.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/7ff909dc801e9b78da70deb57d6a9548.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1569143041},{"id":"U6HMJSC01","team_id":"T04KB5WQH","name":"test_app","deleted":false,"color":"53b759","real_name":"test_app","tz":"America\/Los_Angeles","tz_label":"Pacific
|
436
|
+
Standard Time","tz_offset":-28800,"profile":{"title":"","phone":"","skype":"","real_name":"test_app","real_name_normalized":"test_app","display_name":"test_app","display_name_normalized":"test_app","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"g0010e14ef43","api_app_id":"A19GAJ72T","always_active":false,"bot_id":"B6KAQDLCF","first_name":"test_app","last_name":"","image_24":"https:\/\/secure.gravatar.com\/avatar\/620010e14ef438a65db182bd767da3bc.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/620010e14ef438a65db182bd767da3bc.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/620010e14ef438a65db182bd767da3bc.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/620010e14ef438a65db182bd767da3bc.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/620010e14ef438a65db182bd767da3bc.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/620010e14ef438a65db182bd767da3bc.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0006-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":true,"is_app_user":false,"updated":1585402202,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE"},{"id":"U6QNX3JR5","team_id":"T04KB5WQH","name":"dblockplayplay","deleted":false,"color":"c386df","real_name":"Daniel
|
437
|
+
Play","tz":"America\/New_York","tz_label":"Eastern Standard Time","tz_offset":-18000,"profile":{"title":"","phone":"","skype":"","real_name":"Daniel
|
438
|
+
Play","real_name_normalized":"Daniel Play","display_name":"dblockplayplay","display_name_normalized":"dblockplayplay","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"gc348670516c","email":"dblock+playplay@dblock.org","first_name":"Daniel","last_name":"Play","image_24":"https:\/\/secure.gravatar.com\/avatar\/edc348670516c40654a171bdc09709b1.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0003-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/edc348670516c40654a171bdc09709b1.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0003-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/edc348670516c40654a171bdc09709b1.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0003-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/edc348670516c40654a171bdc09709b1.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0003-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/edc348670516c40654a171bdc09709b1.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0003-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/edc348670516c40654a171bdc09709b1.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0003-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":1569143042,"is_email_confirmed":true,"who_can_share_contact_card":"EVERYONE"},{"id":"UJJ05P001","team_id":"T04KB5WQH","name":"invitebot","deleted":false,"color":"385a86","real_name":"Invite
|
439
|
+
Bot","tz":"America\/Los_Angeles","tz_label":"Pacific Standard Time","tz_offset":-28800,"profile":{"title":"","phone":"","skype":"","real_name":"Invite
|
440
|
+
Bot","real_name_normalized":"Invite Bot","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"0e71f465eb8d","api_app_id":"AJPPFAS6R","always_active":false,"image_original":"https:\/\/avatars.slack-edge.com\/2019-05-15\/630005808305_0e71f465eb8df65d10cd_original.png","is_custom_image":true,"bot_id":"BJS5B5DHV","image_24":"https:\/\/avatars.slack-edge.com\/2019-05-15\/630005808305_0e71f465eb8df65d10cd_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2019-05-15\/630005808305_0e71f465eb8df65d10cd_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2019-05-15\/630005808305_0e71f465eb8df65d10cd_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2019-05-15\/630005808305_0e71f465eb8df65d10cd_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2019-05-15\/630005808305_0e71f465eb8df65d10cd_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2019-05-15\/630005808305_0e71f465eb8df65d10cd_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2019-05-15\/630005808305_0e71f465eb8df65d10cd_1024.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":true,"is_app_user":false,"updated":1557929990,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE"},{"id":"UPD8Z27LZ","team_id":"T04KB5WQH","name":"dblock_test","deleted":false,"color":"50a0cf","real_name":"dblock","tz":"America\/New_York","tz_label":"Eastern
|
441
|
+
Standard Time","tz_offset":-18000,"profile":{"title":"","phone":"","skype":"","real_name":"dblock","real_name_normalized":"dblock","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"g4091e4ec0e2","email":"dblock+test@dblock.org","first_name":"","last_name":"","image_24":"https:\/\/secure.gravatar.com\/avatar\/4091e4ec0e225350e60651785e067949.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/4091e4ec0e225350e60651785e067949.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/4091e4ec0e225350e60651785e067949.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/4091e4ec0e225350e60651785e067949.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/4091e4ec0e225350e60651785e067949.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/4091e4ec0e225350e60651785e067949.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0005-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":1571509015,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE","is_invited_user":true}],"cache_ts":1638648800,"response_metadata":{"next_cursor":"dXNlcjpVUEQ4WjJFM1Q="}}'
|
442
|
+
recorded_at: Sat, 19 Jan 2019 21:25:48 GMT
|
443
|
+
- request:
|
444
|
+
method: post
|
445
|
+
uri: https://slack.com/api/users.list
|
446
|
+
body:
|
447
|
+
encoding: UTF-8
|
448
|
+
string: cursor=dXNlcjpVUEQ4WjJFM1Q%3D&limit=5&presence=true
|
449
|
+
headers:
|
450
|
+
Accept:
|
451
|
+
- application/json; charset=utf-8
|
452
|
+
User-Agent:
|
453
|
+
- Slack Ruby Client/0.18.0
|
454
|
+
Authorization:
|
455
|
+
- Bearer <SLACK_API_TOKEN>
|
456
|
+
Content-Type:
|
457
|
+
- application/x-www-form-urlencoded
|
458
|
+
Accept-Encoding:
|
459
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
460
|
+
response:
|
461
|
+
status:
|
462
|
+
code: 200
|
463
|
+
message: OK
|
464
|
+
headers:
|
465
|
+
Date:
|
466
|
+
- Sat, 04 Dec 2021 20:13:20 GMT
|
467
|
+
Server:
|
468
|
+
- Apache
|
469
|
+
Access-Control-Allow-Origin:
|
470
|
+
- "*"
|
471
|
+
Referrer-Policy:
|
472
|
+
- no-referrer
|
473
|
+
X-Slack-Backend:
|
474
|
+
- r
|
475
|
+
Strict-Transport-Security:
|
476
|
+
- max-age=31536000; includeSubDomains; preload
|
477
|
+
Access-Control-Allow-Headers:
|
478
|
+
- slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid,
|
479
|
+
x-b3-sampled, x-b3-flags
|
480
|
+
Access-Control-Expose-Headers:
|
481
|
+
- x-slack-req-id, retry-after
|
482
|
+
X-Oauth-Scopes:
|
483
|
+
- identify,read,post,client,apps
|
484
|
+
X-Accepted-Oauth-Scopes:
|
485
|
+
- users:read,read
|
486
|
+
Expires:
|
487
|
+
- Mon, 26 Jul 1997 05:00:00 GMT
|
488
|
+
Cache-Control:
|
489
|
+
- private, no-cache, no-store, must-revalidate
|
490
|
+
Pragma:
|
491
|
+
- no-cache
|
492
|
+
X-Xss-Protection:
|
493
|
+
- '0'
|
494
|
+
X-Content-Type-Options:
|
495
|
+
- nosniff
|
496
|
+
X-Slack-Req-Id:
|
497
|
+
- df3521f7f8ce14f1fdf3b55f0966f52a
|
498
|
+
Vary:
|
499
|
+
- Accept-Encoding
|
500
|
+
Content-Length:
|
501
|
+
- '1163'
|
502
|
+
Content-Type:
|
503
|
+
- application/json; charset=utf-8
|
504
|
+
X-Envoy-Upstream-Service-Time:
|
505
|
+
- '31'
|
506
|
+
X-Backend:
|
507
|
+
- main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow
|
508
|
+
main_control_with_overflow main_bedrock_control_with_overflow
|
509
|
+
X-Server:
|
510
|
+
- slack-www-hhvm-main-iad-pm0o
|
511
|
+
X-Slack-Shared-Secret-Outcome:
|
512
|
+
- no-match
|
513
|
+
Via:
|
514
|
+
- envoy-www-iad-q4q6, envoy-edge-iad-2mik
|
515
|
+
X-Edge-Backend:
|
516
|
+
- envoy-www
|
517
|
+
X-Slack-Edge-Shared-Secret-Outcome:
|
518
|
+
- no-match
|
519
|
+
body:
|
520
|
+
encoding: UTF-8
|
521
|
+
string: '{"ok":true,"offset":"U012SA9KW4R","members":[{"id":"UPD8Z2E3T","team_id":"T04KB5WQH","name":"dblock_test1","deleted":false,"color":"d55aef","real_name":"dblock","tz":"America\/New_York","tz_label":"Eastern
|
522
|
+
Standard Time","tz_offset":-18000,"profile":{"title":"","phone":"","skype":"","real_name":"dblock","real_name_normalized":"dblock","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"gef27de052f5","email":"dblock+test1@dblock.org","first_name":"","last_name":"","image_24":"https:\/\/secure.gravatar.com\/avatar\/ef27de052f5cdb250ce54fbbe6cf41bd.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/ef27de052f5cdb250ce54fbbe6cf41bd.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/ef27de052f5cdb250ce54fbbe6cf41bd.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/ef27de052f5cdb250ce54fbbe6cf41bd.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/ef27de052f5cdb250ce54fbbe6cf41bd.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/ef27de052f5cdb250ce54fbbe6cf41bd.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":1571509017,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE","is_invited_user":true},{"id":"UPK86E6P6","team_id":"T04KB5WQH","name":"dblock_2","deleted":false,"color":"ea2977","real_name":"dblock","tz":"America\/New_York","tz_label":"Eastern
|
523
|
+
Standard Time","tz_offset":-18000,"profile":{"title":"","phone":"","skype":"","real_name":"dblock","real_name_normalized":"dblock","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"gba73bd6b8ec","email":"dblock+2@dblock.org","first_name":"","last_name":"","image_24":"https:\/\/secure.gravatar.com\/avatar\/ba73bd6b8ec4c7a2a1062e4340d3d289.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/ba73bd6b8ec4c7a2a1062e4340d3d289.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/ba73bd6b8ec4c7a2a1062e4340d3d289.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/ba73bd6b8ec4c7a2a1062e4340d3d289.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/ba73bd6b8ec4c7a2a1062e4340d3d289.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/ba73bd6b8ec4c7a2a1062e4340d3d289.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0001-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":1571509014,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE","is_invited_user":true},{"id":"UPKN2L3E1","team_id":"T04KB5WQH","name":"dblock_6","deleted":false,"color":"a63024","real_name":"dblock","tz":"America\/New_York","tz_label":"Eastern
|
524
|
+
Standard Time","tz_offset":-18000,"profile":{"title":"","phone":"","skype":"","real_name":"dblock","real_name_normalized":"dblock","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"g52a8bba00a0","email":"dblock+6@dblock.org","first_name":"","last_name":"","image_24":"https:\/\/secure.gravatar.com\/avatar\/52a8bba00a0487dfde01fe44facc8881.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0026-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/52a8bba00a0487dfde01fe44facc8881.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0026-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/52a8bba00a0487dfde01fe44facc8881.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0026-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/52a8bba00a0487dfde01fe44facc8881.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0026-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/52a8bba00a0487dfde01fe44facc8881.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0026-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/52a8bba00a0487dfde01fe44facc8881.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0026-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":1571509011,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE","is_invited_user":true},{"id":"UPMTZMJTY","team_id":"T04KB5WQH","name":"dblock_3","deleted":false,"color":"5870dd","real_name":"dblock","tz":"America\/New_York","tz_label":"Eastern
|
525
|
+
Standard Time","tz_offset":-18000,"profile":{"title":"","phone":"","skype":"","real_name":"dblock","real_name_normalized":"dblock","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"g59cffe92576","email":"dblock+3@dblock.org","first_name":"","last_name":"","image_24":"https:\/\/secure.gravatar.com\/avatar\/59cffe925768b386639fc84bd3f4b781.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/59cffe925768b386639fc84bd3f4b781.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/59cffe925768b386639fc84bd3f4b781.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/59cffe925768b386639fc84bd3f4b781.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/59cffe925768b386639fc84bd3f4b781.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/59cffe925768b386639fc84bd3f4b781.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0008-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":1571509013,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE","is_invited_user":true},{"id":"U011Z08R6B1","team_id":"T04KB5WQH","name":"dblock_example2","deleted":false,"color":"43761b","real_name":"dblock","tz":"America\/New_York","tz_label":"Eastern
|
526
|
+
Standard Time","tz_offset":-18000,"profile":{"title":"","phone":"","skype":"","real_name":"dblock","real_name_normalized":"dblock","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"g8647841651f","email":"dblock+example2@dblock.org","image_24":"https:\/\/secure.gravatar.com\/avatar\/8647841651f8212201a44dab1e14f010.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0016-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/8647841651f8212201a44dab1e14f010.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0016-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/8647841651f8212201a44dab1e14f010.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0016-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/8647841651f8212201a44dab1e14f010.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0016-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/8647841651f8212201a44dab1e14f010.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0016-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/8647841651f8212201a44dab1e14f010.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0016-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":1587650583,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE","is_invited_user":true}],"cache_ts":1638648800,"response_metadata":{"next_cursor":"dXNlcjpVMDEyU0E5S1c0Ug=="}}'
|
527
|
+
recorded_at: Sat, 19 Jan 2019 21:25:48 GMT
|
528
|
+
- request:
|
529
|
+
method: post
|
530
|
+
uri: https://slack.com/api/users.list
|
531
|
+
body:
|
532
|
+
encoding: UTF-8
|
533
|
+
string: cursor=dXNlcjpVMDEyU0E5S1c0Ug%3D%3D&limit=5&presence=true
|
534
|
+
headers:
|
535
|
+
Accept:
|
536
|
+
- application/json; charset=utf-8
|
537
|
+
User-Agent:
|
538
|
+
- Slack Ruby Client/0.18.0
|
539
|
+
Authorization:
|
540
|
+
- Bearer <SLACK_API_TOKEN>
|
541
|
+
Content-Type:
|
542
|
+
- application/x-www-form-urlencoded
|
543
|
+
Accept-Encoding:
|
544
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
545
|
+
response:
|
546
|
+
status:
|
547
|
+
code: 200
|
548
|
+
message: OK
|
549
|
+
headers:
|
550
|
+
Date:
|
551
|
+
- Sat, 04 Dec 2021 20:13:20 GMT
|
552
|
+
Server:
|
553
|
+
- Apache
|
554
|
+
Access-Control-Allow-Origin:
|
555
|
+
- "*"
|
556
|
+
Referrer-Policy:
|
557
|
+
- no-referrer
|
558
|
+
X-Slack-Backend:
|
559
|
+
- r
|
560
|
+
Strict-Transport-Security:
|
561
|
+
- max-age=31536000; includeSubDomains; preload
|
562
|
+
Access-Control-Allow-Headers:
|
563
|
+
- slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid,
|
564
|
+
x-b3-sampled, x-b3-flags
|
565
|
+
Access-Control-Expose-Headers:
|
566
|
+
- x-slack-req-id, retry-after
|
567
|
+
X-Oauth-Scopes:
|
568
|
+
- identify,read,post,client,apps
|
569
|
+
X-Accepted-Oauth-Scopes:
|
570
|
+
- users:read,read
|
571
|
+
Expires:
|
572
|
+
- Mon, 26 Jul 1997 05:00:00 GMT
|
573
|
+
Cache-Control:
|
574
|
+
- private, no-cache, no-store, must-revalidate
|
575
|
+
Pragma:
|
576
|
+
- no-cache
|
577
|
+
X-Xss-Protection:
|
578
|
+
- '0'
|
579
|
+
X-Content-Type-Options:
|
580
|
+
- nosniff
|
581
|
+
X-Slack-Req-Id:
|
582
|
+
- 70f9d5015fdce8dc1c869a65834dda47
|
583
|
+
Vary:
|
584
|
+
- Accept-Encoding
|
585
|
+
Content-Length:
|
586
|
+
- '1424'
|
587
|
+
Content-Type:
|
588
|
+
- application/json; charset=utf-8
|
589
|
+
X-Envoy-Upstream-Service-Time:
|
590
|
+
- '23'
|
591
|
+
X-Backend:
|
592
|
+
- main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow
|
593
|
+
main_control_with_overflow main_bedrock_control_with_overflow
|
594
|
+
X-Server:
|
595
|
+
- slack-www-hhvm-main-iad-z51r
|
596
|
+
X-Slack-Shared-Secret-Outcome:
|
597
|
+
- no-match
|
598
|
+
Via:
|
599
|
+
- envoy-www-iad-hepu, envoy-edge-iad-wt4b
|
600
|
+
X-Edge-Backend:
|
601
|
+
- envoy-www
|
602
|
+
X-Slack-Edge-Shared-Secret-Outcome:
|
603
|
+
- no-match
|
604
|
+
body:
|
605
|
+
encoding: UTF-8
|
606
|
+
string: '{"ok":true,"members":[{"id":"U012SA9KW4R","team_id":"T04KB5WQH","name":"dblock_example","deleted":false,"color":"d1707d","real_name":"dblock","tz":"America\/New_York","tz_label":"Eastern
|
607
|
+
Standard Time","tz_offset":-18000,"profile":{"title":"","phone":"","skype":"","real_name":"dblock","real_name_normalized":"dblock","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"ga6aec5133db","email":"dblock+example@dblock.org","image_24":"https:\/\/secure.gravatar.com\/avatar\/a6aec5133db996586c61e49a0d791e23.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0000-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/a6aec5133db996586c61e49a0d791e23.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0000-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/a6aec5133db996586c61e49a0d791e23.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0000-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/a6aec5133db996586c61e49a0d791e23.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0000-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/a6aec5133db996586c61e49a0d791e23.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0000-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/a6aec5133db996586c61e49a0d791e23.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0000-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":false,"is_app_user":false,"updated":1587650286,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE","is_invited_user":true},{"id":"U0174H9SZR7","team_id":"T04KB5WQH","name":"slava-bot","deleted":false,"color":"e06b56","real_name":"slava","tz":"America\/Los_Angeles","tz_label":"Pacific
|
608
|
+
Standard Time","tz_offset":-28800,"profile":{"title":"","phone":"","skype":"","real_name":"slava","real_name_normalized":"slava","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"16fecd69d862","api_app_id":"A9XS1443S","always_active":false,"image_original":"https:\/\/avatars.slack-edge.com\/2021-06-17\/2185657550866_16fecd69d862b7eebc1b_original.jpg","is_custom_image":true,"bot_id":"B016B6GGRLP","first_name":"slava","last_name":"","image_24":"https:\/\/avatars.slack-edge.com\/2021-06-17\/2185657550866_16fecd69d862b7eebc1b_24.jpg","image_32":"https:\/\/avatars.slack-edge.com\/2021-06-17\/2185657550866_16fecd69d862b7eebc1b_32.jpg","image_48":"https:\/\/avatars.slack-edge.com\/2021-06-17\/2185657550866_16fecd69d862b7eebc1b_48.jpg","image_72":"https:\/\/avatars.slack-edge.com\/2021-06-17\/2185657550866_16fecd69d862b7eebc1b_72.jpg","image_192":"https:\/\/avatars.slack-edge.com\/2021-06-17\/2185657550866_16fecd69d862b7eebc1b_192.jpg","image_512":"https:\/\/avatars.slack-edge.com\/2021-06-17\/2185657550866_16fecd69d862b7eebc1b_512.jpg","image_1024":"https:\/\/avatars.slack-edge.com\/2021-06-17\/2185657550866_16fecd69d862b7eebc1b_1024.jpg","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":true,"is_app_user":false,"updated":1623977812,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE"},{"id":"U01EC0JKFPZ","team_id":"T04KB5WQH","name":"sh2-x","deleted":true,"profile":{"title":"","phone":"","skype":"","real_name":"shell","real_name_normalized":"shell","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"88c23204862c","api_app_id":"A0HU20FCG","always_active":false,"image_original":"https:\/\/avatars.slack-edge.com\/2020-11-15\/1502965856291_88c23204862cf59bfcc1_original.png","is_custom_image":true,"bot_id":"B01EYT3K9LL","image_24":"https:\/\/avatars.slack-edge.com\/2020-11-15\/1502965856291_88c23204862cf59bfcc1_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2020-11-15\/1502965856291_88c23204862cf59bfcc1_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2020-11-15\/1502965856291_88c23204862cf59bfcc1_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2020-11-15\/1502965856291_88c23204862cf59bfcc1_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2020-11-15\/1502965856291_88c23204862cf59bfcc1_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2020-11-15\/1502965856291_88c23204862cf59bfcc1_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2020-11-15\/1502965856291_88c23204862cf59bfcc1_1024.png","status_text_canonical":"","team":"T04KB5WQH"},"is_bot":true,"is_app_user":false,"updated":1606511282},{"id":"U01ED8JS8BH","team_id":"T04KB5WQH","name":"test_app_v2","deleted":false,"color":"902d59","real_name":"Test
|
609
|
+
App v2","tz":"America\/Los_Angeles","tz_label":"Pacific Standard Time","tz_offset":-28800,"profile":{"title":"","phone":"","skype":"","real_name":"Test
|
610
|
+
App v2","real_name_normalized":"Test App v2","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"g13f1a003782","api_app_id":"A01FHPEUR16","always_active":false,"bot_id":"B01F05PT7D2","image_24":"https:\/\/secure.gravatar.com\/avatar\/13f1a0037821ab0a0ff597479408dddd.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0014-24.png","image_32":"https:\/\/secure.gravatar.com\/avatar\/13f1a0037821ab0a0ff597479408dddd.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0014-32.png","image_48":"https:\/\/secure.gravatar.com\/avatar\/13f1a0037821ab0a0ff597479408dddd.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0014-48.png","image_72":"https:\/\/secure.gravatar.com\/avatar\/13f1a0037821ab0a0ff597479408dddd.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0014-72.png","image_192":"https:\/\/secure.gravatar.com\/avatar\/13f1a0037821ab0a0ff597479408dddd.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0014-192.png","image_512":"https:\/\/secure.gravatar.com\/avatar\/13f1a0037821ab0a0ff597479408dddd.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0014-512.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":true,"is_app_user":false,"updated":1605532101,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE"},{"id":"U01FA6B0JM8","team_id":"T04KB5WQH","name":"shell","deleted":false,"color":"de5f24","real_name":"sh","tz":"America\/Los_Angeles","tz_label":"Pacific
|
611
|
+
Standard Time","tz_offset":-28800,"profile":{"title":"","phone":"","skype":"","real_name":"sh","real_name_normalized":"sh","display_name":"","display_name_normalized":"","fields":null,"status_text":"","status_emoji":"","status_emoji_display_info":[],"status_expiration":0,"avatar_hash":"5732d1b50dac","api_app_id":"A01F73M28BF","always_active":true,"image_original":"https:\/\/avatars.slack-edge.com\/2020-11-27\/1539986896676_5732d1b50dac2ec835ad_original.png","is_custom_image":true,"bot_id":"B01G01P95JL","first_name":"sh","last_name":"","image_24":"https:\/\/avatars.slack-edge.com\/2020-11-27\/1539986896676_5732d1b50dac2ec835ad_24.png","image_32":"https:\/\/avatars.slack-edge.com\/2020-11-27\/1539986896676_5732d1b50dac2ec835ad_32.png","image_48":"https:\/\/avatars.slack-edge.com\/2020-11-27\/1539986896676_5732d1b50dac2ec835ad_48.png","image_72":"https:\/\/avatars.slack-edge.com\/2020-11-27\/1539986896676_5732d1b50dac2ec835ad_72.png","image_192":"https:\/\/avatars.slack-edge.com\/2020-11-27\/1539986896676_5732d1b50dac2ec835ad_192.png","image_512":"https:\/\/avatars.slack-edge.com\/2020-11-27\/1539986896676_5732d1b50dac2ec835ad_512.png","image_1024":"https:\/\/avatars.slack-edge.com\/2020-11-27\/1539986896676_5732d1b50dac2ec835ad_1024.png","status_text_canonical":"","team":"T04KB5WQH"},"is_admin":false,"is_owner":false,"is_primary_owner":false,"is_restricted":false,"is_ultra_restricted":false,"is_bot":true,"is_app_user":false,"updated":1606831566,"is_email_confirmed":false,"who_can_share_contact_card":"EVERYONE"}],"cache_ts":1638648800,"response_metadata":{"next_cursor":""}}'
|
612
|
+
recorded_at: Sat, 19 Jan 2019 21:25:48 GMT
|
613
|
+
recorded_with: VCR 6.0.0
|