tableau_rest_api 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +8 -0
  3. data/Guardfile +21 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +103 -0
  6. data/Rakefile +10 -0
  7. data/bin/console +14 -0
  8. data/bin/setup +8 -0
  9. data/fixtures/vcr_cassettes/add_user.yml +223 -0
  10. data/fixtures/vcr_cassettes/add_user_to_group.yml +451 -0
  11. data/fixtures/vcr_cassettes/add_user_to_group_through_site.yml +451 -0
  12. data/fixtures/vcr_cassettes/create_group.yml +224 -0
  13. data/fixtures/vcr_cassettes/create_group_through_site.yml +224 -0
  14. data/fixtures/vcr_cassettes/datasources.yml +234 -0
  15. data/fixtures/vcr_cassettes/datasources_through_site.yml +234 -0
  16. data/fixtures/vcr_cassettes/delete_datasource.yml +334 -0
  17. data/fixtures/vcr_cassettes/delete_group.yml +328 -0
  18. data/fixtures/vcr_cassettes/delete_group_through_site.yml +329 -0
  19. data/fixtures/vcr_cassettes/delete_schedule.yml +276 -0
  20. data/fixtures/vcr_cassettes/delete_site.yml +214 -0
  21. data/fixtures/vcr_cassettes/delete_subscription.yml +329 -0
  22. data/fixtures/vcr_cassettes/delete_workbook.yml +350 -0
  23. data/fixtures/vcr_cassettes/get_datasource.yml +673 -0
  24. data/fixtures/vcr_cassettes/get_workbook.yml +15044 -0
  25. data/fixtures/vcr_cassettes/groups.yml +229 -0
  26. data/fixtures/vcr_cassettes/groups_through_site.yml +230 -0
  27. data/fixtures/vcr_cassettes/projects_through_site.yml +230 -0
  28. data/fixtures/vcr_cassettes/query_workbooks.yml +250 -0
  29. data/fixtures/vcr_cassettes/remove_user_from_group_through_site.yml +440 -0
  30. data/fixtures/vcr_cassettes/remove_user_from_site_through_site.yml +329 -0
  31. data/fixtures/vcr_cassettes/schedules.yml +115 -0
  32. data/fixtures/vcr_cassettes/server_info.yml +53 -0
  33. data/fixtures/vcr_cassettes/signin.yml +57 -0
  34. data/fixtures/vcr_cassettes/signout.yml +102 -0
  35. data/fixtures/vcr_cassettes/sites.yml +118 -0
  36. data/fixtures/vcr_cassettes/subscriptions.yml +226 -0
  37. data/fixtures/vcr_cassettes/switch_site.yml +113 -0
  38. data/fixtures/vcr_cassettes/update_group_through_site.yml +343 -0
  39. data/fixtures/vcr_cassettes/update_user_through_site.yml +333 -0
  40. data/fixtures/vcr_cassettes/users_in_group.yml +339 -0
  41. data/fixtures/vcr_cassettes/users_on_site.yml +230 -0
  42. data/fixtures/vcr_cassettes/users_through_site.yml +230 -0
  43. data/fixtures/vcr_cassettes/workbooks_through_site.yml +250 -0
  44. data/lib/tableau_rest_api.rb +32 -0
  45. data/lib/tableau_rest_api/api_error.rb +7 -0
  46. data/lib/tableau_rest_api/area/schedule_subscription.rb +41 -0
  47. data/lib/tableau_rest_api/area/user_group.rb +72 -0
  48. data/lib/tableau_rest_api/area/workbook_datasource.rb +87 -0
  49. data/lib/tableau_rest_api/client.rb +65 -0
  50. data/lib/tableau_rest_api/helpers/helpers.rb +9 -0
  51. data/lib/tableau_rest_api/resource.rb +42 -0
  52. data/lib/tableau_rest_api/resources/base.rb +24 -0
  53. data/lib/tableau_rest_api/resources/datasource.rb +12 -0
  54. data/lib/tableau_rest_api/resources/group.rb +10 -0
  55. data/lib/tableau_rest_api/resources/project.rb +12 -0
  56. data/lib/tableau_rest_api/resources/schedule.rb +12 -0
  57. data/lib/tableau_rest_api/resources/server.rb +12 -0
  58. data/lib/tableau_rest_api/resources/site.rb +68 -0
  59. data/lib/tableau_rest_api/resources/subscription.rb +10 -0
  60. data/lib/tableau_rest_api/resources/user.rb +12 -0
  61. data/lib/tableau_rest_api/resources/workbook.rb +12 -0
  62. data/lib/tableau_rest_api/util/config.rb +22 -0
  63. data/lib/tableau_rest_api/util/response.rb +11 -0
  64. data/lib/tableau_rest_api/util/token.rb +16 -0
  65. data/lib/tableau_rest_api/util/upload.rb +29 -0
  66. data/lib/tableau_rest_api/version.rb +3 -0
  67. data/tableau_rest_api.gemspec +33 -0
  68. metadata +222 -0
