spec/fixtures/slack/web/conversations_info.yml in slack-ruby-client-0.17.0 vs spec/fixtures/slack/web/conversations_info.yml in slack-ruby-client-1.0.0
- old
+ new
@@ -3,41 +3,165 @@
- request:
method: post
uri: https://slack.com/api/conversations.list
body:
encoding: UTF-8
- string: token=token
+ string: limit=100
+ headers:
+ Accept:
+ - application/json; charset=utf-8
+ User-Agent:
+ - Slack Ruby Client/0.18.0
+ Authorization:
+ - Bearer <SLACK_API_TOKEN>
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept-Encoding:
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
response:
status:
code: 200
message: OK
headers:
+ Date:
+ - Sat, 04 Dec 2021 20:13:19 GMT
+ Server:
+ - Apache
+ Access-Control-Allow-Origin:
+ - "*"
+ Referrer-Policy:
+ - no-referrer
+ X-Slack-Backend:
+ - r
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Access-Control-Allow-Headers:
+ - slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid,
+ x-b3-sampled, x-b3-flags
+ Access-Control-Expose-Headers:
+ - x-slack-req-id, retry-after
+ X-Oauth-Scopes:
+ - identify,read,post,client,apps
+ X-Accepted-Oauth-Scopes:
+ - channels:read,groups:read,mpim:read,im:read,read
+ Expires:
+ - Mon, 26 Jul 1997 05:00:00 GMT
+ Cache-Control:
+ - private, no-cache, no-store, must-revalidate
+ Pragma:
+ - no-cache
+ X-Xss-Protection:
+ - '0'
+ X-Content-Type-Options:
+ - nosniff
+ X-Slack-Req-Id:
+ - a7d2a125585a8314bc3ea01b030e7bea
+ Vary:
+ - Accept-Encoding
+ Content-Length:
+ - '2876'
Content-Type:
- application/json; charset=utf-8
+ X-Envoy-Upstream-Service-Time:
+ - '37'
+ X-Backend:
+ - main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow
+ main_control_with_overflow main_bedrock_control_with_overflow
+ X-Server:
+ - slack-www-hhvm-main-iad-udgm
+ X-Slack-Shared-Secret-Outcome:
+ - no-match
+ Via:
+ - envoy-www-iad-c6gk, envoy-edge-iad-u3z8
+ X-Edge-Backend:
+ - envoy-www
+ X-Slack-Edge-Shared-Secret-Outcome:
+ - no-match
body:
- encoding: ASCII-8BIT
+ encoding: UTF-8
string: '{"ok":true,"channels":[{"id":"G0K7EV5A7","name":"mpdm-dblock--rubybot--player1-1","is_group":true,"created":1453561861,"creator":"U04KB5WQR","is_archived":false,"is_mpim":true,"members":["U04KB5WQR","U0HLFUZLJ","U07518DTL"],"topic":{"value":"Group
messaging","creator":"U04KB5WQR","last_set":1453561861},"purpose":{"value":"Group
messaging with: @dblock @rubybot @player1","creator":"U04KB5WQR","last_set":1453561861}}]}'
- http_version:
- recorded_at: Sat, 23 Jan 2016 15:19:10 GMT
+ recorded_at: Sat, 19 Jan 2019 21:25:48 GMT
- request:
method: post
uri: https://slack.com/api/conversations.info
body:
encoding: UTF-8
- string: channel=G0K7EV5A7&token=token
+ string: channel=G0K7EV5A7
+ headers:
+ Accept:
+ - application/json; charset=utf-8
+ User-Agent:
+ - Slack Ruby Client/0.18.0
+ Authorization:
+ - Bearer <SLACK_API_TOKEN>
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept-Encoding:
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
response:
status:
code: 200
message: OK
headers:
+ Date:
+ - Sat, 04 Dec 2021 20:13:19 GMT
+ Server:
+ - Apache
+ Access-Control-Allow-Origin:
+ - "*"
+ Referrer-Policy:
+ - no-referrer
+ X-Slack-Backend:
+ - r
+ Strict-Transport-Security:
+ - max-age=31536000; includeSubDomains; preload
+ Access-Control-Allow-Headers:
+ - slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid,
+ x-b3-sampled, x-b3-flags
+ Access-Control-Expose-Headers:
+ - x-slack-req-id, retry-after
+ X-Oauth-Scopes:
+ - identify,read,post,client,apps
+ X-Accepted-Oauth-Scopes:
+ - channels:read,groups:read,mpim:read,im:read,read
+ Expires:
+ - Mon, 26 Jul 1997 05:00:00 GMT
+ Cache-Control:
+ - private, no-cache, no-store, must-revalidate
+ Pragma:
+ - no-cache
+ X-Xss-Protection:
+ - '0'
+ X-Content-Type-Options:
+ - nosniff
+ X-Slack-Req-Id:
+ - 49648bce1e0db728c12429c53dafc281
+ Vary:
+ - Accept-Encoding
+ Content-Length:
+ - '1409'
Content-Type:
- application/json; charset=utf-8
+ X-Envoy-Upstream-Service-Time:
+ - '54'
+ X-Backend:
+ - main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow
+ main_control_with_overflow main_bedrock_control_with_overflow
+ X-Server:
+ - slack-www-hhvm-main-iad-i469
+ X-Slack-Shared-Secret-Outcome:
+ - no-match
+ Via:
+ - envoy-www-iad-1pnu, envoy-edge-iad-pbh1
+ X-Edge-Backend:
+ - envoy-www
+ X-Slack-Edge-Shared-Secret-Outcome:
+ - no-match
body:
- encoding: ASCII-8BIT
+ encoding: UTF-8
string: '{"ok":true,"channel":{"id":"G0K7EV5A7","name":"mpdm-dblock--rubybot--player1-1","is_group":true,"created":1453561861,"creator":"U04KB5WQR","is_archived":false,"is_mpim":true,"is_open":false,"last_read":"0000000000.000000","latest":null,"unread_count":0,"unread_count_display":0,"members":["U04KB5WQR","U0HLFUZLJ","U07518DTL"],"topic":{"value":"Group
messaging","creator":"U04KB5WQR","last_set":1453561861},"purpose":{"value":"Group
messaging with: @dblock @rubybot @player1","creator":"U04KB5WQR","last_set":1453561861}}}'
- http_version:
- recorded_at: Sat, 23 Jan 2016 15:19:46 GMT
-recorded_with: VCR 3.0.0
+ recorded_at: Sat, 19 Jan 2019 21:25:48 GMT
+recorded_with: VCR 6.0.0