tableau_rest_api 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +8 -0
- data/Guardfile +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +103 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/fixtures/vcr_cassettes/add_user.yml +223 -0
- data/fixtures/vcr_cassettes/add_user_to_group.yml +451 -0
- data/fixtures/vcr_cassettes/add_user_to_group_through_site.yml +451 -0
- data/fixtures/vcr_cassettes/create_group.yml +224 -0
- data/fixtures/vcr_cassettes/create_group_through_site.yml +224 -0
- data/fixtures/vcr_cassettes/datasources.yml +234 -0
- data/fixtures/vcr_cassettes/datasources_through_site.yml +234 -0
- data/fixtures/vcr_cassettes/delete_datasource.yml +334 -0
- data/fixtures/vcr_cassettes/delete_group.yml +328 -0
- data/fixtures/vcr_cassettes/delete_group_through_site.yml +329 -0
- data/fixtures/vcr_cassettes/delete_schedule.yml +276 -0
- data/fixtures/vcr_cassettes/delete_site.yml +214 -0
- data/fixtures/vcr_cassettes/delete_subscription.yml +329 -0
- data/fixtures/vcr_cassettes/delete_workbook.yml +350 -0
- data/fixtures/vcr_cassettes/get_datasource.yml +673 -0
- data/fixtures/vcr_cassettes/get_workbook.yml +15044 -0
- data/fixtures/vcr_cassettes/groups.yml +229 -0
- data/fixtures/vcr_cassettes/groups_through_site.yml +230 -0
- data/fixtures/vcr_cassettes/projects_through_site.yml +230 -0
- data/fixtures/vcr_cassettes/query_workbooks.yml +250 -0
- data/fixtures/vcr_cassettes/remove_user_from_group_through_site.yml +440 -0
- data/fixtures/vcr_cassettes/remove_user_from_site_through_site.yml +329 -0
- data/fixtures/vcr_cassettes/schedules.yml +115 -0
- data/fixtures/vcr_cassettes/server_info.yml +53 -0
- data/fixtures/vcr_cassettes/signin.yml +57 -0
- data/fixtures/vcr_cassettes/signout.yml +102 -0
- data/fixtures/vcr_cassettes/sites.yml +118 -0
- data/fixtures/vcr_cassettes/subscriptions.yml +226 -0
- data/fixtures/vcr_cassettes/switch_site.yml +113 -0
- data/fixtures/vcr_cassettes/update_group_through_site.yml +343 -0
- data/fixtures/vcr_cassettes/update_user_through_site.yml +333 -0
- data/fixtures/vcr_cassettes/users_in_group.yml +339 -0
- data/fixtures/vcr_cassettes/users_on_site.yml +230 -0
- data/fixtures/vcr_cassettes/users_through_site.yml +230 -0
- data/fixtures/vcr_cassettes/workbooks_through_site.yml +250 -0
- data/lib/tableau_rest_api.rb +32 -0
- data/lib/tableau_rest_api/api_error.rb +7 -0
- data/lib/tableau_rest_api/area/schedule_subscription.rb +41 -0
- data/lib/tableau_rest_api/area/user_group.rb +72 -0
- data/lib/tableau_rest_api/area/workbook_datasource.rb +87 -0
- data/lib/tableau_rest_api/client.rb +65 -0
- data/lib/tableau_rest_api/helpers/helpers.rb +9 -0
- data/lib/tableau_rest_api/resource.rb +42 -0
- data/lib/tableau_rest_api/resources/base.rb +24 -0
- data/lib/tableau_rest_api/resources/datasource.rb +12 -0
- data/lib/tableau_rest_api/resources/group.rb +10 -0
- data/lib/tableau_rest_api/resources/project.rb +12 -0
- data/lib/tableau_rest_api/resources/schedule.rb +12 -0
- data/lib/tableau_rest_api/resources/server.rb +12 -0
- data/lib/tableau_rest_api/resources/site.rb +68 -0
- data/lib/tableau_rest_api/resources/subscription.rb +10 -0
- data/lib/tableau_rest_api/resources/user.rb +12 -0
- data/lib/tableau_rest_api/resources/workbook.rb +12 -0
- data/lib/tableau_rest_api/util/config.rb +22 -0
- data/lib/tableau_rest_api/util/response.rb +11 -0
- data/lib/tableau_rest_api/util/token.rb +16 -0
- data/lib/tableau_rest_api/util/upload.rb +29 -0
- data/lib/tableau_rest_api/version.rb +3 -0
- data/tableau_rest_api.gemspec +33 -0
- metadata +222 -0
@@ -0,0 +1,333 @@
|
|
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:01 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
|
+
H4sIAAAAAAAAAz2MuQ6CQBQA/+XVbLIH16MzFpiQaJTg1e3FEREIYIwH/y40
|
51
|
+
VtPMzAd0b41txkrWA0QfGKrRLqwMRMAko7mnkFCOirjCukT6nJIgEIb5SIUI
|
52
|
+
NTig22acF1lfzw1MDjwG2/8nXDGGyJEYkXvEzWlIJGpGOKXauiIPglAt0dje
|
53
|
+
bDP7xiuOcdlt0+sufXfXWq/68FJ8T3hI8Lwpu30mtV89tVqLexLT1znxYlkY
|
54
|
+
mKYft4UnBc0AAAA=
|
55
|
+
http_version:
|
56
|
+
recorded_at: Mon, 26 Jun 2017 10:50:04 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
|
+
- d5gVGhpNSZOSzpZlcAr8Yg|W9RK9XHhpQUac6iwcbC3mKG0yXK5Gagd
|
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:01 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:04 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
|
+
- d5gVGhpNSZOSzpZlcAr8Yg|W9RK9XHhpQUac6iwcbC3mKG0yXK5Gagd
|
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:01 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
|
+
H4sIAAAAAAAAAz2Muw6CMBRA/+XONrltgVI3wTj4iIFojGPpA4mmRMCgQf5d
|
168
|
+
WJzOcs4ZQDfWWN9V6tHCcoC26uzMysASqKLowkISZLIgAbcBURFDIgQ3NJLI
|
169
|
+
eaxhAbr23bQ4N4+pgXEBr9Y2/wkrKJWSSWK4C0ngMCZKakoYorYBd0LExRx1
|
170
|
+
9d36yS9z8XE7c8sPqcc0zjYl92n2vSW7k3yacnt57zGnfbrqy+a6TlR9TMLo
|
171
|
+
cIdx/AGTUs/2zQAAAA==
|
172
|
+
http_version:
|
173
|
+
recorded_at: Mon, 26 Jun 2017 10:50:04 GMT
|
174
|
+
- request:
|
175
|
+
method: get
|
176
|
+
uri: https://tableau.lvh.me/api/2.6/sites/1a10f5b9-029b-43e4-a620-773d1690338c/users
|
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
|
+
- gR7yfKdhRMCn0C8QFg3nCQ|hBKT9qdgJWxL0R1wCAwgrYDBaoOB56Mk
|
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:01 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
|
+
- '295'
|
218
|
+
body:
|
219
|
+
encoding: ASCII-8BIT
|
220
|
+
string: !binary |-
|
221
|
+
H4sIAAAAAAAAA43OyUpDMRQG4HfJuoGMTXJ3bgRBXFh1objIcKKBO0iS1qH0
|
222
|
+
3U2KUAQLQhbJn8N/vj16sy9ptjUtMxr2/QU328lBRgOiaHUMNukL+pOQFtSl
|
223
|
+
2vFiZ9No3dhjjg4rtC2QSy/oFzQ87VEK7Y85So1hBgceJRaRaGyNp5gR4kHw
|
224
|
+
qJR2rXO2U2+ypcDkxs+WlFThdjn2byDvIF+EKc2p1GzrktvAaEu9Xhq9byFU
|
225
|
+
YbLGbH1HySDJQNhjG4GPCnlu2G19vW+sqy5q2B8bZ2tvJKXYhBCx8NJhTYTD
|
226
|
+
RgmQTkvjvTnZeslv10OCd/ibQo8UNbTD+D8o1AmvAnc4Um2w0FxiY6LBRoLU
|
227
|
+
EaJQMp4olxnCGcqZPc+HwzdFrWQk6QEAAA==
|
228
|
+
http_version:
|
229
|
+
recorded_at: Mon, 26 Jun 2017 10:50:04 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
|
+
- gR7yfKdhRMCn0C8QFg3nCQ|hBKT9qdgJWxL0R1wCAwgrYDBaoOB56Mk
|
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:02 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
|
+
- '195'
|
276
|
+
body:
|
277
|
+
encoding: ASCII-8BIT
|
278
|
+
string: !binary |-
|
279
|
+
H4sIAAAAAAAAAz2MyW7CMBQA/+WdseQt2I8bVQVKWST2qjcvLyUqStTEgBDk
|
280
|
+
3wkXTnOZmTuEhiJVqXSnFkZ3aMtEL5YRRiCc4EXmkXGJnmlFmrmh5MwYFcUQ
|
281
|
+
uVI2wABCXaV+sWtOfQPdAM4tNe+J9EIgSmRRFRnTBbfMYRBMch5Iq8IY619R
|
282
|
+
qv+o6v0WZ3Y9zq8bOz3Twm95bfC4eqR5/nmbHPYTt/y5/H5Vcf/9IY/j6Uz/
|
283
|
+
z6nZInTdE/pcq+DNAAAA
|
284
|
+
http_version:
|
285
|
+
recorded_at: Mon, 26 Jun 2017 10:50:05 GMT
|
286
|
+
- request:
|
287
|
+
method: put
|
288
|
+
uri: https://tableau.lvh.me/api/2.6/sites/1a10f5b9-029b-43e4-a620-773d1690338c/users/1b4c7d3b-f189-4835-99f9-95e58fef475f
|
289
|
+
body:
|
290
|
+
encoding: UTF-8
|
291
|
+
string: '{"user":{"id":"1b4c7d3b-f189-4835-99f9-95e58fef475f","siteRole":"Viewer"}}'
|
292
|
+
headers:
|
293
|
+
Accept:
|
294
|
+
- application/json
|
295
|
+
Accept-Encoding:
|
296
|
+
- gzip, deflate
|
297
|
+
User-Agent:
|
298
|
+
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
|
299
|
+
Content-Type:
|
300
|
+
- application/json
|
301
|
+
X-Tableau-Auth:
|
302
|
+
- s9K8RAIwS8GueMbT0o79hQ|tLIDyFWVFaNZvgJndVXB2hAGK4qLerT9
|
303
|
+
Content-Length:
|
304
|
+
- '74'
|
305
|
+
Host:
|
306
|
+
- tableau.lvh.me
|
307
|
+
response:
|
308
|
+
status:
|
309
|
+
code: 200
|
310
|
+
message: OK
|
311
|
+
headers:
|
312
|
+
Date:
|
313
|
+
- Mon, 26 Jun 2017 10:50:02 GMT
|
314
|
+
Server:
|
315
|
+
- Tableau
|
316
|
+
Content-Type:
|
317
|
+
- application/json;charset=utf-8
|
318
|
+
Content-Length:
|
319
|
+
- '62'
|
320
|
+
P3p:
|
321
|
+
- CP="NON"
|
322
|
+
X-Ua-Compatible:
|
323
|
+
- IE=Edge
|
324
|
+
X-Content-Type-Options:
|
325
|
+
- nosniff
|
326
|
+
X-Xss-Protection:
|
327
|
+
- 1; mode=block
|
328
|
+
body:
|
329
|
+
encoding: UTF-8
|
330
|
+
string: '{"user":{"name":"Fred","fullName":"Fred","siteRole":"Viewer"}}'
|
331
|
+
http_version:
|
332
|
+
recorded_at: Mon, 26 Jun 2017 10:50:05 GMT
|
333
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,339 @@
|
|
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:17:21 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
|
+
H4sIAAAAAAAAAz2MyQrCMBQA/+WdfZCty/MmoiAWXLCKxzRNal2qpi0VtP9u
|
51
|
+
vXiay8y8wXib26op9bWG8RvqsrE/ljmMgWvOXJARMkEZKmkV6lAwjCKZ85CY
|
52
|
+
lLGBEZh71QyL1F+HBvoRtLX1/4nIOCcShLl0ASrHYtRkOArGjFXSRVGc/aLm
|
53
|
+
frHV4HeTdht08/PWPPlae5/usXh1H7otH2ax2p3KZNMmSrGpWrvjXhc+9bPT
|
54
|
+
gaDvv0leqmrNAAAA
|
55
|
+
http_version:
|
56
|
+
recorded_at: Mon, 26 Jun 2017 11:17:24 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
|
+
- wAuR5wFjRcq1ParrUV-gxw|9mKpcIOThiLQuL440C4PfYVagrUrEhW9
|
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 11:17:21 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 11:17:24 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
|
+
- wAuR5wFjRcq1ParrUV-gxw|9mKpcIOThiLQuL440C4PfYVagrUrEhW9
|
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 11:17:21 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
|
+
H4sIAAAAAAAAAz2MuQrCQBQA/+XVPtgr2axdTKFEAxaKYiN7Qsih5FBB8+/G
|
168
|
+
xmqamXmD7bzz7VDquoflG/py8D+WDpZANSUhMgoJUwYF9wJ1zAhKyR2NFeE8
|
169
|
+
sbAAe2uHeXHs6rmBaQFj77v/hBlKlWIKHQ8RikAS1MpSZIRYL3iQMjG/aLhV
|
170
|
+
vp39pihsPOr1IYyb7S7PLhVei/RzPqXpxTTMmWwfZy+bPGTOV313r+rxWQkJ
|
171
|
+
0/QFKb7Cfc0AAAA=
|
172
|
+
http_version:
|
173
|
+
recorded_at: Mon, 26 Jun 2017 11:17:24 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
|
+
- mMMc6uaGTfuHKLJCZk-_MA|XWAAZbm2dbCP6Cxc8v7J3Bsrpkluwk47
|
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 11:17:21 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
|
+
- '246'
|
218
|
+
body:
|
219
|
+
encoding: ASCII-8BIT
|
220
|
+
string: !binary |-
|
221
|
+
H4sIAAAAAAAAA42PO2+EMBCE/wpyfSv5Aba57pqkS5FHFaVY2wuyZPAJuBRB
|
222
|
+
/PdgEinpkm5mNPuNdmVX7OOIS8wjO6/F0cNtcDSxMxPsdARP8YOK5XwPlrxg
|
223
|
+
urxjTOhSiRXbTqyf8u06F8Kh2Pl1ZSEPGA/qiENppuwxlXYMu3Od8go1gu9s
|
224
|
+
A7UQGiznGoSsSRuptQ5u3/u+vVT3BVzd5al6pnmJY7+T/hxRjnsZGg51qzwI
|
225
|
+
QRpQSwnYkWmNQWUl/zWSUvUy0zT/B914F6xpCaQVEmrb7lRDFmRjnbbEaxTN
|
226
|
+
D/qRighfX7Dtbds+AW2Mu8Z7AQAA
|
227
|
+
http_version:
|
228
|
+
recorded_at: Mon, 26 Jun 2017 11:17:25 GMT
|
229
|
+
- request:
|
230
|
+
method: post
|
231
|
+
uri: https://tableau.lvh.me/api/2.6/auth/signin
|
232
|
+
body:
|
233
|
+
encoding: UTF-8
|
234
|
+
string: '{"credentials":{"name":"<TABLEAU_USERNAME>","password":"<TABLEAU_PASSWORD>","site":{"contentUrl":""}}}'
|
235
|
+
headers:
|
236
|
+
Accept:
|
237
|
+
- application/json
|
238
|
+
Accept-Encoding:
|
239
|
+
- gzip, deflate
|
240
|
+
User-Agent:
|
241
|
+
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
|
242
|
+
Content-Type:
|
243
|
+
- application/json
|
244
|
+
X-Tableau-Auth:
|
245
|
+
- mMMc6uaGTfuHKLJCZk-_MA|XWAAZbm2dbCP6Cxc8v7J3Bsrpkluwk47
|
246
|
+
Content-Length:
|
247
|
+
- '94'
|
248
|
+
Host:
|
249
|
+
- tableau.lvh.me
|
250
|
+
response:
|
251
|
+
status:
|
252
|
+
code: 200
|
253
|
+
message: OK
|
254
|
+
headers:
|
255
|
+
Date:
|
256
|
+
- Mon, 26 Jun 2017 11:17:21 GMT
|
257
|
+
Server:
|
258
|
+
- Tableau
|
259
|
+
Content-Type:
|
260
|
+
- application/json;charset=utf-8
|
261
|
+
Vary:
|
262
|
+
- Accept-Encoding
|
263
|
+
Content-Encoding:
|
264
|
+
- gzip
|
265
|
+
P3p:
|
266
|
+
- CP="NON"
|
267
|
+
X-Ua-Compatible:
|
268
|
+
- IE=Edge
|
269
|
+
X-Content-Type-Options:
|
270
|
+
- nosniff
|
271
|
+
X-Xss-Protection:
|
272
|
+
- 1; mode=block
|
273
|
+
Content-Length:
|
274
|
+
- '189'
|
275
|
+
body:
|
276
|
+
encoding: ASCII-8BIT
|
277
|
+
string: !binary |-
|
278
|
+
H4sIAAAAAAAAAz2MuRKCMBQA/+XVZublIIe9yoxX4VVDSJAhohCc8eLfxcZq
|
279
|
+
m919g+1c4Zq+ykKE6Rti1bsfqwKmQDOKPskNQWZyIrgTJJMMiVK8oNIg59rC
|
280
|
+
BOy16cfFoQtjA8ME7tF1/wnLKTWGGVJwnxDhUZPMWEoYonWCe6V0/ov6a+2a
|
281
|
+
0a8DLh4bdtnHRXt81ttZmS5j+RF7NV/pc5qGm9/dsD2tZ1LKpNOW0SS0LxiG
|
282
|
+
LwK+sIvNAAAA
|
283
|
+
http_version:
|
284
|
+
recorded_at: Mon, 26 Jun 2017 11:17:25 GMT
|
285
|
+
- request:
|
286
|
+
method: get
|
287
|
+
uri: https://tableau.lvh.me/api/2.6/sites/1a10f5b9-029b-43e4-a620-773d1690338c/groups/bf3c3a6a-cf85-4116-8006-124e672666db/users
|
288
|
+
body:
|
289
|
+
encoding: US-ASCII
|
290
|
+
string: ''
|
291
|
+
headers:
|
292
|
+
Accept:
|
293
|
+
- application/json
|
294
|
+
Accept-Encoding:
|
295
|
+
- gzip, deflate
|
296
|
+
User-Agent:
|
297
|
+
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
|
298
|
+
Content-Type:
|
299
|
+
- application/json
|
300
|
+
X-Tableau-Auth:
|
301
|
+
- kl0GxN2mTsGqVykOEgHKsg|4T7FL8hHHlpfSp0qWME6665r8c215lqz
|
302
|
+
Host:
|
303
|
+
- tableau.lvh.me
|
304
|
+
response:
|
305
|
+
status:
|
306
|
+
code: 200
|
307
|
+
message: OK
|
308
|
+
headers:
|
309
|
+
Date:
|
310
|
+
- Mon, 26 Jun 2017 11:17:22 GMT
|
311
|
+
Server:
|
312
|
+
- Tableau
|
313
|
+
Content-Type:
|
314
|
+
- application/json;charset=utf-8
|
315
|
+
Vary:
|
316
|
+
- Accept-Encoding
|
317
|
+
Content-Encoding:
|
318
|
+
- gzip
|
319
|
+
P3p:
|
320
|
+
- CP="NON"
|
321
|
+
X-Ua-Compatible:
|
322
|
+
- IE=Edge
|
323
|
+
X-Content-Type-Options:
|
324
|
+
- nosniff
|
325
|
+
X-Xss-Protection:
|
326
|
+
- 1; mode=block
|
327
|
+
Content-Length:
|
328
|
+
- '210'
|
329
|
+
body:
|
330
|
+
encoding: ASCII-8BIT
|
331
|
+
string: !binary |-
|
332
|
+
H4sIAAAAAAAAAx2OwU7DMAyG38XnRUqysa657YiEODC4gDg4qzsipQlK3Amo
|
333
|
+
+u44vfn/bH3+F/jGW0jIISdwS0v0PE+eCjgwsNvAJfxRi1oL4MwYz3cMEX3c
|
334
|
+
MKw7mCuV2gRtAPexQBhkZ70xfW97NezHB3UY9UlhfzXKan2lw37supMXZ8Kp
|
335
|
+
mbBWmnz8FVID00ve/BcqdyrnYQopVC7IuchBxMpPWaq3L9p0Sh+VPb4a40zn
|
336
|
+
rH2XE/phKknKzvz1JrUeWyNYP9f1H5ZoX1/2AAAA
|
337
|
+
http_version:
|
338
|
+
recorded_at: Mon, 26 Jun 2017 11:17:25 GMT
|
339
|
+
recorded_with: VCR 3.0.3
|