cartodb-rb-client 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/cartodb-rb-client.gemspec +2 -2
- data/lib/cartodb-rb-client/cartodb/model/geo.rb +39 -12
- data/lib/cartodb-rb-client/cartodb/model/getters.rb +4 -5
- data/lib/cartodb-rb-client/cartodb/model/schema.rb +4 -5
- data/lib/cartodb-rb-client/cartodb/model/setters.rb +0 -1
- data/lib/cartodb-rb-client/version.rb +1 -1
- data/spec/fixtures/cassettes/CartoDB_model_data_methods/should_save_polygons_in_different_formats.yml +1264 -0
- data/spec/model/data_spec.rb +28 -1
- metadata +7 -5
@@ -0,0 +1,1264 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- &70160402215780 !ruby/object:MIME::Type
|
12
|
+
content_type: application/json
|
13
|
+
raw_media_type: application
|
14
|
+
raw_sub_type: json
|
15
|
+
simplified: application/json
|
16
|
+
media_type: application
|
17
|
+
sub_type: json
|
18
|
+
extensions:
|
19
|
+
- json
|
20
|
+
encoding: 8bit
|
21
|
+
system: !!null
|
22
|
+
registered: true
|
23
|
+
url:
|
24
|
+
- IANA
|
25
|
+
- RFC4627
|
26
|
+
obsolete: !!null
|
27
|
+
docs: !!null
|
28
|
+
Authorization:
|
29
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="vwVefyvCWl7ynuR8AuoKvZsR7sIh9U2tP5biaS7NA",
|
30
|
+
oauth_signature="AohfauLqngSHk0TFNSXB9toW5pU%3D", oauth_signature_method="HMAC-SHA1",
|
31
|
+
oauth_timestamp="1337870915", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
32
|
+
oauth_version="1.0"
|
33
|
+
response:
|
34
|
+
status:
|
35
|
+
code: 404
|
36
|
+
message: Not Found
|
37
|
+
headers:
|
38
|
+
Server:
|
39
|
+
- nginx
|
40
|
+
Date:
|
41
|
+
- Thu, 24 May 2012 14:48:35 GMT
|
42
|
+
Content-Type:
|
43
|
+
- application/json; charset=utf-8
|
44
|
+
Transfer-Encoding:
|
45
|
+
- chunked
|
46
|
+
Connection:
|
47
|
+
- keep-alive
|
48
|
+
Vary:
|
49
|
+
- Accept-Encoding
|
50
|
+
Status:
|
51
|
+
- 404 Not Found
|
52
|
+
Cache-Control:
|
53
|
+
- no-cache
|
54
|
+
X-Ua-Compatible:
|
55
|
+
- IE=Edge,chrome=1
|
56
|
+
Set-Cookie:
|
57
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlY2Y5Y2Q5MzU2MWMwZjU2ZjViYjQ3MzRmNTQ5ODhlZGFJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--8e42b30c819dfc049b14bfa17cea1948dd04c983;
|
58
|
+
domain=.cartodb.com; path=/; HttpOnly
|
59
|
+
X-Runtime:
|
60
|
+
- '0.009485'
|
61
|
+
Content-Encoding:
|
62
|
+
- gzip
|
63
|
+
body:
|
64
|
+
encoding: ASCII-8BIT
|
65
|
+
string: ! ' '
|
66
|
+
http_version: '1.1'
|
67
|
+
recorded_at: Thu, 24 May 2012 14:48:35 GMT
|
68
|
+
- request:
|
69
|
+
method: get
|
70
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
71
|
+
body:
|
72
|
+
encoding: US-ASCII
|
73
|
+
string: ''
|
74
|
+
headers:
|
75
|
+
Accept:
|
76
|
+
- *70160402215780
|
77
|
+
Authorization:
|
78
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="TrPZShGdejCDtsEqcApkqNh8VwcDO9jp8V2RLxWg",
|
79
|
+
oauth_signature="MTw6Bk1Avt%2B8M6ZtJMKvq5s5gcA%3D", oauth_signature_method="HMAC-SHA1",
|
80
|
+
oauth_timestamp="1337870915", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
81
|
+
oauth_version="1.0"
|
82
|
+
response:
|
83
|
+
status:
|
84
|
+
code: 404
|
85
|
+
message: Not Found
|
86
|
+
headers:
|
87
|
+
Server:
|
88
|
+
- nginx
|
89
|
+
Date:
|
90
|
+
- Thu, 24 May 2012 14:48:35 GMT
|
91
|
+
Content-Type:
|
92
|
+
- application/json; charset=utf-8
|
93
|
+
Transfer-Encoding:
|
94
|
+
- chunked
|
95
|
+
Connection:
|
96
|
+
- keep-alive
|
97
|
+
Vary:
|
98
|
+
- Accept-Encoding
|
99
|
+
Status:
|
100
|
+
- 404 Not Found
|
101
|
+
Cache-Control:
|
102
|
+
- no-cache
|
103
|
+
X-Ua-Compatible:
|
104
|
+
- IE=Edge,chrome=1
|
105
|
+
Set-Cookie:
|
106
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjNlNGUwYTFhZjc3MTU5NTk5ZjNmMDYwZGMzZTI0MDJJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--ea585a1708681f524aae06ebd3d6bd4d8de741a4;
|
107
|
+
domain=.cartodb.com; path=/; HttpOnly
|
108
|
+
X-Runtime:
|
109
|
+
- '0.008218'
|
110
|
+
Content-Encoding:
|
111
|
+
- gzip
|
112
|
+
body:
|
113
|
+
encoding: ASCII-8BIT
|
114
|
+
string: ! ' '
|
115
|
+
http_version: '1.1'
|
116
|
+
recorded_at: Thu, 24 May 2012 14:48:35 GMT
|
117
|
+
- request:
|
118
|
+
method: post
|
119
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables
|
120
|
+
body:
|
121
|
+
encoding: US-ASCII
|
122
|
+
string: ''
|
123
|
+
headers:
|
124
|
+
Accept:
|
125
|
+
- *70160402215780
|
126
|
+
Authorization:
|
127
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="n5tb1UMTLk9zrgl14NXoCxnhNs5vZU7cfu9gtUqc",
|
128
|
+
oauth_signature="HUfleKpT7dJL3iTNxWnXOsdD1fQ%3D", oauth_signature_method="HMAC-SHA1",
|
129
|
+
oauth_timestamp="1337870915", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
130
|
+
oauth_version="1.0"
|
131
|
+
response:
|
132
|
+
status:
|
133
|
+
code: 200
|
134
|
+
message: OK
|
135
|
+
headers:
|
136
|
+
Server:
|
137
|
+
- nginx
|
138
|
+
Date:
|
139
|
+
- Thu, 24 May 2012 14:48:36 GMT
|
140
|
+
Content-Type:
|
141
|
+
- application/json; charset=utf-8
|
142
|
+
Transfer-Encoding:
|
143
|
+
- chunked
|
144
|
+
Connection:
|
145
|
+
- keep-alive
|
146
|
+
Vary:
|
147
|
+
- Accept-Encoding
|
148
|
+
Status:
|
149
|
+
- 200 OK
|
150
|
+
Location:
|
151
|
+
- /tables/4766
|
152
|
+
Etag:
|
153
|
+
- ! '"499a15980e771025b1015ef6a601d332"'
|
154
|
+
Cache-Control:
|
155
|
+
- max-age=0, private, must-revalidate
|
156
|
+
X-Ua-Compatible:
|
157
|
+
- IE=Edge,chrome=1
|
158
|
+
Set-Cookie:
|
159
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlM2FlNWU1NWJhZGVlMGQ2NDVmNGZlNTU0ODBmMjA5MTJJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--2735b356b791747240ea6e7a84468b859e77698a;
|
160
|
+
domain=.cartodb.com; path=/; HttpOnly
|
161
|
+
X-Runtime:
|
162
|
+
- '0.685259'
|
163
|
+
Content-Encoding:
|
164
|
+
- gzip
|
165
|
+
body:
|
166
|
+
encoding: ASCII-8BIT
|
167
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
168
|
+
http_version: '1.1'
|
169
|
+
recorded_at: Thu, 24 May 2012 14:48:36 GMT
|
170
|
+
- request:
|
171
|
+
method: post
|
172
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model/columns
|
173
|
+
body:
|
174
|
+
encoding: US-ASCII
|
175
|
+
string: ''
|
176
|
+
headers:
|
177
|
+
Accept:
|
178
|
+
- *70160402215780
|
179
|
+
Authorization:
|
180
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="XX8AMz59LYQhUh6lCJ1qd9yYBTNN1tb8X7LzEaO4",
|
181
|
+
oauth_signature="MWYCziCJu%2BtmuGnrg1EqlOkosz8%3D", oauth_signature_method="HMAC-SHA1",
|
182
|
+
oauth_timestamp="1337870916", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
183
|
+
oauth_version="1.0"
|
184
|
+
response:
|
185
|
+
status:
|
186
|
+
code: 200
|
187
|
+
message: OK
|
188
|
+
headers:
|
189
|
+
Server:
|
190
|
+
- nginx
|
191
|
+
Date:
|
192
|
+
- Thu, 24 May 2012 14:48:37 GMT
|
193
|
+
Content-Type:
|
194
|
+
- application/json; charset=utf-8
|
195
|
+
Transfer-Encoding:
|
196
|
+
- chunked
|
197
|
+
Connection:
|
198
|
+
- keep-alive
|
199
|
+
Vary:
|
200
|
+
- Accept-Encoding
|
201
|
+
Status:
|
202
|
+
- 200 OK
|
203
|
+
Etag:
|
204
|
+
- ! '"2b29d6d55604f6cc9dd231b39f6a062c"'
|
205
|
+
Cache-Control:
|
206
|
+
- max-age=0, private, must-revalidate
|
207
|
+
X-Ua-Compatible:
|
208
|
+
- IE=Edge,chrome=1
|
209
|
+
Set-Cookie:
|
210
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTU2NGVhNmM3YmUyMjM3YWQ2NzlkMjY3N2FjZTc3N2FJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--0fb7b25311456f5789337d7a9689d978c06174af;
|
211
|
+
domain=.cartodb.com; path=/; HttpOnly
|
212
|
+
X-Runtime:
|
213
|
+
- '0.471939'
|
214
|
+
Content-Encoding:
|
215
|
+
- gzip
|
216
|
+
body:
|
217
|
+
encoding: ASCII-8BIT
|
218
|
+
string: ! '{"name":"another_column","type":"text","cartodb_type":"string"}'
|
219
|
+
http_version: '1.1'
|
220
|
+
recorded_at: Thu, 24 May 2012 14:48:37 GMT
|
221
|
+
- request:
|
222
|
+
method: get
|
223
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
224
|
+
body:
|
225
|
+
encoding: US-ASCII
|
226
|
+
string: ''
|
227
|
+
headers:
|
228
|
+
Accept:
|
229
|
+
- *70160402215780
|
230
|
+
Authorization:
|
231
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="MX4I9BGYzhtB1djT51kIsQjUfbho2cMJLA6ncB8",
|
232
|
+
oauth_signature="G2CKmdmbXAbp%2FK91WgmbSlAjxho%3D", oauth_signature_method="HMAC-SHA1",
|
233
|
+
oauth_timestamp="1337870917", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
234
|
+
oauth_version="1.0"
|
235
|
+
response:
|
236
|
+
status:
|
237
|
+
code: 200
|
238
|
+
message: OK
|
239
|
+
headers:
|
240
|
+
Server:
|
241
|
+
- nginx
|
242
|
+
Date:
|
243
|
+
- Thu, 24 May 2012 14:48:37 GMT
|
244
|
+
Content-Type:
|
245
|
+
- application/json; charset=utf-8
|
246
|
+
Transfer-Encoding:
|
247
|
+
- chunked
|
248
|
+
Connection:
|
249
|
+
- keep-alive
|
250
|
+
Vary:
|
251
|
+
- Accept-Encoding
|
252
|
+
Status:
|
253
|
+
- 200 OK
|
254
|
+
Etag:
|
255
|
+
- ! '"6fbf5d178d3733d879961e43482f52cb"'
|
256
|
+
Cache-Control:
|
257
|
+
- max-age=0, private, must-revalidate
|
258
|
+
X-Ua-Compatible:
|
259
|
+
- IE=Edge,chrome=1
|
260
|
+
Set-Cookie:
|
261
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlM2I1ZjM5MGE0NTRmY2U3YzNkOTA4NGYyZDkyMmQzMDRJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--def970e94481dcc74a827a4c1b00b569b0cfeb50;
|
262
|
+
domain=.cartodb.com; path=/; HttpOnly
|
263
|
+
X-Runtime:
|
264
|
+
- '0.145451'
|
265
|
+
Content-Encoding:
|
266
|
+
- gzip
|
267
|
+
body:
|
268
|
+
encoding: ASCII-8BIT
|
269
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
270
|
+
http_version: '1.1'
|
271
|
+
recorded_at: Thu, 24 May 2012 14:48:37 GMT
|
272
|
+
- request:
|
273
|
+
method: get
|
274
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
275
|
+
body:
|
276
|
+
encoding: US-ASCII
|
277
|
+
string: ''
|
278
|
+
headers:
|
279
|
+
Accept:
|
280
|
+
- &70160279242660 !ruby/object:MIME::Type
|
281
|
+
content_type: application/json
|
282
|
+
raw_media_type: application
|
283
|
+
raw_sub_type: json
|
284
|
+
simplified: application/json
|
285
|
+
media_type: application
|
286
|
+
sub_type: json
|
287
|
+
extensions:
|
288
|
+
- json
|
289
|
+
encoding: 8bit
|
290
|
+
system: !!null
|
291
|
+
registered: true
|
292
|
+
url:
|
293
|
+
- IANA
|
294
|
+
- RFC4627
|
295
|
+
obsolete: !!null
|
296
|
+
docs: !!null
|
297
|
+
Authorization:
|
298
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="Cod7Pq13bu3EyWXT1RHWqC1VxDwkHw89dQSifz3FDNg",
|
299
|
+
oauth_signature="4ndEJYd59GWhqVOcJjpPKcV91SE%3D", oauth_signature_method="HMAC-SHA1",
|
300
|
+
oauth_timestamp="1337872609", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
301
|
+
oauth_version="1.0"
|
302
|
+
response:
|
303
|
+
status:
|
304
|
+
code: 200
|
305
|
+
message: OK
|
306
|
+
headers:
|
307
|
+
Server:
|
308
|
+
- nginx
|
309
|
+
Date:
|
310
|
+
- Thu, 24 May 2012 15:16:50 GMT
|
311
|
+
Content-Type:
|
312
|
+
- application/json; charset=utf-8
|
313
|
+
Transfer-Encoding:
|
314
|
+
- chunked
|
315
|
+
Connection:
|
316
|
+
- keep-alive
|
317
|
+
Vary:
|
318
|
+
- Accept-Encoding
|
319
|
+
Status:
|
320
|
+
- 200 OK
|
321
|
+
Etag:
|
322
|
+
- ! '"6fbf5d178d3733d879961e43482f52cb"'
|
323
|
+
Cache-Control:
|
324
|
+
- max-age=0, private, must-revalidate
|
325
|
+
X-Ua-Compatible:
|
326
|
+
- IE=Edge,chrome=1
|
327
|
+
Set-Cookie:
|
328
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMGIxOTA2NjVlYzlkMTFkMTEwMDk2NmU2YTZiMTRlMWZJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--45c7dc44ec2c1e6e6f65ed9c731265c4c20cb4ac;
|
329
|
+
domain=.cartodb.com; path=/; HttpOnly
|
330
|
+
X-Runtime:
|
331
|
+
- '0.029768'
|
332
|
+
Content-Encoding:
|
333
|
+
- gzip
|
334
|
+
body:
|
335
|
+
encoding: ASCII-8BIT
|
336
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
337
|
+
http_version: '1.1'
|
338
|
+
recorded_at: Thu, 24 May 2012 15:16:50 GMT
|
339
|
+
- request:
|
340
|
+
method: get
|
341
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
342
|
+
body:
|
343
|
+
encoding: US-ASCII
|
344
|
+
string: ''
|
345
|
+
headers:
|
346
|
+
Accept:
|
347
|
+
- *70160279242660
|
348
|
+
Authorization:
|
349
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="jgNCWSaIqg1C28QDhRbKZj1YvYpn4fMiOBQ0kRkpU",
|
350
|
+
oauth_signature="ccvaBM06ivlKwMxcs07jFbTQPW8%3D", oauth_signature_method="HMAC-SHA1",
|
351
|
+
oauth_timestamp="1337872612", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
352
|
+
oauth_version="1.0"
|
353
|
+
response:
|
354
|
+
status:
|
355
|
+
code: 200
|
356
|
+
message: OK
|
357
|
+
headers:
|
358
|
+
Server:
|
359
|
+
- nginx
|
360
|
+
Date:
|
361
|
+
- Thu, 24 May 2012 15:16:52 GMT
|
362
|
+
Content-Type:
|
363
|
+
- application/json; charset=utf-8
|
364
|
+
Transfer-Encoding:
|
365
|
+
- chunked
|
366
|
+
Connection:
|
367
|
+
- keep-alive
|
368
|
+
Vary:
|
369
|
+
- Accept-Encoding
|
370
|
+
Status:
|
371
|
+
- 200 OK
|
372
|
+
Etag:
|
373
|
+
- ! '"6fbf5d178d3733d879961e43482f52cb"'
|
374
|
+
Cache-Control:
|
375
|
+
- max-age=0, private, must-revalidate
|
376
|
+
X-Ua-Compatible:
|
377
|
+
- IE=Edge,chrome=1
|
378
|
+
Set-Cookie:
|
379
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYjc3MzM4NmU3ZjdkNWJhZWVlNjA4OTc4YmEwYmZkMzBJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--67fdc91e99763d531496d7ef6af0eaae0e60d12f;
|
380
|
+
domain=.cartodb.com; path=/; HttpOnly
|
381
|
+
X-Runtime:
|
382
|
+
- '0.015387'
|
383
|
+
Content-Encoding:
|
384
|
+
- gzip
|
385
|
+
body:
|
386
|
+
encoding: ASCII-8BIT
|
387
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
388
|
+
http_version: '1.1'
|
389
|
+
recorded_at: Thu, 24 May 2012 15:16:52 GMT
|
390
|
+
- request:
|
391
|
+
method: get
|
392
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
393
|
+
body:
|
394
|
+
encoding: US-ASCII
|
395
|
+
string: ''
|
396
|
+
headers:
|
397
|
+
Accept:
|
398
|
+
- !ruby/object:MIME::Type
|
399
|
+
content_type: application/json
|
400
|
+
raw_media_type: application
|
401
|
+
raw_sub_type: json
|
402
|
+
simplified: application/json
|
403
|
+
media_type: application
|
404
|
+
sub_type: json
|
405
|
+
extensions:
|
406
|
+
- json
|
407
|
+
encoding: 8bit
|
408
|
+
system: !!null
|
409
|
+
registered: true
|
410
|
+
url:
|
411
|
+
- IANA
|
412
|
+
- RFC4627
|
413
|
+
obsolete: !!null
|
414
|
+
docs: !!null
|
415
|
+
Authorization:
|
416
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="0E0zI9OJpgrIUKcxxtzp3fujUFEykDcyuWDzAhNj0",
|
417
|
+
oauth_signature="eT%2F3MxTBbxcpJPOeKTjzpj2xiUY%3D", oauth_signature_method="HMAC-SHA1",
|
418
|
+
oauth_timestamp="1337878611", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
419
|
+
oauth_version="1.0"
|
420
|
+
response:
|
421
|
+
status:
|
422
|
+
code: 200
|
423
|
+
message: OK
|
424
|
+
headers:
|
425
|
+
Server:
|
426
|
+
- nginx
|
427
|
+
Date:
|
428
|
+
- Thu, 24 May 2012 16:56:51 GMT
|
429
|
+
Content-Type:
|
430
|
+
- application/json; charset=utf-8
|
431
|
+
Transfer-Encoding:
|
432
|
+
- chunked
|
433
|
+
Connection:
|
434
|
+
- keep-alive
|
435
|
+
Vary:
|
436
|
+
- Accept-Encoding
|
437
|
+
Status:
|
438
|
+
- 200 OK
|
439
|
+
Etag:
|
440
|
+
- ! '"6fbf5d178d3733d879961e43482f52cb"'
|
441
|
+
Cache-Control:
|
442
|
+
- max-age=0, private, must-revalidate
|
443
|
+
X-Ua-Compatible:
|
444
|
+
- IE=Edge,chrome=1
|
445
|
+
Set-Cookie:
|
446
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOWEwMTkxYzMwMTk4OTNmZWE1OTk2OWJhYWZkYTZmM2VJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--c31d41ec1b25af4103a16d3e96204f2a7e41ba9e;
|
447
|
+
domain=.cartodb.com; path=/; HttpOnly
|
448
|
+
X-Runtime:
|
449
|
+
- '0.029370'
|
450
|
+
Content-Encoding:
|
451
|
+
- gzip
|
452
|
+
body:
|
453
|
+
encoding: ASCII-8BIT
|
454
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
455
|
+
http_version: '1.1'
|
456
|
+
recorded_at: Thu, 24 May 2012 16:56:51 GMT
|
457
|
+
- request:
|
458
|
+
method: get
|
459
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model/records?
|
460
|
+
body:
|
461
|
+
encoding: US-ASCII
|
462
|
+
string: ''
|
463
|
+
headers:
|
464
|
+
Accept:
|
465
|
+
- &70160279105360 !ruby/object:MIME::Type
|
466
|
+
content_type: application/json
|
467
|
+
raw_media_type: application
|
468
|
+
raw_sub_type: json
|
469
|
+
simplified: application/json
|
470
|
+
media_type: application
|
471
|
+
sub_type: json
|
472
|
+
extensions:
|
473
|
+
- json
|
474
|
+
encoding: 8bit
|
475
|
+
system: !!null
|
476
|
+
registered: true
|
477
|
+
url:
|
478
|
+
- IANA
|
479
|
+
- RFC4627
|
480
|
+
obsolete: !!null
|
481
|
+
docs: !!null
|
482
|
+
Authorization:
|
483
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="CUibnF39eTRDFtxjUtvkqAtbS6AuWNZMdyCFgmQR3M",
|
484
|
+
oauth_signature="Vjv25Z4MEyr0HxBMMtb7KzNfuac%3D", oauth_signature_method="HMAC-SHA1",
|
485
|
+
oauth_timestamp="1337878931", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
486
|
+
oauth_version="1.0"
|
487
|
+
response:
|
488
|
+
status:
|
489
|
+
code: 200
|
490
|
+
message: OK
|
491
|
+
headers:
|
492
|
+
Server:
|
493
|
+
- nginx
|
494
|
+
Date:
|
495
|
+
- Thu, 24 May 2012 17:02:12 GMT
|
496
|
+
Content-Type:
|
497
|
+
- application/json; charset=utf-8
|
498
|
+
Transfer-Encoding:
|
499
|
+
- chunked
|
500
|
+
Connection:
|
501
|
+
- keep-alive
|
502
|
+
Vary:
|
503
|
+
- Accept-Encoding
|
504
|
+
Status:
|
505
|
+
- 200 OK
|
506
|
+
Etag:
|
507
|
+
- ! '"f0bd02af8ffba23ce9fc70926f8004f3"'
|
508
|
+
Cache-Control:
|
509
|
+
- max-age=0, private, must-revalidate
|
510
|
+
X-Ua-Compatible:
|
511
|
+
- IE=Edge,chrome=1
|
512
|
+
Set-Cookie:
|
513
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlZmVkYzViNTk0MDc5MDZmZDIzM2FkM2U0ZjM5M2JhYjFJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--3de87dcf1ae7ac896901fd1f92bfa44cfb047d80;
|
514
|
+
domain=.cartodb.com; path=/; HttpOnly
|
515
|
+
X-Runtime:
|
516
|
+
- '0.031263'
|
517
|
+
Content-Encoding:
|
518
|
+
- gzip
|
519
|
+
body:
|
520
|
+
encoding: ASCII-8BIT
|
521
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","total_rows":0,"rows":[]}'
|
522
|
+
http_version: '1.1'
|
523
|
+
recorded_at: Thu, 24 May 2012 17:02:12 GMT
|
524
|
+
- request:
|
525
|
+
method: get
|
526
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
527
|
+
body:
|
528
|
+
encoding: US-ASCII
|
529
|
+
string: ''
|
530
|
+
headers:
|
531
|
+
Accept:
|
532
|
+
- *70160279105360
|
533
|
+
Authorization:
|
534
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="lkPToEPSJA4Uql459PGDSeKDyLSDUz0v87oeay8qKGc",
|
535
|
+
oauth_signature="8f36FgzGKUUdXeIkusLXFAJPcwU%3D", oauth_signature_method="HMAC-SHA1",
|
536
|
+
oauth_timestamp="1337878932", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
537
|
+
oauth_version="1.0"
|
538
|
+
response:
|
539
|
+
status:
|
540
|
+
code: 200
|
541
|
+
message: OK
|
542
|
+
headers:
|
543
|
+
Server:
|
544
|
+
- nginx
|
545
|
+
Date:
|
546
|
+
- Thu, 24 May 2012 17:02:12 GMT
|
547
|
+
Content-Type:
|
548
|
+
- application/json; charset=utf-8
|
549
|
+
Transfer-Encoding:
|
550
|
+
- chunked
|
551
|
+
Connection:
|
552
|
+
- keep-alive
|
553
|
+
Vary:
|
554
|
+
- Accept-Encoding
|
555
|
+
Status:
|
556
|
+
- 200 OK
|
557
|
+
Etag:
|
558
|
+
- ! '"6fbf5d178d3733d879961e43482f52cb"'
|
559
|
+
Cache-Control:
|
560
|
+
- max-age=0, private, must-revalidate
|
561
|
+
X-Ua-Compatible:
|
562
|
+
- IE=Edge,chrome=1
|
563
|
+
Set-Cookie:
|
564
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNDA5YTVlMjAxYjAyZjhmZmNhYmJhNzZmMWE3NTU1MDRJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--370c8bce60004fc02d2ecf38f71f0463a92f9650;
|
565
|
+
domain=.cartodb.com; path=/; HttpOnly
|
566
|
+
X-Runtime:
|
567
|
+
- '0.019719'
|
568
|
+
Content-Encoding:
|
569
|
+
- gzip
|
570
|
+
body:
|
571
|
+
encoding: ASCII-8BIT
|
572
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
573
|
+
http_version: '1.1'
|
574
|
+
recorded_at: Thu, 24 May 2012 17:02:12 GMT
|
575
|
+
- request:
|
576
|
+
method: post
|
577
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/sql
|
578
|
+
body:
|
579
|
+
encoding: US-ASCII
|
580
|
+
string: ''
|
581
|
+
headers:
|
582
|
+
Accept:
|
583
|
+
- *70160279105360
|
584
|
+
Authorization:
|
585
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="djj5T4opg9iQNILYWL38MmmY4PPAqzCa5MKKM8OVA",
|
586
|
+
oauth_signature="JkfdN8AanfZnLXgRfdPQaQZMUDs%3D", oauth_signature_method="HMAC-SHA1",
|
587
|
+
oauth_timestamp="1337878932", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
588
|
+
oauth_version="1.0"
|
589
|
+
response:
|
590
|
+
status:
|
591
|
+
code: 200
|
592
|
+
message: OK
|
593
|
+
headers:
|
594
|
+
Server:
|
595
|
+
- nginx
|
596
|
+
Date:
|
597
|
+
- Thu, 24 May 2012 17:02:12 GMT
|
598
|
+
Content-Type:
|
599
|
+
- application/json; charset=utf-8
|
600
|
+
Connection:
|
601
|
+
- keep-alive
|
602
|
+
X-Powered-By:
|
603
|
+
- Express
|
604
|
+
Content-Disposition:
|
605
|
+
- inline; filename=cartodb-query.json; modification-date="Thu, 24 May 2012 17:02:12
|
606
|
+
GMT";
|
607
|
+
Access-Control-Allow-Origin:
|
608
|
+
- ! '*'
|
609
|
+
Access-Control-Allow-Headers:
|
610
|
+
- X-Requested-With
|
611
|
+
Last-Modified:
|
612
|
+
- Thu, 24 May 2012 17:02:12 GMT
|
613
|
+
Cache-Control:
|
614
|
+
- no-cache,max-age=3600,must-revalidate, public
|
615
|
+
X-Cache-Channel:
|
616
|
+
- cartodb_user_384_db:polygon_geometry_model
|
617
|
+
Content-Length:
|
618
|
+
- '787'
|
619
|
+
body:
|
620
|
+
encoding: ASCII-8BIT
|
621
|
+
string: ! '{"time":0.119,"total_rows":1,"rows":[{"id":1,"cartodb_id":1,"name":null,"description":null,"created_at":"2012-05-24T19:02:12.499Z","updated_at":"2012-05-24T19:02:12.499Z","the_geom":"0106000020E61000000100000001030000000100000007000000A1F7C610003C0EC0D76CE525FF1F4040B939950C000D21C020D099B4A9963A401E19ABCDFF2B00C08A0453CDAC4D3440B939950C00752240815EB873619037408F8CD5E6FFC51B4029EACC3D24B03D4071732A1900DA16408A03E8F7FD454040A1F7C610003C0EC0D76CE525FF1F4040","the_geom_webmercator":"0106000020110F00000100000001030000000100000007000000F06D9EAB95AD19C100D9A14164F64C41789CAF5E64F62CC11049E1824E704741460A648E34780BC14B255FE7C89D4141881E5F67E3592F411994EAA8279A44411A9165608696274174E12F54AD6C4A413794F13B68682341B41E7727D4424D41F06D9EAB95AD19C100D9A14164F64C41","another_column":null}]}'
|
622
|
+
http_version: '1.1'
|
623
|
+
recorded_at: Thu, 24 May 2012 17:02:12 GMT
|
624
|
+
- request:
|
625
|
+
method: get
|
626
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model/records?
|
627
|
+
body:
|
628
|
+
encoding: US-ASCII
|
629
|
+
string: ''
|
630
|
+
headers:
|
631
|
+
Accept:
|
632
|
+
- *70160279105360
|
633
|
+
Authorization:
|
634
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="gNPOx6OBmWrC9qban99RVP8CjfvE2vAEoNTKeEKw",
|
635
|
+
oauth_signature="UDJQaUbK32zEaNgLn%2BYBsVgwJdY%3D", oauth_signature_method="HMAC-SHA1",
|
636
|
+
oauth_timestamp="1337879066", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
637
|
+
oauth_version="1.0"
|
638
|
+
response:
|
639
|
+
status:
|
640
|
+
code: 200
|
641
|
+
message: OK
|
642
|
+
headers:
|
643
|
+
Server:
|
644
|
+
- nginx
|
645
|
+
Date:
|
646
|
+
- Thu, 24 May 2012 17:04:26 GMT
|
647
|
+
Content-Type:
|
648
|
+
- application/json; charset=utf-8
|
649
|
+
Transfer-Encoding:
|
650
|
+
- chunked
|
651
|
+
Connection:
|
652
|
+
- keep-alive
|
653
|
+
Vary:
|
654
|
+
- Accept-Encoding
|
655
|
+
Status:
|
656
|
+
- 200 OK
|
657
|
+
Etag:
|
658
|
+
- ! '"4497177f13b4c75dd5ca18332df5a006"'
|
659
|
+
Cache-Control:
|
660
|
+
- max-age=0, private, must-revalidate
|
661
|
+
X-Ua-Compatible:
|
662
|
+
- IE=Edge,chrome=1
|
663
|
+
Set-Cookie:
|
664
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlZWQzOWE4ZDc0MzViY2RlMDRhMmFiZmY0ZTJkNzYxYTRJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--d5f16e10700f5b57cb44e6f824e58235d236efc2;
|
665
|
+
domain=.cartodb.com; path=/; HttpOnly
|
666
|
+
X-Runtime:
|
667
|
+
- '0.020095'
|
668
|
+
Content-Encoding:
|
669
|
+
- gzip
|
670
|
+
body:
|
671
|
+
encoding: ASCII-8BIT
|
672
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","total_rows":1,"rows":[{"another_column":null,"the_geom":"GeoJSON","updated_at":"2012-05-24T19:02:12+02:00","created_at":"2012-05-24T19:02:12+02:00","description":null,"name":null,"cartodb_id":1}]}'
|
673
|
+
http_version: '1.1'
|
674
|
+
recorded_at: Thu, 24 May 2012 17:04:26 GMT
|
675
|
+
- request:
|
676
|
+
method: get
|
677
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model/records?
|
678
|
+
body:
|
679
|
+
encoding: US-ASCII
|
680
|
+
string: ''
|
681
|
+
headers:
|
682
|
+
Accept:
|
683
|
+
- &70160270331280 !ruby/object:MIME::Type
|
684
|
+
content_type: application/json
|
685
|
+
raw_media_type: application
|
686
|
+
raw_sub_type: json
|
687
|
+
simplified: application/json
|
688
|
+
media_type: application
|
689
|
+
sub_type: json
|
690
|
+
extensions:
|
691
|
+
- json
|
692
|
+
encoding: 8bit
|
693
|
+
system: !!null
|
694
|
+
registered: true
|
695
|
+
url:
|
696
|
+
- IANA
|
697
|
+
- RFC4627
|
698
|
+
obsolete: !!null
|
699
|
+
docs: !!null
|
700
|
+
Authorization:
|
701
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="yY1n9PYpGUCvgqyuHK8xlaPeD0A3kPxGD3VSsrs3b8",
|
702
|
+
oauth_signature="Zapcn4T2vfr2U2lsNRXTIRGkZQk%3D", oauth_signature_method="HMAC-SHA1",
|
703
|
+
oauth_timestamp="1337880012", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
704
|
+
oauth_version="1.0"
|
705
|
+
response:
|
706
|
+
status:
|
707
|
+
code: 200
|
708
|
+
message: OK
|
709
|
+
headers:
|
710
|
+
Server:
|
711
|
+
- nginx
|
712
|
+
Date:
|
713
|
+
- Thu, 24 May 2012 17:20:12 GMT
|
714
|
+
Content-Type:
|
715
|
+
- application/json; charset=utf-8
|
716
|
+
Transfer-Encoding:
|
717
|
+
- chunked
|
718
|
+
Connection:
|
719
|
+
- keep-alive
|
720
|
+
Vary:
|
721
|
+
- Accept-Encoding
|
722
|
+
Status:
|
723
|
+
- 200 OK
|
724
|
+
Etag:
|
725
|
+
- ! '"4497177f13b4c75dd5ca18332df5a006"'
|
726
|
+
Cache-Control:
|
727
|
+
- max-age=0, private, must-revalidate
|
728
|
+
X-Ua-Compatible:
|
729
|
+
- IE=Edge,chrome=1
|
730
|
+
Set-Cookie:
|
731
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMzM5MzQyMGRmYTE5ZjE5YmJlNjk3OGM4OGQ4MTAxYWFJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--a53725bbeb93a1060220e25f5a6a18baafc8077c;
|
732
|
+
domain=.cartodb.com; path=/; HttpOnly
|
733
|
+
X-Runtime:
|
734
|
+
- '0.036065'
|
735
|
+
Content-Encoding:
|
736
|
+
- gzip
|
737
|
+
body:
|
738
|
+
encoding: ASCII-8BIT
|
739
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","total_rows":1,"rows":[{"another_column":null,"the_geom":"GeoJSON","updated_at":"2012-05-24T19:02:12+02:00","created_at":"2012-05-24T19:02:12+02:00","description":null,"name":null,"cartodb_id":1}]}'
|
740
|
+
http_version: '1.1'
|
741
|
+
recorded_at: Thu, 24 May 2012 17:20:12 GMT
|
742
|
+
- request:
|
743
|
+
method: get
|
744
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
745
|
+
body:
|
746
|
+
encoding: US-ASCII
|
747
|
+
string: ''
|
748
|
+
headers:
|
749
|
+
Accept:
|
750
|
+
- *70160270331280
|
751
|
+
Authorization:
|
752
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="tp7DpTk4ZNAiqBRrGD71FsA34nlhtoFaij4L9qTw",
|
753
|
+
oauth_signature="ruMYaWxPeYENhkXwggDIIQiEyuU%3D", oauth_signature_method="HMAC-SHA1",
|
754
|
+
oauth_timestamp="1337880012", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
755
|
+
oauth_version="1.0"
|
756
|
+
response:
|
757
|
+
status:
|
758
|
+
code: 200
|
759
|
+
message: OK
|
760
|
+
headers:
|
761
|
+
Server:
|
762
|
+
- nginx
|
763
|
+
Date:
|
764
|
+
- Thu, 24 May 2012 17:20:12 GMT
|
765
|
+
Content-Type:
|
766
|
+
- application/json; charset=utf-8
|
767
|
+
Transfer-Encoding:
|
768
|
+
- chunked
|
769
|
+
Connection:
|
770
|
+
- keep-alive
|
771
|
+
Vary:
|
772
|
+
- Accept-Encoding
|
773
|
+
Status:
|
774
|
+
- 200 OK
|
775
|
+
Etag:
|
776
|
+
- ! '"6fbf5d178d3733d879961e43482f52cb"'
|
777
|
+
Cache-Control:
|
778
|
+
- max-age=0, private, must-revalidate
|
779
|
+
X-Ua-Compatible:
|
780
|
+
- IE=Edge,chrome=1
|
781
|
+
Set-Cookie:
|
782
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNzI0OTBmODU4ZDY4ZWE2MTY2N2YyYWYyMjJjZjY5ZmZJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--36e7df15ee43bc9965a8c0124c726ed9fad7dcd2;
|
783
|
+
domain=.cartodb.com; path=/; HttpOnly
|
784
|
+
X-Runtime:
|
785
|
+
- '0.009782'
|
786
|
+
Content-Encoding:
|
787
|
+
- gzip
|
788
|
+
body:
|
789
|
+
encoding: ASCII-8BIT
|
790
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
791
|
+
http_version: '1.1'
|
792
|
+
recorded_at: Thu, 24 May 2012 17:20:12 GMT
|
793
|
+
- request:
|
794
|
+
method: post
|
795
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/sql
|
796
|
+
body:
|
797
|
+
encoding: US-ASCII
|
798
|
+
string: ''
|
799
|
+
headers:
|
800
|
+
Accept:
|
801
|
+
- *70160270331280
|
802
|
+
Authorization:
|
803
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="SUx3TvzdW1Fiz9olpzatBTN0TNxKXCdPYFVyIc604Xg",
|
804
|
+
oauth_signature="RQ8UOjMZpphAvlgSBXdz1sd8vmI%3D", oauth_signature_method="HMAC-SHA1",
|
805
|
+
oauth_timestamp="1337880012", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
806
|
+
oauth_version="1.0"
|
807
|
+
response:
|
808
|
+
status:
|
809
|
+
code: 200
|
810
|
+
message: OK
|
811
|
+
headers:
|
812
|
+
Server:
|
813
|
+
- nginx
|
814
|
+
Date:
|
815
|
+
- Thu, 24 May 2012 17:20:13 GMT
|
816
|
+
Content-Type:
|
817
|
+
- application/json; charset=utf-8
|
818
|
+
Connection:
|
819
|
+
- keep-alive
|
820
|
+
X-Powered-By:
|
821
|
+
- Express
|
822
|
+
Content-Disposition:
|
823
|
+
- inline; filename=cartodb-query.json; modification-date="Thu, 24 May 2012 17:20:13
|
824
|
+
GMT";
|
825
|
+
Access-Control-Allow-Origin:
|
826
|
+
- ! '*'
|
827
|
+
Access-Control-Allow-Headers:
|
828
|
+
- X-Requested-With
|
829
|
+
Last-Modified:
|
830
|
+
- Thu, 24 May 2012 17:20:13 GMT
|
831
|
+
Cache-Control:
|
832
|
+
- no-cache,max-age=3600,must-revalidate, public
|
833
|
+
X-Cache-Channel:
|
834
|
+
- cartodb_user_384_db:polygon_geometry_model
|
835
|
+
Content-Length:
|
836
|
+
- '787'
|
837
|
+
body:
|
838
|
+
encoding: ASCII-8BIT
|
839
|
+
string: ! '{"time":0.181,"total_rows":1,"rows":[{"id":2,"cartodb_id":2,"name":null,"description":null,"created_at":"2012-05-24T19:20:13.055Z","updated_at":"2012-05-24T19:20:13.055Z","the_geom":"0106000020E61000000100000001030000000100000007000000A1F7C610003C0EC0D76CE525FF1F4040B939950C000D21C020D099B4A9963A401E19ABCDFF2B00C08A0453CDAC4D3440B939950C00752240815EB873619037408F8CD5E6FFC51B4029EACC3D24B03D4071732A1900DA16408A03E8F7FD454040A1F7C610003C0EC0D76CE525FF1F4040","the_geom_webmercator":"0106000020110F00000100000001030000000100000007000000F06D9EAB95AD19C100D9A14164F64C41789CAF5E64F62CC11049E1824E704741460A648E34780BC14B255FE7C89D4141881E5F67E3592F411994EAA8279A44411A9165608696274174E12F54AD6C4A413794F13B68682341B41E7727D4424D41F06D9EAB95AD19C100D9A14164F64C41","another_column":null}]}'
|
840
|
+
http_version: '1.1'
|
841
|
+
recorded_at: Thu, 24 May 2012 17:20:13 GMT
|
842
|
+
- request:
|
843
|
+
method: get
|
844
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model/records?
|
845
|
+
body:
|
846
|
+
encoding: US-ASCII
|
847
|
+
string: ''
|
848
|
+
headers:
|
849
|
+
Accept:
|
850
|
+
- *70160270331280
|
851
|
+
Authorization:
|
852
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="VI7shndyLFcUVHWd9KomZ9zUXcokj1rG16y9Q1UVs",
|
853
|
+
oauth_signature="KrRAvn1DZMN2elGaTu1DrfS5f9A%3D", oauth_signature_method="HMAC-SHA1",
|
854
|
+
oauth_timestamp="1337880013", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
855
|
+
oauth_version="1.0"
|
856
|
+
response:
|
857
|
+
status:
|
858
|
+
code: 200
|
859
|
+
message: OK
|
860
|
+
headers:
|
861
|
+
Server:
|
862
|
+
- nginx
|
863
|
+
Date:
|
864
|
+
- Thu, 24 May 2012 17:20:13 GMT
|
865
|
+
Content-Type:
|
866
|
+
- application/json; charset=utf-8
|
867
|
+
Transfer-Encoding:
|
868
|
+
- chunked
|
869
|
+
Connection:
|
870
|
+
- keep-alive
|
871
|
+
Vary:
|
872
|
+
- Accept-Encoding
|
873
|
+
Status:
|
874
|
+
- 200 OK
|
875
|
+
Etag:
|
876
|
+
- ! '"a6b6b633c5630708da9292be6a5b78f0"'
|
877
|
+
Cache-Control:
|
878
|
+
- max-age=0, private, must-revalidate
|
879
|
+
X-Ua-Compatible:
|
880
|
+
- IE=Edge,chrome=1
|
881
|
+
Set-Cookie:
|
882
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMTQ0MjhmOWYwODgxZjg5OTk5NDg1MGI3NWJkMTg4NDhJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--8106429e7024302a6857b104f7874ae87c2efbfb;
|
883
|
+
domain=.cartodb.com; path=/; HttpOnly
|
884
|
+
X-Runtime:
|
885
|
+
- '0.018623'
|
886
|
+
Content-Encoding:
|
887
|
+
- gzip
|
888
|
+
body:
|
889
|
+
encoding: ASCII-8BIT
|
890
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","total_rows":2,"rows":[{"another_column":null,"the_geom":"GeoJSON","updated_at":"2012-05-24T19:02:12+02:00","created_at":"2012-05-24T19:02:12+02:00","description":null,"name":null,"cartodb_id":1},{"another_column":null,"the_geom":"GeoJSON","updated_at":"2012-05-24T19:20:13+02:00","created_at":"2012-05-24T19:20:13+02:00","description":null,"name":null,"cartodb_id":2}]}'
|
891
|
+
http_version: '1.1'
|
892
|
+
recorded_at: Thu, 24 May 2012 17:20:13 GMT
|
893
|
+
- request:
|
894
|
+
method: get
|
895
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
896
|
+
body:
|
897
|
+
encoding: US-ASCII
|
898
|
+
string: ''
|
899
|
+
headers:
|
900
|
+
Accept:
|
901
|
+
- &70160266538640 !ruby/object:MIME::Type
|
902
|
+
content_type: application/json
|
903
|
+
raw_media_type: application
|
904
|
+
raw_sub_type: json
|
905
|
+
simplified: application/json
|
906
|
+
media_type: application
|
907
|
+
sub_type: json
|
908
|
+
extensions:
|
909
|
+
- json
|
910
|
+
encoding: 8bit
|
911
|
+
system: !!null
|
912
|
+
registered: true
|
913
|
+
url:
|
914
|
+
- IANA
|
915
|
+
- RFC4627
|
916
|
+
obsolete: !!null
|
917
|
+
docs: !!null
|
918
|
+
Authorization:
|
919
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="S3lZwC0WMeZNlIJrjP21zTCFHcn5iM1A4AlturU4LM",
|
920
|
+
oauth_signature="q5wvqCkUSimzd0G8E4R7Q5V2p6U%3D", oauth_signature_method="HMAC-SHA1",
|
921
|
+
oauth_timestamp="1337880786", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
922
|
+
oauth_version="1.0"
|
923
|
+
response:
|
924
|
+
status:
|
925
|
+
code: 200
|
926
|
+
message: OK
|
927
|
+
headers:
|
928
|
+
Server:
|
929
|
+
- nginx
|
930
|
+
Date:
|
931
|
+
- Thu, 24 May 2012 17:33:06 GMT
|
932
|
+
Content-Type:
|
933
|
+
- application/json; charset=utf-8
|
934
|
+
Transfer-Encoding:
|
935
|
+
- chunked
|
936
|
+
Connection:
|
937
|
+
- keep-alive
|
938
|
+
Vary:
|
939
|
+
- Accept-Encoding
|
940
|
+
Status:
|
941
|
+
- 200 OK
|
942
|
+
Etag:
|
943
|
+
- ! '"6fbf5d178d3733d879961e43482f52cb"'
|
944
|
+
Cache-Control:
|
945
|
+
- max-age=0, private, must-revalidate
|
946
|
+
X-Ua-Compatible:
|
947
|
+
- IE=Edge,chrome=1
|
948
|
+
Set-Cookie:
|
949
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMTU3NzA0MTk1MmZhODBkNTBiZDAxMGMwNWQxZGI4M2RJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--6736b274e8a2d46275cb201b8342760f1a4b77fa;
|
950
|
+
domain=.cartodb.com; path=/; HttpOnly
|
951
|
+
X-Runtime:
|
952
|
+
- '0.074924'
|
953
|
+
Content-Encoding:
|
954
|
+
- gzip
|
955
|
+
body:
|
956
|
+
encoding: ASCII-8BIT
|
957
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
958
|
+
http_version: '1.1'
|
959
|
+
recorded_at: Thu, 24 May 2012 17:33:06 GMT
|
960
|
+
- request:
|
961
|
+
method: get
|
962
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
963
|
+
body:
|
964
|
+
encoding: US-ASCII
|
965
|
+
string: ''
|
966
|
+
headers:
|
967
|
+
Accept:
|
968
|
+
- *70160266538640
|
969
|
+
Authorization:
|
970
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="ryXvKOEja6PnKbnGYfyHNnsZYiYiNi3NQY6iM1GQ",
|
971
|
+
oauth_signature="NJ6XLxRsvehBLOt7EiztIlUs5aI%3D", oauth_signature_method="HMAC-SHA1",
|
972
|
+
oauth_timestamp="1337880786", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
973
|
+
oauth_version="1.0"
|
974
|
+
response:
|
975
|
+
status:
|
976
|
+
code: 200
|
977
|
+
message: OK
|
978
|
+
headers:
|
979
|
+
Server:
|
980
|
+
- nginx
|
981
|
+
Date:
|
982
|
+
- Thu, 24 May 2012 17:33:06 GMT
|
983
|
+
Content-Type:
|
984
|
+
- application/json; charset=utf-8
|
985
|
+
Transfer-Encoding:
|
986
|
+
- chunked
|
987
|
+
Connection:
|
988
|
+
- keep-alive
|
989
|
+
Vary:
|
990
|
+
- Accept-Encoding
|
991
|
+
Status:
|
992
|
+
- 200 OK
|
993
|
+
Etag:
|
994
|
+
- ! '"6fbf5d178d3733d879961e43482f52cb"'
|
995
|
+
Cache-Control:
|
996
|
+
- max-age=0, private, must-revalidate
|
997
|
+
X-Ua-Compatible:
|
998
|
+
- IE=Edge,chrome=1
|
999
|
+
Set-Cookie:
|
1000
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNzA4MWRlOTI0OWI2NDA3ZTcxYTU5MTVkYTZmODg4MjhJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--5dae63352029e2ded68454e009180d0129d4c5ce;
|
1001
|
+
domain=.cartodb.com; path=/; HttpOnly
|
1002
|
+
X-Runtime:
|
1003
|
+
- '0.016556'
|
1004
|
+
Content-Encoding:
|
1005
|
+
- gzip
|
1006
|
+
body:
|
1007
|
+
encoding: ASCII-8BIT
|
1008
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
1009
|
+
http_version: '1.1'
|
1010
|
+
recorded_at: Thu, 24 May 2012 17:33:07 GMT
|
1011
|
+
- request:
|
1012
|
+
method: get
|
1013
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
1014
|
+
body:
|
1015
|
+
encoding: US-ASCII
|
1016
|
+
string: ''
|
1017
|
+
headers:
|
1018
|
+
Accept:
|
1019
|
+
- *70160266538640
|
1020
|
+
Authorization:
|
1021
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="wc0fzIT18fBEv0Rh6Z2eX7uSfCgp35YkmZl6WrFrgk",
|
1022
|
+
oauth_signature="lmKBxDYDCk2JNTeBy6YTvJIotcs%3D", oauth_signature_method="HMAC-SHA1",
|
1023
|
+
oauth_timestamp="1337880787", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
1024
|
+
oauth_version="1.0"
|
1025
|
+
response:
|
1026
|
+
status:
|
1027
|
+
code: 200
|
1028
|
+
message: OK
|
1029
|
+
headers:
|
1030
|
+
Server:
|
1031
|
+
- nginx
|
1032
|
+
Date:
|
1033
|
+
- Thu, 24 May 2012 17:33:07 GMT
|
1034
|
+
Content-Type:
|
1035
|
+
- application/json; charset=utf-8
|
1036
|
+
Transfer-Encoding:
|
1037
|
+
- chunked
|
1038
|
+
Connection:
|
1039
|
+
- keep-alive
|
1040
|
+
Vary:
|
1041
|
+
- Accept-Encoding
|
1042
|
+
Status:
|
1043
|
+
- 200 OK
|
1044
|
+
Etag:
|
1045
|
+
- ! '"6fbf5d178d3733d879961e43482f52cb"'
|
1046
|
+
Cache-Control:
|
1047
|
+
- max-age=0, private, must-revalidate
|
1048
|
+
X-Ua-Compatible:
|
1049
|
+
- IE=Edge,chrome=1
|
1050
|
+
Set-Cookie:
|
1051
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYTY4NDEwMWQ0NTAzMjVjNzdkMTg2MzM2YTljMDNlODFJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--2d6b18cff31acd7327246657f34068661a257515;
|
1052
|
+
domain=.cartodb.com; path=/; HttpOnly
|
1053
|
+
X-Runtime:
|
1054
|
+
- '0.015936'
|
1055
|
+
Content-Encoding:
|
1056
|
+
- gzip
|
1057
|
+
body:
|
1058
|
+
encoding: ASCII-8BIT
|
1059
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
1060
|
+
http_version: '1.1'
|
1061
|
+
recorded_at: Thu, 24 May 2012 17:33:07 GMT
|
1062
|
+
- request:
|
1063
|
+
method: get
|
1064
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model/records?
|
1065
|
+
body:
|
1066
|
+
encoding: US-ASCII
|
1067
|
+
string: ''
|
1068
|
+
headers:
|
1069
|
+
Accept:
|
1070
|
+
- *70160266538640
|
1071
|
+
Authorization:
|
1072
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="S7W5GL4EAvBYS4UwzzZvOsVhUxpBk7J4ebqxBP9k",
|
1073
|
+
oauth_signature="nQj69Y6OJTihwPc4r1CtLDRAlII%3D", oauth_signature_method="HMAC-SHA1",
|
1074
|
+
oauth_timestamp="1337880787", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
1075
|
+
oauth_version="1.0"
|
1076
|
+
response:
|
1077
|
+
status:
|
1078
|
+
code: 200
|
1079
|
+
message: OK
|
1080
|
+
headers:
|
1081
|
+
Server:
|
1082
|
+
- nginx
|
1083
|
+
Date:
|
1084
|
+
- Thu, 24 May 2012 17:33:07 GMT
|
1085
|
+
Content-Type:
|
1086
|
+
- application/json; charset=utf-8
|
1087
|
+
Transfer-Encoding:
|
1088
|
+
- chunked
|
1089
|
+
Connection:
|
1090
|
+
- keep-alive
|
1091
|
+
Vary:
|
1092
|
+
- Accept-Encoding
|
1093
|
+
Status:
|
1094
|
+
- 200 OK
|
1095
|
+
Etag:
|
1096
|
+
- ! '"a6b6b633c5630708da9292be6a5b78f0"'
|
1097
|
+
Cache-Control:
|
1098
|
+
- max-age=0, private, must-revalidate
|
1099
|
+
X-Ua-Compatible:
|
1100
|
+
- IE=Edge,chrome=1
|
1101
|
+
Set-Cookie:
|
1102
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlOTdhZjJmNGQyODk4NjdiYzM3ODNiZDUyNmYzOWRiMjBJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--930b789af94f87898a2a3213e8e9f6ae454787f0;
|
1103
|
+
domain=.cartodb.com; path=/; HttpOnly
|
1104
|
+
X-Runtime:
|
1105
|
+
- '0.024499'
|
1106
|
+
Content-Encoding:
|
1107
|
+
- gzip
|
1108
|
+
body:
|
1109
|
+
encoding: ASCII-8BIT
|
1110
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","total_rows":2,"rows":[{"another_column":null,"the_geom":"GeoJSON","updated_at":"2012-05-24T19:02:12+02:00","created_at":"2012-05-24T19:02:12+02:00","description":null,"name":null,"cartodb_id":1},{"another_column":null,"the_geom":"GeoJSON","updated_at":"2012-05-24T19:20:13+02:00","created_at":"2012-05-24T19:20:13+02:00","description":null,"name":null,"cartodb_id":2}]}'
|
1111
|
+
http_version: '1.1'
|
1112
|
+
recorded_at: Thu, 24 May 2012 17:33:07 GMT
|
1113
|
+
- request:
|
1114
|
+
method: get
|
1115
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model?
|
1116
|
+
body:
|
1117
|
+
encoding: US-ASCII
|
1118
|
+
string: ''
|
1119
|
+
headers:
|
1120
|
+
Accept:
|
1121
|
+
- *70160266538640
|
1122
|
+
Authorization:
|
1123
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="NNbqnTKNmlCao9eNBj79OxQH4j9SN9uFUuqM6ybxBg",
|
1124
|
+
oauth_signature="Y1RzvdoYZr3tig5EY1Gd8yi7aM4%3D", oauth_signature_method="HMAC-SHA1",
|
1125
|
+
oauth_timestamp="1337880787", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
1126
|
+
oauth_version="1.0"
|
1127
|
+
response:
|
1128
|
+
status:
|
1129
|
+
code: 200
|
1130
|
+
message: OK
|
1131
|
+
headers:
|
1132
|
+
Server:
|
1133
|
+
- nginx
|
1134
|
+
Date:
|
1135
|
+
- Thu, 24 May 2012 17:33:07 GMT
|
1136
|
+
Content-Type:
|
1137
|
+
- application/json; charset=utf-8
|
1138
|
+
Transfer-Encoding:
|
1139
|
+
- chunked
|
1140
|
+
Connection:
|
1141
|
+
- keep-alive
|
1142
|
+
Vary:
|
1143
|
+
- Accept-Encoding
|
1144
|
+
Status:
|
1145
|
+
- 200 OK
|
1146
|
+
Etag:
|
1147
|
+
- ! '"6fbf5d178d3733d879961e43482f52cb"'
|
1148
|
+
Cache-Control:
|
1149
|
+
- max-age=0, private, must-revalidate
|
1150
|
+
X-Ua-Compatible:
|
1151
|
+
- IE=Edge,chrome=1
|
1152
|
+
Set-Cookie:
|
1153
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlN2RhZjdlNTQ4MjYxNWQzOGIwNDk2ZjQxNGFkZWE2NWFJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--fedfbc9297ac000735b984e744fd9f47d3d8e776;
|
1154
|
+
domain=.cartodb.com; path=/; HttpOnly
|
1155
|
+
X-Runtime:
|
1156
|
+
- '0.016816'
|
1157
|
+
Content-Encoding:
|
1158
|
+
- gzip
|
1159
|
+
body:
|
1160
|
+
encoding: ASCII-8BIT
|
1161
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","privacy":"PUBLIC","tags":"","schema":[["cartodb_id","number"],["the_geom","geometry","geometry","multipolygon"],["another_column","string"],["description","string"],["name","string"],["created_at","date"],["updated_at","date"]]}'
|
1162
|
+
http_version: '1.1'
|
1163
|
+
recorded_at: Thu, 24 May 2012 17:33:07 GMT
|
1164
|
+
- request:
|
1165
|
+
method: post
|
1166
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/sql
|
1167
|
+
body:
|
1168
|
+
encoding: US-ASCII
|
1169
|
+
string: ''
|
1170
|
+
headers:
|
1171
|
+
Accept:
|
1172
|
+
- *70160266538640
|
1173
|
+
Authorization:
|
1174
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="7EvnbOOhswYQg4hrh81euEvzVZMOEYjN6UBwNX8g0",
|
1175
|
+
oauth_signature="yt3wrv1U2pK3nUpGidxCZAmI%2BtU%3D", oauth_signature_method="HMAC-SHA1",
|
1176
|
+
oauth_timestamp="1337880787", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
1177
|
+
oauth_version="1.0"
|
1178
|
+
response:
|
1179
|
+
status:
|
1180
|
+
code: 200
|
1181
|
+
message: OK
|
1182
|
+
headers:
|
1183
|
+
Server:
|
1184
|
+
- nginx
|
1185
|
+
Date:
|
1186
|
+
- Thu, 24 May 2012 17:33:07 GMT
|
1187
|
+
Content-Type:
|
1188
|
+
- application/json; charset=utf-8
|
1189
|
+
Connection:
|
1190
|
+
- keep-alive
|
1191
|
+
X-Powered-By:
|
1192
|
+
- Express
|
1193
|
+
Content-Disposition:
|
1194
|
+
- inline; filename=cartodb-query.json; modification-date="Thu, 24 May 2012 17:33:07
|
1195
|
+
GMT";
|
1196
|
+
Access-Control-Allow-Origin:
|
1197
|
+
- ! '*'
|
1198
|
+
Access-Control-Allow-Headers:
|
1199
|
+
- X-Requested-With
|
1200
|
+
Last-Modified:
|
1201
|
+
- Thu, 24 May 2012 17:33:07 GMT
|
1202
|
+
Cache-Control:
|
1203
|
+
- no-cache,max-age=3600,must-revalidate, public
|
1204
|
+
X-Cache-Channel:
|
1205
|
+
- cartodb_user_384_db:polygon_geometry_model
|
1206
|
+
Content-Length:
|
1207
|
+
- '787'
|
1208
|
+
body:
|
1209
|
+
encoding: ASCII-8BIT
|
1210
|
+
string: ! '{"time":0.108,"total_rows":1,"rows":[{"id":3,"cartodb_id":3,"name":null,"description":null,"created_at":"2012-05-24T19:33:07.536Z","updated_at":"2012-05-24T19:33:07.536Z","the_geom":"0106000020E61000000100000001030000000100000007000000A1F7C610003C0EC0D76CE525FF1F4040B939950C000D21C020D099B4A9963A401E19ABCDFF2B00C08A0453CDAC4D3440B939950C00752240815EB873619037408F8CD5E6FFC51B4029EACC3D24B03D4071732A1900DA16408A03E8F7FD454040A1F7C610003C0EC0D76CE525FF1F4040","the_geom_webmercator":"0106000020110F00000100000001030000000100000007000000F06D9EAB95AD19C100D9A14164F64C41789CAF5E64F62CC11049E1824E704741460A648E34780BC14B255FE7C89D4141881E5F67E3592F411994EAA8279A44411A9165608696274174E12F54AD6C4A413794F13B68682341B41E7727D4424D41F06D9EAB95AD19C100D9A14164F64C41","another_column":null}]}'
|
1211
|
+
http_version: '1.1'
|
1212
|
+
recorded_at: Thu, 24 May 2012 17:33:07 GMT
|
1213
|
+
- request:
|
1214
|
+
method: get
|
1215
|
+
uri: https://cartodb-rb-client.cartodb.com/api/v1/tables/polygon_geometry_model/records?
|
1216
|
+
body:
|
1217
|
+
encoding: US-ASCII
|
1218
|
+
string: ''
|
1219
|
+
headers:
|
1220
|
+
Accept:
|
1221
|
+
- *70160266538640
|
1222
|
+
Authorization:
|
1223
|
+
- OAuth oauth_consumer_key="0gRpcgKQK8bpcvSzM5ED4NqaSbNQ8ivS4q0pVdJF", oauth_nonce="8fJnTt1VpAO9zt4SGgr0x0jxpDYJE22nt2AEQBH1mI",
|
1224
|
+
oauth_signature="6Jl2Q5vzwZtR%2BKJc87ho9tnmgEc%3D", oauth_signature_method="HMAC-SHA1",
|
1225
|
+
oauth_timestamp="1337880787", oauth_token="7PalByYmKY8Dzh76fnt05e0YPXRJino0dyqHZYCw",
|
1226
|
+
oauth_version="1.0"
|
1227
|
+
response:
|
1228
|
+
status:
|
1229
|
+
code: 200
|
1230
|
+
message: OK
|
1231
|
+
headers:
|
1232
|
+
Server:
|
1233
|
+
- nginx
|
1234
|
+
Date:
|
1235
|
+
- Thu, 24 May 2012 17:33:07 GMT
|
1236
|
+
Content-Type:
|
1237
|
+
- application/json; charset=utf-8
|
1238
|
+
Transfer-Encoding:
|
1239
|
+
- chunked
|
1240
|
+
Connection:
|
1241
|
+
- keep-alive
|
1242
|
+
Vary:
|
1243
|
+
- Accept-Encoding
|
1244
|
+
Status:
|
1245
|
+
- 200 OK
|
1246
|
+
Etag:
|
1247
|
+
- ! '"df3685419144de41842f9e4ad4864558"'
|
1248
|
+
Cache-Control:
|
1249
|
+
- max-age=0, private, must-revalidate
|
1250
|
+
X-Ua-Compatible:
|
1251
|
+
- IE=Edge,chrome=1
|
1252
|
+
Set-Cookie:
|
1253
|
+
- _cartodb_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNTgyNDNmOWQ4OGYzY2QxN2Y2NTkxNzU3M2U5MDdiMjlJIiZ3YXJkZW4udXNlci5jYXJ0b2RiLXJiLWNsaWVudC5rZXkGOwBUSSIWY2FydG9kYi1yYi1jbGllbnQGOwBU--a1d210cb138b6a5450eb5fafa3c9385e95f7b9ae;
|
1254
|
+
domain=.cartodb.com; path=/; HttpOnly
|
1255
|
+
X-Runtime:
|
1256
|
+
- '0.018859'
|
1257
|
+
Content-Encoding:
|
1258
|
+
- gzip
|
1259
|
+
body:
|
1260
|
+
encoding: ASCII-8BIT
|
1261
|
+
string: ! '{"id":4766,"name":"polygon_geometry_model","total_rows":3,"rows":[{"another_column":null,"the_geom":"GeoJSON","updated_at":"2012-05-24T19:02:12+02:00","created_at":"2012-05-24T19:02:12+02:00","description":null,"name":null,"cartodb_id":1},{"another_column":null,"the_geom":"GeoJSON","updated_at":"2012-05-24T19:20:13+02:00","created_at":"2012-05-24T19:20:13+02:00","description":null,"name":null,"cartodb_id":2},{"another_column":null,"the_geom":"GeoJSON","updated_at":"2012-05-24T19:33:07+02:00","created_at":"2012-05-24T19:33:07+02:00","description":null,"name":null,"cartodb_id":3}]}'
|
1262
|
+
http_version: '1.1'
|
1263
|
+
recorded_at: Thu, 24 May 2012 17:33:07 GMT
|
1264
|
+
recorded_with: VCR 2.1.1
|