@@ -0,0 +1,226 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://tableau.lvh.me/api/2.6/auth/signin
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"credentials":{"name":"<TABLEAU_USERNAME>","password":"<TABLEAU_PASSWORD>","site":{"contentUrl":""}}}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
16
+ Content-Type:
17
+ - application/json
18
+ Content-Length:
19
+ - '94'
20
+ Host:
21
+ - tableau.lvh.me
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Mon, 26 Jun 2017 10:50:11 GMT
29
+ Server:
30
+ - Tableau
31
+ Content-Type:
32
+ - application/json;charset=utf-8
33
+ Vary:
34
+ - Accept-Encoding
35
+ Content-Encoding:
36
+ - gzip
37
+ P3p:
38
+ - CP="NON"
39
+ X-Ua-Compatible:
40
+ - IE=Edge
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Xss-Protection:
44
+ - 1; mode=block
45
+ Content-Length:
46
+ - '191'
47
+ body:
48
+ encoding: ASCII-8BIT
49
+ string: !binary |-
50
+ H4sIAAAAAAAAAz2MywrCMBAA/2XPBrJJNY03iyIoaKVYvTbJBoohpQ9R1P67
51
+ 9eJpLjPzBtuRozjUVehh+Ya+HujH2sESsELu50YzLrRhiaSEVQvBmVLS4UJz
52
+ KVMLM7BNHKbFuQtTA+MM7j11/4kwiFoLzZz0c5Z4nrJKW2SCc0uJ9Eql5hcN
53
+ zY3i5IfNszSeiiI7nvbda6VQlqvH53DFa76V6zaGzOzc5ekwz0vB6bKNoWhz
54
+ GMcvjf8i6M0AAAA=
55
+ http_version:
56
+ recorded_at: Mon, 26 Jun 2017 10:50:14 GMT
57
+ - request:
58
+ method: get
59
+ uri: https://tableau.lvh.me/api/2.6/sites
60
+ body:
61
+ encoding: US-ASCII
62
+ string: ''
63
+ headers:
64
+ Accept:
65
+ - application/json
66
+ Accept-Encoding:
67
+ - gzip, deflate
68
+ User-Agent:
69
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
70
+ Content-Type:
71
+ - application/json
72
+ X-Tableau-Auth:
73
+ - lExVbfeSSBOQKrzA713VAw|NX1XPG3DqnlBbJdWxd1PPV20eWGnlSqP
74
+ Host:
75
+ - tableau.lvh.me
76
+ response:
77
+ status:
78
+ code: 200
79
+ message: OK
80
+ headers:
81
+ Date:
82
+ - Mon, 26 Jun 2017 10:50:11 GMT
83
+ Server:
84
+ - Tableau
85
+ Content-Type:
86
+ - application/json;charset=utf-8
87
+ Vary:
88
+ - Accept-Encoding
89
+ Content-Encoding:
90
+ - gzip
91
+ P3p:
92
+ - CP="NON"
93
+ X-Ua-Compatible:
94
+ - IE=Edge
95
+ X-Content-Type-Options:
96
+ - nosniff
97
+ X-Xss-Protection:
98
+ - 1; mode=block
99
+ Content-Length:
100
+ - '521'
101
+ body:
102
+ encoding: ASCII-8BIT
103
+ string: !binary |-
104
+ H4sIAAAAAAAAA92VS2sbMRDHv0rYcwb0Wj1yM22hhz4OaeihlKDHyBHY67CS
105
+ A23wd++oCZjY8SmH4t52/n/NSPoxo30c7v2yTL6VzTRcPfYIv2zXAefhauDD
106
+ 5V/huvzGHjJGQts0v1o8+LLyYdVlO+wuh1oa1l6gfwxXPx6HknqK5yyPwQET
107
+ LoCSqMBrwcAYmbh2TEobqebk173Se8x+u2okxM3UcGo384pkin1al+nzJvVV
108
+ 7568xZRuKs6V3Np833RYxFYekIQZH0qlG30stW3mXx+mflQ6T5u3uHc/lXVp
109
+ lCbGXmMbapxLwK/tjqoepCy3WNsiRqx7J/tVJSv6eIff/bze3r9I2l0+M7DC
110
+ SAzKgDZRgRrFCJ55A6OMiRtnMaPZM/hGG10TQ3FIwXv/T0E8X/ctJLSVNqGK
111
+ gFlJUMEKcIxZUFp6HS1qpdUxCXlIgjqt1WdEZ82D5ei1zQo4z5k6w3CaDgqF
112
+ cNl46WhoXuGhT/HQ584jcO6iiCPEmCIoZyUElT1oDCJIF6RIYc9jcdGJlGl5
113
+ 0akcjctte3Jv65N71mTYGJNmHIFj0tQp0kCI0oIMMmiT2IjcveyUV6F0JP8J
114
+ D0QntQMv6GGlHtH0khgEpmLOIotAP5ljHqdwnDuNFBTnnJ7UrCwDpZwGO6oR
115
+ Riu7TkOF+YjGCRjnyuLnbvcHHjntMMwIAAA=
116
+ http_version:
117
+ recorded_at: Mon, 26 Jun 2017 10:50:15 GMT
118
+ - request:
119
+ method: post
120
+ uri: https://tableau.lvh.me/api/2.6/auth/signin
121
+ body:
122
+ encoding: UTF-8
123
+ string: '{"credentials":{"name":"<TABLEAU_USERNAME>","password":"<TABLEAU_PASSWORD>","site":{"contentUrl":""}}}'
124
+ headers:
125
+ Accept:
126
+ - application/json
127
+ Accept-Encoding:
128
+ - gzip, deflate
129
+ User-Agent:
130
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
131
+ Content-Type:
132
+ - application/json
133
+ X-Tableau-Auth:
134
+ - lExVbfeSSBOQKrzA713VAw|NX1XPG3DqnlBbJdWxd1PPV20eWGnlSqP
135
+ Content-Length:
136
+ - '94'
137
+ Host:
138
+ - tableau.lvh.me
139
+ response:
140
+ status:
141
+ code: 200
142
+ message: OK
143
+ headers:
144
+ Date:
145
+ - Mon, 26 Jun 2017 10:50:12 GMT
146
+ Server:
147
+ - Tableau
148
+ Content-Type:
149
+ - application/json;charset=utf-8
150
+ Vary:
151
+ - Accept-Encoding
152
+ Content-Encoding:
153
+ - gzip
154
+ P3p:
155
+ - CP="NON"
156
+ X-Ua-Compatible:
157
+ - IE=Edge
158
+ X-Content-Type-Options:
159
+ - nosniff
160
+ X-Xss-Protection:
161
+ - 1; mode=block
162
+ Content-Length:
163
+ - '191'
164
+ body:
165
+ encoding: ASCII-8BIT
166
+ string: !binary |-
167
+ H4sIAAAAAAAAAz2MuQ6CQBQA/+XVvmQvWNZWkWisjBi1gz0UNZyLxoN/Fxur
168
+ aWbmDbq1xpa+yG4dTN/QFd7+WBiYAs0ocUGukDCVo+BWYBYyglJyQ0NFOI80
169
+ TEBXpR8XaXsbGxgm0He2/U9YTqlSTKHhLkDhSISZ0hQZIdoK7qSM8l/kq6st
170
+ R/9i+lTf17PNK9k3dX0/P5e4fHyqVrAdTYqTjKMtt3HfrNx+cdyFh3Cb+tcc
171
+ huELV0MkWc0AAAA=
172
+ http_version:
173
+ recorded_at: Mon, 26 Jun 2017 10:50:15 GMT
174
+ - request:
175
+ method: get
176
+ uri: https://tableau.lvh.me/api/2.6/sites/1a10f5b9-029b-43e4-a620-773d1690338c/subscriptions
177
+ body:
178
+ encoding: US-ASCII
179
+ string: ''
180
+ headers:
181
+ Accept:
182
+ - application/json
183
+ Accept-Encoding:
184
+ - gzip, deflate
185
+ User-Agent:
186
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
187
+ Content-Type:
188
+ - application/json
189
+ X-Tableau-Auth:
190
+ - jduUcvLCRzGXqppvhyI-Iw|or42V1Gig7E8T3eEuqJfXFZV6Y6TUtzD
191
+ Host:
192
+ - tableau.lvh.me
193
+ response:
194
+ status:
195
+ code: 200
196
+ message: OK
197
+ headers:
198
+ Date:
199
+ - Mon, 26 Jun 2017 10:50:12 GMT
200
+ Server:
201
+ - Tableau
202
+ Content-Type:
203
+ - application/json;charset=utf-8
204
+ Vary:
205
+ - Accept-Encoding
206
+ Content-Encoding:
207
+ - gzip
208
+ P3p:
209
+ - CP="NON"
210
+ X-Ua-Compatible:
211
+ - IE=Edge
212
+ X-Content-Type-Options:
213
+ - nosniff
214
+ X-Xss-Protection:
215
+ - 1; mode=block
216
+ Content-Length:
217
+ - '96'
218
+ body:
219
+ encoding: ASCII-8BIT
220
+ string: !binary |-
221
+ H4sIAAAAAAAAA6tWKkhMz8xLLMnMz1OyqgbxUv1Kc5NSi5SslAyVdMACwZlV
222
+ qSCugQFQoCS/JDHHsSwxMycxKQckbKBUq6NUXJpUnFyUWQAypxhoUG0tAMru
223
+ EJFaAAAA
224
+ http_version:
225
+ recorded_at: Mon, 26 Jun 2017 10:50:15 GMT
226
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,113 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://tableau.lvh.me/api/2.6/auth/signin
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"credentials":{"name":"<TABLEAU_USERNAME>","password":"<TABLEAU_PASSWORD>","site":{"contentUrl":""}}}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
16
+ Content-Type:
17
+ - application/json
18
+ Content-Length:
19
+ - '94'
20
+ Host:
21
+ - tableau.lvh.me
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Mon, 26 Jun 2017 11:23:30 GMT
29
+ Server:
30
+ - Tableau
31
+ Content-Type:
32
+ - application/json;charset=utf-8
33
+ Vary:
34
+ - Accept-Encoding
35
+ Content-Encoding:
36
+ - gzip
37
+ P3p:
38
+ - CP="NON"
39
+ X-Ua-Compatible:
40
+ - IE=Edge
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Xss-Protection:
44
+ - 1; mode=block
45
+ Content-Length:
46
+ - '192'
47
+ body:
48
+ encoding: ASCII-8BIT
49
+ string: !binary |-
50
+ H4sIAAAAAAAAAz2MvQ6CMBgA3+WbadI/KGXTRI0xJkii0ZGW1vBjMRQcQN5d
51
+ WJxuubsJdGcK4/oybzwkE/iyNyvLAhIgOcE2VBJhKhXizHCURxQjIVhBIokZ
52
+ izUEoFvXL4tr1ywNzAEM3nT/CVWESEklKpgNEbc4RrnUBFGMteHMChGrNerb
53
+ 2rjFP+6zR+nf9WVHu92jPbh6H5nn9yTT1HIneOat2g6bcazIqzpH9eZ+Y+kH
54
+ wzz/AHCsagfNAAAA
55
+ http_version:
56
+ recorded_at: Mon, 26 Jun 2017 11:23:33 GMT
57
+ - request:
58
+ method: post
59
+ uri: https://tableau.lvh.me/api/2.6/auth/switchSite
60
+ body:
61
+ encoding: UTF-8
62
+ string: '{"site":{"contentUrl":"test_si"}}'
63
+ headers:
64
+ Accept:
65
+ - application/json
66
+ Accept-Encoding:
67
+ - gzip, deflate
68
+ User-Agent:
69
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
70
+ Content-Type:
71
+ - application/json
72
+ X-Tableau-Auth:
73
+ - IFRYispkQE2rEYoGnkF6eg|K9PPf4n74RsfbBuAzzj1mjM6kAXV3Pv0
74
+ Content-Length:
75
+ - '33'
76
+ Host:
77
+ - tableau.lvh.me
78
+ response:
79
+ status:
80
+ code: 200
81
+ message: OK
82
+ headers:
83
+ Date:
84
+ - Mon, 26 Jun 2017 11:23:30 GMT
85
+ Server:
86
+ - Tableau
87
+ Content-Type:
88
+ - application/json;charset=utf-8
89
+ Vary:
90
+ - Accept-Encoding
91
+ Content-Encoding:
92
+ - gzip
93
+ P3p:
94
+ - CP="NON"
95
+ X-Ua-Compatible:
96
+ - IE=Edge
97
+ X-Content-Type-Options:
98
+ - nosniff
99
+ X-Xss-Protection:
100
+ - 1; mode=block
101
+ Content-Length:
102
+ - '197'
103
+ body:
104
+ encoding: ASCII-8BIT
105
+ string: !binary |-
106
+ H4sIAAAAAAAAAz2Myw6CMBQF/+WubWJpi9SlEmM04kKQpSnlVonIqzVGkX8X
107
+ Nq5OMjkzPegOc6xcoUoLyx5s4XDaIocl5BmnlHJGDA/mhHPpk0BwQUTAJk6l
108
+ RgMz0HXlxkTSlaPj0LqLLWCYwdNi92+hNJkJPEmmKOESDVHUKGIU0zrztM/R
109
+ nyRX37Ea/09Gzzuv2cfHNty9knc6f0fy+r3J5Jwy+1lEjSpf+8cpEut424pw
110
+ lR6uG1PDMPwAQLJPntQAAAA=
111
+ http_version:
112
+ recorded_at: Mon, 26 Jun 2017 11:23:33 GMT
113
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,343 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://tableau.lvh.me/api/2.6/auth/signin
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"credentials":{"name":"<TABLEAU_USERNAME>","password":"<TABLEAU_PASSWORD>","site":{"contentUrl":""}}}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
16
+ Content-Type:
17
+ - application/json
18
+ Content-Length:
19
+ - '94'
20
+ Host:
21
+ - tableau.lvh.me
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Mon, 26 Jun 2017 10:50:27 GMT
29
+ Server:
30
+ - Tableau
31
+ Content-Type:
32
+ - application/json;charset=utf-8
33
+ Vary:
34
+ - Accept-Encoding
35
+ Content-Encoding:
36
+ - gzip
37
+ P3p:
38
+ - CP="NON"
39
+ X-Ua-Compatible:
40
+ - IE=Edge
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Xss-Protection:
44
+ - 1; mode=block
45
+ Content-Length:
46
+ - '192'
47
+ body:
48
+ encoding: ASCII-8BIT
49
+ string: !binary |-
50
+ H4sIAAAAAAAAAz2MvQ6CMBgA3+Wb+ZL+AKVsDkYcUDBx0K20RRsVFKoYlXcX
51
+ F6db7u4NurPGNt6pcw/pG3rn7Y/OQApUUVJHlUTCZIUhtyGqmBEUghsaS8J5
52
+ oiEA3TZ+Wmy789TAGMC9t91/wipKpWQSDa8jDGuSoJKaIiNE25DXQiTVL/Lt
53
+ yTaTH+uLXz2H5eaK2PJHNs9zlZUfV5rytthnL8n74zMeikVxcptovROaFIfl
54
+ DMbxC7H8xBHNAAAA
55
+ http_version:
56
+ recorded_at: Mon, 26 Jun 2017 10:50:31 GMT
57
+ - request:
58
+ method: get
59
+ uri: https://tableau.lvh.me/api/2.6/sites
60
+ body:
61
+ encoding: US-ASCII
62
+ string: ''
63
+ headers:
64
+ Accept:
65
+ - application/json
66
+ Accept-Encoding:
67
+ - gzip, deflate
68
+ User-Agent:
69
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
70
+ Content-Type:
71
+ - application/json
72
+ X-Tableau-Auth:
73
+ - 6cmtNxwIRp--o3vHEMMaHQ|iQdQqGZHz93shx6wPGPkiR5OY7c0PgIA
74
+ Host:
75
+ - tableau.lvh.me
76
+ response:
77
+ status:
78
+ code: 200
79
+ message: OK
80
+ headers:
81
+ Date:
82
+ - Mon, 26 Jun 2017 10:50:27 GMT
83
+ Server:
84
+ - Tableau
85
+ Content-Type:
86
+ - application/json;charset=utf-8
87
+ Vary:
88
+ - Accept-Encoding
89
+ Content-Encoding:
90
+ - gzip
91
+ P3p:
92
+ - CP="NON"
93
+ X-Ua-Compatible:
94
+ - IE=Edge
95
+ X-Content-Type-Options:
96
+ - nosniff
97
+ X-Xss-Protection:
98
+ - 1; mode=block
99
+ Content-Length:
100
+ - '521'
101
+ body:
102
+ encoding: ASCII-8BIT
103
+ string: !binary |-
104
+ H4sIAAAAAAAAA92VS2sbMRDHv0rYcwb0Wj1yM22hhz4OaeihlKDHyBHY67CS
105
+ A23wd++oCZjY8SmH4t52/n/NSPoxo30c7v2yTL6VzTRcPfYIv2zXAefhauDD
106
+ 5V/huvzGHjJGQts0v1o8+LLyYdVlO+wuh1oa1l6gfwxXPx6HknqK5yyPwQET
107
+ LoCSqMBrwcAYmbh2TEobqebk173Se8x+u2okxM3UcGo384pkin1al+nzJvVV
108
+ 7568xZRuKs6V3Np833RYxFYekIQZH0qlG30stW3mXx+mflQ6T5u3uHc/lXVp
109
+ lCbGXmMbapxLwK/tjqoepCy3WNsiRqx7J/tVJSv6eIff/bze3r9I2l0+M7DC
110
+ SAzKgDZRgRrFCJ55A6OMiRtnMaPZM/hGG10TQ3FIwXv/T0E8X/ctJLSVNqGK
111
+ gFlJUMEKcIxZUFp6HS1qpdUxCXlIgjqt1WdEZ82D5ei1zQo4z5k6w3CaDgqF
112
+ cNl46WhoXuGhT/HQ584jcO6iiCPEmCIoZyUElT1oDCJIF6RIYc9jcdGJlGl5
113
+ 0akcjctte3Jv65N71mTYGJNmHIFj0tQp0kCI0oIMMmiT2IjcveyUV6F0JP8J
114
+ D0QntQMv6GGlHtH0khgEpmLOIotAP5ljHqdwnDuNFBTnnJ7UrCwDpZwGO6oR
115
+ Riu7TkOF+YjGCRjnyuLnbvcHHjntMMwIAAA=
116
+ http_version:
117
+ recorded_at: Mon, 26 Jun 2017 10:50:31 GMT
118
+ - request:
119
+ method: post
120
+ uri: https://tableau.lvh.me/api/2.6/auth/signin
121
+ body:
122
+ encoding: UTF-8
123
+ string: '{"credentials":{"name":"<TABLEAU_USERNAME>","password":"<TABLEAU_PASSWORD>","site":{"contentUrl":""}}}'
124
+ headers:
125
+ Accept:
126
+ - application/json
127
+ Accept-Encoding:
128
+ - gzip, deflate
129
+ User-Agent:
130
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
131
+ Content-Type:
132
+ - application/json
133
+ X-Tableau-Auth:
134
+ - 6cmtNxwIRp--o3vHEMMaHQ|iQdQqGZHz93shx6wPGPkiR5OY7c0PgIA
135
+ Content-Length:
136
+ - '94'
137
+ Host:
138
+ - tableau.lvh.me
139
+ response:
140
+ status:
141
+ code: 200
142
+ message: OK
143
+ headers:
144
+ Date:
145
+ - Mon, 26 Jun 2017 10:50:28 GMT
146
+ Server:
147
+ - Tableau
148
+ Content-Type:
149
+ - application/json;charset=utf-8
150
+ Vary:
151
+ - Accept-Encoding
152
+ Content-Encoding:
153
+ - gzip
154
+ P3p:
155
+ - CP="NON"
156
+ X-Ua-Compatible:
157
+ - IE=Edge
158
+ X-Content-Type-Options:
159
+ - nosniff
160
+ X-Xss-Protection:
161
+ - 1; mode=block
162
+ Content-Length:
163
+ - '193'
164
+ body:
165
+ encoding: ASCII-8BIT
166
+ string: !binary |-
167
+ H4sIAAAAAAAAAz3MsQ6CMBSF4Xe5s03a3kKpq9FERWOCGFdaWoMgJKUGDPru
168
+ 4uJ0lvN/ExhvS9uGqmh6WE7QV8H+tiphCaxg1EVaEcqVJgKtIEXMKZESSxYr
169
+ ipgYWIDp2jATuW/mBj4LePbW/xGuGVOKK1Kii4hwNCGFMoxwSo0V6KRM9C8K
170
+ XW3b+b8STZWftnWWxnjoxod2WXq+vS+3hj3SMNxx2I24Gb3ZH7PXeMjX+7u4
171
+ 5jPx+QLlFQHazQAAAA==
172
+ http_version:
173
+ recorded_at: Mon, 26 Jun 2017 10:50:31 GMT
174
+ - request:
175
+ method: get
176
+ uri: https://tableau.lvh.me/api/2.6/sites/1a10f5b9-029b-43e4-a620-773d1690338c/groups
177
+ body:
178
+ encoding: US-ASCII
179
+ string: ''
180
+ headers:
181
+ Accept:
182
+ - application/json
183
+ Accept-Encoding:
184
+ - gzip, deflate
185
+ User-Agent:
186
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
187
+ Content-Type:
188
+ - application/json
189
+ X-Tableau-Auth:
190
+ - C4liUPIkSL63MoxmbfSLTg|Vgl1mLtwj3wJx3FxrcKNSyxMUEKj4XUb
191
+ Host:
192
+ - tableau.lvh.me
193
+ response:
194
+ status:
195
+ code: 200
196
+ message: OK
197
+ headers:
198
+ Date:
199
+ - Mon, 26 Jun 2017 10:50:28 GMT
200
+ Server:
201
+ - Tableau
202
+ Content-Type:
203
+ - application/json;charset=utf-8
204
+ Vary:
205
+ - Accept-Encoding
206
+ Content-Encoding:
207
+ - gzip
208
+ P3p:
209
+ - CP="NON"
210
+ X-Ua-Compatible:
211
+ - IE=Edge
212
+ X-Content-Type-Options:
213
+ - nosniff
214
+ X-Xss-Protection:
215
+ - 1; mode=block
216
+ Content-Length:
217
+ - '274'
218
+ body:
219
+ encoding: ASCII-8BIT
220
+ string: !binary |-
221
+ H4sIAAAAAAAAA42PPW/DIBCG/4rFnJPgwICzZWm3Dv2Yqg6HwRYStiPb6VDL
222
+ /73GTdVszXbvq+N5joWdqY09zXHo2XHJKTxdOhdGdmSCHfbiJX6FHDnfinmY
223
+ KZ0+KSZyKdeKrQfWjsPlPGXCPrHj+8L80FHcqT11eTMNNaW8Hf2WXCNrSZqg
224
+ bmwJSggNlnMNAlXQBrXW3m2+69tT8ZjBxcMwFq9hmmPfbqR/JRZ105A0gI3V
225
+ oKTyUFmXJcgFSmk5iVvJFf0ju0cgHa/RlxxUJWsQImggjQjUBFMZQ9IivxGk
226
+ VLxNYZzuQZe189ZUAdAKBGWrjWqCBSy3H9jAFYnyD/0c8uB/L/9Y1298K2vj
227
+ 3AEAAA==
228
+ http_version:
229
+ recorded_at: Mon, 26 Jun 2017 10:50:31 GMT
230
+ - request:
231
+ method: post
232
+ uri: https://tableau.lvh.me/api/2.6/auth/signin
233
+ body:
234
+ encoding: UTF-8
235
+ string: '{"credentials":{"name":"<TABLEAU_USERNAME>","password":"<TABLEAU_PASSWORD>","site":{"contentUrl":""}}}'
236
+ headers:
237
+ Accept:
238
+ - application/json
239
+ Accept-Encoding:
240
+ - gzip, deflate
241
+ User-Agent:
242
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
243
+ Content-Type:
244
+ - application/json
245
+ X-Tableau-Auth:
246
+ - C4liUPIkSL63MoxmbfSLTg|Vgl1mLtwj3wJx3FxrcKNSyxMUEKj4XUb
247
+ Content-Length:
248
+ - '94'
249
+ Host:
250
+ - tableau.lvh.me
251
+ response:
252
+ status:
253
+ code: 200
254
+ message: OK
255
+ headers:
256
+ Date:
257
+ - Mon, 26 Jun 2017 10:50:28 GMT
258
+ Server:
259
+ - Tableau
260
+ Content-Type:
261
+ - application/json;charset=utf-8
262
+ Vary:
263
+ - Accept-Encoding
264
+ Content-Encoding:
265
+ - gzip
266
+ P3p:
267
+ - CP="NON"
268
+ X-Ua-Compatible:
269
+ - IE=Edge
270
+ X-Content-Type-Options:
271
+ - nosniff
272
+ X-Xss-Protection:
273
+ - 1; mode=block
274
+ Content-Length:
275
+ - '192'
276
+ body:
277
+ encoding: ASCII-8BIT
278
+ string: !binary |-
279
+ H4sIAAAAAAAAAz2MsQ6CMBQA/+XNvuS1xUIZNRgTZZCIUTZaSiRgSQoGE+Xf
280
+ xcXplrt7g/G2sm5sym6A+A1DM9ofmwpiYCWjeq0VElcaA2EDLCUnDENRMalI
281
+ iMjACkzvxmWR+25pYF7Bc7D+P+GaMaW4wkrUawxqirBUhiEnMjYQdRhG+heN
282
+ fWvd4qfJqe3k85WlOE2uuKe7g25Pn9TTZXPL9nfXP/JuW8izk8k1kUMe+eOO
283
+ PMzzF6MPk3bNAAAA
284
+ http_version:
285
+ recorded_at: Mon, 26 Jun 2017 10:50:32 GMT
286
+ - request:
287
+ method: put
288
+ uri: https://tableau.lvh.me/api/2.6/sites/1a10f5b9-029b-43e4-a620-773d1690338c/groups/5cbd879e-2812-4892-a7e8-258b68e04a15
289
+ body:
290
+ encoding: UTF-8
291
+ string: '{"group":{"id":"5cbd879e-2812-4892-a7e8-258b68e04a15","name":"Renamed
292
+ Group"}}'
293
+ headers:
294
+ Accept:
295
+ - application/json
296
+ Accept-Encoding:
297
+ - gzip, deflate
298
+ User-Agent:
299
+ - rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
300
+ Content-Type:
301
+ - application/json
302
+ X-Tableau-Auth:
303
+ - MEQkl6uxRM-wwnZhMFKbkQ|Mr0VBYRHhnomUlCZ6Tn6EXE6sU8rLF0r
304
+ Content-Length:
305
+ - '78'
306
+ Host:
307
+ - tableau.lvh.me
308
+ response:
309
+ status:
310
+ code: 200
311
+ message: OK
312
+ headers:
313
+ Date:
314
+ - Mon, 26 Jun 2017 10:50:28 GMT
315
+ Server:
316
+ - Tableau
317
+ Location:
318
+ - "/api/2.6/sites/1a10f5b9-029b-43e4-a620-773d1690338c/groups/5cbd879e-2812-4892-a7e8-258b68e04a15"
319
+ Content-Type:
320
+ - application/json;charset=utf-8
321
+ Vary:
322
+ - Accept-Encoding
323
+ Content-Encoding:
324
+ - gzip
325
+ P3p:
326
+ - CP="NON"
327
+ X-Ua-Compatible:
328
+ - IE=Edge
329
+ X-Content-Type-Options:
330
+ - nosniff
331
+ X-Xss-Protection:
332
+ - 1; mode=block
333
+ Content-Length:
334
+ - '92'
335
+ body:
336
+ encoding: ASCII-8BIT
337
+ string: !binary |-
338
+ H4sIAAAAAAAAA6tWSi/KLy1QsqpWykxRslIyTU5KsTC3TNU1sjA00jWxsDTS
339
+ TTRPtdA1MrVIMrNINTBJNDRV0lHKS8xNBaoOSgUxUhTcwWbU1gIAi12SXk4A
340
+ AAA=
341
+ http_version:
342
+ recorded_at: Mon, 26 Jun 2017 10:50:32 GMT
343
+ recorded_with: VCR 3.0.3