parse_resource 1.7.3 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.DS_Store +0 -0
- data/.travis.yml +1 -1
- data/Gemfile +4 -8
- data/Gemfile.lock +27 -23
- data/README.md +81 -2
- data/Rakefile +9 -8
- data/VERSION +1 -1
- data/fixtures/.DS_Store +0 -0
- data/fixtures/vcr_cassettes/.DS_Store +0 -0
- data/fixtures/vcr_cassettes/test_all.yml +319 -34
- data/fixtures/vcr_cassettes/test_attribute_getters.yml +256 -12
- data/fixtures/vcr_cassettes/test_attribute_setters.yml +256 -12
- data/fixtures/vcr_cassettes/test_authenticate.yml +260 -32
- data/fixtures/vcr_cassettes/test_chained_wheres.yml +320 -35
- data/fixtures/vcr_cassettes/test_chunk.yml +1359 -0
- data/fixtures/vcr_cassettes/test_count.yml +495 -84
- data/fixtures/vcr_cassettes/test_create.yml +154 -12
- data/fixtures/vcr_cassettes/test_created_at.yml +256 -12
- data/fixtures/vcr_cassettes/test_destroy.yml +364 -32
- data/fixtures/vcr_cassettes/test_destroy_all.yml +236 -48
- data/fixtures/vcr_cassettes/test_each.yml +488 -56
- data/fixtures/vcr_cassettes/test_fetching_closest_10.yml +1509 -0
- data/fixtures/vcr_cassettes/test_fetching_closest_by_kilometers.yml +1509 -0
- data/fixtures/vcr_cassettes/test_fetching_closest_by_miles.yml +1509 -0
- data/fixtures/vcr_cassettes/test_fetching_closest_by_radians.yml +1509 -0
- data/fixtures/vcr_cassettes/test_fetching_closest_within_box.yml +489 -0
- data/fixtures/vcr_cassettes/test_fetching_geopoint_field.yml +489 -0
- data/fixtures/vcr_cassettes/test_find.yml +312 -24
- data/fixtures/vcr_cassettes/test_find_all_by.yml +170 -34
- data/fixtures/vcr_cassettes/test_find_by.yml +174 -38
- data/fixtures/vcr_cassettes/test_first.yml +260 -23
- data/fixtures/vcr_cassettes/test_id.yml +256 -12
- data/fixtures/vcr_cassettes/test_installation_creation.yml +199 -0
- data/fixtures/vcr_cassettes/test_installation_creation_validation_check.yml +297 -0
- data/fixtures/vcr_cassettes/test_limit.yml +1138 -179
- data/fixtures/vcr_cassettes/test_map.yml +488 -56
- data/fixtures/vcr_cassettes/test_order_ascending.yml +395 -0
- data/fixtures/vcr_cassettes/test_order_descending.yml +446 -0
- data/fixtures/vcr_cassettes/test_save.yml +316 -24
- data/fixtures/vcr_cassettes/test_save_all_and_destroy_all.yml +869 -0
- data/fixtures/vcr_cassettes/test_saving_geo_point_with_quick_init.yml +395 -0
- data/fixtures/vcr_cassettes/test_saving_geopoint_with_coords.yml +395 -0
- data/fixtures/vcr_cassettes/test_skip.yml +120 -525
- data/fixtures/vcr_cassettes/test_update.yml +316 -24
- data/fixtures/vcr_cassettes/test_updated_at.yml +316 -24
- data/fixtures/vcr_cassettes/test_username_should_be_unique.yml +311 -21
- data/fixtures/vcr_cassettes/test_where.yml +117 -25
- data/lib/kaminari_extension.rb +60 -0
- data/lib/parse_resource.rb +4 -2
- data/lib/parse_resource/base.rb +262 -163
- data/lib/parse_resource/client.rb +8 -0
- data/lib/parse_resource/parse_error.rb +36 -22
- data/lib/parse_resource/query.rb +99 -7
- data/lib/parse_resource/query_methods.rb +64 -0
- data/lib/parse_resource/types/parse_geopoint.rb +19 -0
- data/parse_resource.gemspec +29 -9
- data/parse_resource.yml +2 -2
- data/test/active_model_lint_test.rb +0 -2
- data/test/helper.rb +13 -3
- data/test/test_parse_installation.rb +41 -0
- data/test/test_parse_resource.rb +108 -20
- data/test/test_parse_user.rb +4 -7
- data/test/test_query_options.rb +0 -38
- data/test/test_types.rb +186 -0
- metadata +38 -31
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://
|
5
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Knife
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: ! '{"is_shiny":"arbitrary"}'
|
@@ -22,27 +22,24 @@ http_interactions:
|
|
22
22
|
code: 201
|
23
23
|
message: Created
|
24
24
|
headers:
|
25
|
-
Access-Control-Allow-Origin:
|
26
|
-
- https://parse.com, https://www.parse.com
|
27
|
-
Access-Control-Request-Method:
|
28
|
-
- ! '*'
|
29
25
|
Cache-Control:
|
30
26
|
- no-cache
|
31
27
|
Content-Type:
|
32
28
|
- application/json; charset=utf-8
|
33
29
|
Date:
|
34
|
-
-
|
30
|
+
- Wed, 17 Apr 2013 06:26:24 GMT
|
35
31
|
Location:
|
36
|
-
- https://api.parse.com/1/classes/Knife/
|
32
|
+
- https://api.parse.com/1/classes/Knife/xQOMz3MEZv
|
37
33
|
Server:
|
38
34
|
- nginx/1.2.2
|
39
35
|
Set-Cookie:
|
40
|
-
- _parse_session=
|
41
|
-
domain=.parse.com; path=/; expires=
|
36
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZThlNjZhMGM0NmMzMzUxYTM4OWFjNTVmNzA3MmJiZDg%3D--50250605dedb1fdb91eab0c4174f65a450bb431c;
|
37
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:26:24 GMT; secure;
|
38
|
+
HttpOnly
|
42
39
|
Status:
|
43
40
|
- 201 Created
|
44
41
|
X-Runtime:
|
45
|
-
- '0.
|
42
|
+
- '0.034645'
|
46
43
|
X-Ua-Compatible:
|
47
44
|
- IE=Edge,chrome=1
|
48
45
|
Content-Length:
|
@@ -51,12 +48,12 @@ http_interactions:
|
|
51
48
|
- keep-alive
|
52
49
|
body:
|
53
50
|
encoding: US-ASCII
|
54
|
-
string: ! '{"createdAt":"
|
51
|
+
string: ! '{"createdAt":"2013-04-17T06:26:24.134Z","objectId":"xQOMz3MEZv"}'
|
55
52
|
http_version:
|
56
|
-
recorded_at:
|
53
|
+
recorded_at: Wed, 17 Apr 2013 06:26:24 GMT
|
57
54
|
- request:
|
58
55
|
method: get
|
59
|
-
uri: https://
|
56
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Knife?where=%7B%7D
|
60
57
|
body:
|
61
58
|
encoding: US-ASCII
|
62
59
|
string: ''
|
@@ -72,27 +69,24 @@ http_interactions:
|
|
72
69
|
code: 200
|
73
70
|
message: OK
|
74
71
|
headers:
|
75
|
-
Access-Control-Allow-Origin:
|
76
|
-
- https://parse.com, https://www.parse.com
|
77
|
-
Access-Control-Request-Method:
|
78
|
-
- ! '*'
|
79
72
|
Cache-Control:
|
80
73
|
- max-age=0, private, must-revalidate
|
81
74
|
Content-Type:
|
82
75
|
- application/json; charset=utf-8
|
83
76
|
Date:
|
84
|
-
-
|
77
|
+
- Wed, 17 Apr 2013 06:26:24 GMT
|
85
78
|
Etag:
|
86
|
-
- ! '"
|
79
|
+
- ! '"349e72d07e3ecf1865a5ce3247c81db4"'
|
87
80
|
Server:
|
88
81
|
- nginx/1.2.2
|
89
82
|
Set-Cookie:
|
90
|
-
- _parse_session=
|
91
|
-
domain=.parse.com; path=/; expires=
|
83
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMWMzNmM4OWE0N2U3Yjg1MzlmMTdlY2E0NjQwNzg4MTg%3D--f8bd54338f5ebe0c284d2b2ae6ea339f91f0bc45;
|
84
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:26:24 GMT; secure;
|
85
|
+
HttpOnly
|
92
86
|
Status:
|
93
87
|
- 200 OK
|
94
88
|
X-Runtime:
|
95
|
-
- '0.
|
89
|
+
- '0.028852'
|
96
90
|
X-Ua-Compatible:
|
97
91
|
- IE=Edge,chrome=1
|
98
92
|
Content-Length:
|
@@ -101,12 +95,161 @@ http_interactions:
|
|
101
95
|
- keep-alive
|
102
96
|
body:
|
103
97
|
encoding: US-ASCII
|
104
|
-
string: ! '{"results":[{"is_shiny":"arbitrary","createdAt":"
|
98
|
+
string: ! '{"results":[{"is_shiny":"arbitrary","createdAt":"2013-04-17T06:26:24.134Z","updatedAt":"2013-04-17T06:26:24.134Z","objectId":"xQOMz3MEZv"}]}'
|
99
|
+
http_version:
|
100
|
+
recorded_at: Wed, 17 Apr 2013 06:26:24 GMT
|
101
|
+
- request:
|
102
|
+
method: post
|
103
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/batch
|
104
|
+
body:
|
105
|
+
encoding: UTF-8
|
106
|
+
string: ! '{"requests":[{"method":"DELETE","path":"/1/classes/Knife/xQOMz3MEZv"}]}'
|
107
|
+
headers:
|
108
|
+
Accept:
|
109
|
+
- ! '*/*; q=0.5, application/xml'
|
110
|
+
Accept-Encoding:
|
111
|
+
- gzip, deflate
|
112
|
+
Content-Type:
|
113
|
+
- application/json
|
114
|
+
Content-Length:
|
115
|
+
- '71'
|
116
|
+
User-Agent:
|
117
|
+
- Ruby
|
118
|
+
response:
|
119
|
+
status:
|
120
|
+
code: 200
|
121
|
+
message: OK
|
122
|
+
headers:
|
123
|
+
Cache-Control:
|
124
|
+
- max-age=0, private, must-revalidate
|
125
|
+
Content-Type:
|
126
|
+
- application/json; charset=utf-8
|
127
|
+
Date:
|
128
|
+
- Wed, 17 Apr 2013 06:26:25 GMT
|
129
|
+
Etag:
|
130
|
+
- ! '"6abe125b20486fefa07552105cea58f3"'
|
131
|
+
Server:
|
132
|
+
- nginx/1.2.2
|
133
|
+
Set-Cookie:
|
134
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYWE0NzdmNmJkMDY0ZDZjNWZkMTQ0YTY0MTM2NGVhYzE%3D--e77db52add04f565f94ce9fde96a0a0f60361678;
|
135
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:26:25 GMT; secure;
|
136
|
+
HttpOnly
|
137
|
+
Status:
|
138
|
+
- 200 OK
|
139
|
+
X-Runtime:
|
140
|
+
- '0.034901'
|
141
|
+
X-Ua-Compatible:
|
142
|
+
- IE=Edge,chrome=1
|
143
|
+
Content-Length:
|
144
|
+
- '18'
|
145
|
+
Connection:
|
146
|
+
- keep-alive
|
147
|
+
body:
|
148
|
+
encoding: US-ASCII
|
149
|
+
string: ! '[{"success":true}]'
|
150
|
+
http_version:
|
151
|
+
recorded_at: Wed, 17 Apr 2013 06:26:25 GMT
|
152
|
+
- request:
|
153
|
+
method: get
|
154
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Knife?count=1&where=%7B%7D
|
155
|
+
body:
|
156
|
+
encoding: US-ASCII
|
157
|
+
string: ''
|
158
|
+
headers:
|
159
|
+
Accept:
|
160
|
+
- ! '*/*; q=0.5, application/xml'
|
161
|
+
Accept-Encoding:
|
162
|
+
- gzip, deflate
|
163
|
+
User-Agent:
|
164
|
+
- Ruby
|
165
|
+
response:
|
166
|
+
status:
|
167
|
+
code: 200
|
168
|
+
message: OK
|
169
|
+
headers:
|
170
|
+
Cache-Control:
|
171
|
+
- max-age=0, private, must-revalidate
|
172
|
+
Content-Type:
|
173
|
+
- application/json; charset=utf-8
|
174
|
+
Date:
|
175
|
+
- Wed, 17 Apr 2013 06:26:25 GMT
|
176
|
+
Etag:
|
177
|
+
- ! '"8c97ea0119fb2eb809f32e913cb37202"'
|
178
|
+
Server:
|
179
|
+
- nginx/1.2.2
|
180
|
+
Set-Cookie:
|
181
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNWM3M2M4MGQ5ZGVhZjliZTkwZTNkOTIyY2UzODBmZGU%3D--b8f34fb25ad9de0a1b986596fa715f6e6f763933;
|
182
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:26:25 GMT; secure;
|
183
|
+
HttpOnly
|
184
|
+
Status:
|
185
|
+
- 200 OK
|
186
|
+
X-Runtime:
|
187
|
+
- '0.033442'
|
188
|
+
X-Ua-Compatible:
|
189
|
+
- IE=Edge,chrome=1
|
190
|
+
Content-Length:
|
191
|
+
- '24'
|
192
|
+
Connection:
|
193
|
+
- keep-alive
|
194
|
+
body:
|
195
|
+
encoding: US-ASCII
|
196
|
+
string: ! '{"results":[],"count":0}'
|
197
|
+
http_version:
|
198
|
+
recorded_at: Wed, 17 Apr 2013 06:26:25 GMT
|
199
|
+
- request:
|
200
|
+
method: post
|
201
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Knife
|
202
|
+
body:
|
203
|
+
encoding: UTF-8
|
204
|
+
string: ! '{"is_shiny":"arbitrary"}'
|
205
|
+
headers:
|
206
|
+
Accept:
|
207
|
+
- ! '*/*; q=0.5, application/xml'
|
208
|
+
Accept-Encoding:
|
209
|
+
- gzip, deflate
|
210
|
+
Content-Type:
|
211
|
+
- application/json
|
212
|
+
Content-Length:
|
213
|
+
- '24'
|
214
|
+
User-Agent:
|
215
|
+
- Ruby
|
216
|
+
response:
|
217
|
+
status:
|
218
|
+
code: 201
|
219
|
+
message: Created
|
220
|
+
headers:
|
221
|
+
Cache-Control:
|
222
|
+
- no-cache
|
223
|
+
Content-Type:
|
224
|
+
- application/json; charset=utf-8
|
225
|
+
Date:
|
226
|
+
- Wed, 17 Apr 2013 20:08:31 GMT
|
227
|
+
Location:
|
228
|
+
- https://api.parse.com/1/classes/Knife/ug0FquS5qz
|
229
|
+
Server:
|
230
|
+
- nginx/1.2.2
|
231
|
+
Set-Cookie:
|
232
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlODRkOWVkMmVkNzNiMTgyYzYwZTM5ZTg5NzRiMDMwMWU%3D--008dad5fa960b61d1ec414ce86bdad85b408604b;
|
233
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:31 GMT; secure;
|
234
|
+
HttpOnly
|
235
|
+
Status:
|
236
|
+
- 201 Created
|
237
|
+
X-Runtime:
|
238
|
+
- '0.036054'
|
239
|
+
X-Ua-Compatible:
|
240
|
+
- IE=Edge,chrome=1
|
241
|
+
Content-Length:
|
242
|
+
- '64'
|
243
|
+
Connection:
|
244
|
+
- keep-alive
|
245
|
+
body:
|
246
|
+
encoding: US-ASCII
|
247
|
+
string: ! '{"createdAt":"2013-04-17T20:08:31.701Z","objectId":"ug0FquS5qz"}'
|
105
248
|
http_version:
|
106
|
-
recorded_at:
|
249
|
+
recorded_at: Wed, 17 Apr 2013 20:08:31 GMT
|
107
250
|
- request:
|
108
|
-
method:
|
109
|
-
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Knife
|
251
|
+
method: get
|
252
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Knife?where=%7B%7D
|
110
253
|
body:
|
111
254
|
encoding: US-ASCII
|
112
255
|
string: ''
|
@@ -122,38 +265,86 @@ http_interactions:
|
|
122
265
|
code: 200
|
123
266
|
message: OK
|
124
267
|
headers:
|
125
|
-
Access-Control-Allow-Origin:
|
126
|
-
- https://parse.com, https://www.parse.com
|
127
|
-
Access-Control-Request-Method:
|
128
|
-
- ! '*'
|
129
268
|
Cache-Control:
|
130
269
|
- max-age=0, private, must-revalidate
|
131
270
|
Content-Type:
|
132
271
|
- application/json; charset=utf-8
|
133
272
|
Date:
|
134
|
-
-
|
273
|
+
- Wed, 17 Apr 2013 20:08:31 GMT
|
274
|
+
Etag:
|
275
|
+
- ! '"3d09e336879b8624244596fb2a413ded"'
|
276
|
+
Server:
|
277
|
+
- nginx/1.2.2
|
278
|
+
Set-Cookie:
|
279
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlOWZiOTIxYmFhZWI3NmM4YmZiYWQxZGYyMDY1NTQwNGY%3D--380d0f886738099ceea54e2399c01bb2db6c3962;
|
280
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:31 GMT; secure;
|
281
|
+
HttpOnly
|
282
|
+
Status:
|
283
|
+
- 200 OK
|
284
|
+
X-Runtime:
|
285
|
+
- '0.025418'
|
286
|
+
X-Ua-Compatible:
|
287
|
+
- IE=Edge,chrome=1
|
288
|
+
Content-Length:
|
289
|
+
- '140'
|
290
|
+
Connection:
|
291
|
+
- keep-alive
|
292
|
+
body:
|
293
|
+
encoding: US-ASCII
|
294
|
+
string: ! '{"results":[{"is_shiny":"arbitrary","createdAt":"2013-04-17T20:08:31.701Z","updatedAt":"2013-04-17T20:08:31.701Z","objectId":"ug0FquS5qz"}]}'
|
295
|
+
http_version:
|
296
|
+
recorded_at: Wed, 17 Apr 2013 20:08:31 GMT
|
297
|
+
- request:
|
298
|
+
method: post
|
299
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/batch
|
300
|
+
body:
|
301
|
+
encoding: UTF-8
|
302
|
+
string: ! '{"requests":[{"method":"DELETE","path":"/1/classes/Knife/ug0FquS5qz"}]}'
|
303
|
+
headers:
|
304
|
+
Accept:
|
305
|
+
- ! '*/*; q=0.5, application/xml'
|
306
|
+
Accept-Encoding:
|
307
|
+
- gzip, deflate
|
308
|
+
Content-Type:
|
309
|
+
- application/json
|
310
|
+
Content-Length:
|
311
|
+
- '71'
|
312
|
+
User-Agent:
|
313
|
+
- Ruby
|
314
|
+
response:
|
315
|
+
status:
|
316
|
+
code: 200
|
317
|
+
message: OK
|
318
|
+
headers:
|
319
|
+
Cache-Control:
|
320
|
+
- max-age=0, private, must-revalidate
|
321
|
+
Content-Type:
|
322
|
+
- application/json; charset=utf-8
|
323
|
+
Date:
|
324
|
+
- Wed, 17 Apr 2013 20:08:32 GMT
|
135
325
|
Etag:
|
136
|
-
- ! '"
|
326
|
+
- ! '"6abe125b20486fefa07552105cea58f3"'
|
137
327
|
Server:
|
138
328
|
- nginx/1.2.2
|
139
329
|
Set-Cookie:
|
140
|
-
- _parse_session=
|
141
|
-
domain=.parse.com; path=/; expires=
|
330
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNzYzMjJkMWQ3NjZjOGNmOGQzYzM1ZTBjMTMxYjIyMWE%3D--bc4d61492c9ff847754efd3c8ba556749ba4655c;
|
331
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:32 GMT; secure;
|
332
|
+
HttpOnly
|
142
333
|
Status:
|
143
334
|
- 200 OK
|
144
335
|
X-Runtime:
|
145
|
-
- '0.
|
336
|
+
- '0.123676'
|
146
337
|
X-Ua-Compatible:
|
147
338
|
- IE=Edge,chrome=1
|
148
339
|
Content-Length:
|
149
|
-
- '
|
340
|
+
- '18'
|
150
341
|
Connection:
|
151
342
|
- keep-alive
|
152
343
|
body:
|
153
344
|
encoding: US-ASCII
|
154
|
-
string: ! '{}'
|
345
|
+
string: ! '[{"success":true}]'
|
155
346
|
http_version:
|
156
|
-
recorded_at:
|
347
|
+
recorded_at: Wed, 17 Apr 2013 20:08:32 GMT
|
157
348
|
- request:
|
158
349
|
method: get
|
159
350
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Knife?count=1&where=%7B%7D
|
@@ -172,27 +363,24 @@ http_interactions:
|
|
172
363
|
code: 200
|
173
364
|
message: OK
|
174
365
|
headers:
|
175
|
-
Access-Control-Allow-Origin:
|
176
|
-
- https://parse.com, https://www.parse.com
|
177
|
-
Access-Control-Request-Method:
|
178
|
-
- ! '*'
|
179
366
|
Cache-Control:
|
180
367
|
- max-age=0, private, must-revalidate
|
181
368
|
Content-Type:
|
182
369
|
- application/json; charset=utf-8
|
183
370
|
Date:
|
184
|
-
-
|
371
|
+
- Wed, 17 Apr 2013 20:08:32 GMT
|
185
372
|
Etag:
|
186
373
|
- ! '"8c97ea0119fb2eb809f32e913cb37202"'
|
187
374
|
Server:
|
188
375
|
- nginx/1.2.2
|
189
376
|
Set-Cookie:
|
190
|
-
- _parse_session=
|
191
|
-
domain=.parse.com; path=/; expires=
|
377
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYmM2MTAwYzExNzE1NTlhYjU2YzE3YzVjYWNlNmI3NTY%3D--56665e04b70810d69cef9bfe29a3357bd5dddf41;
|
378
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:32 GMT; secure;
|
379
|
+
HttpOnly
|
192
380
|
Status:
|
193
381
|
- 200 OK
|
194
382
|
X-Runtime:
|
195
|
-
- '0.
|
383
|
+
- '0.045320'
|
196
384
|
X-Ua-Compatible:
|
197
385
|
- IE=Edge,chrome=1
|
198
386
|
Content-Length:
|
@@ -203,5 +391,5 @@ http_interactions:
|
|
203
391
|
encoding: US-ASCII
|
204
392
|
string: ! '{"results":[],"count":0}'
|
205
393
|
http_version:
|
206
|
-
recorded_at:
|
207
|
-
recorded_with: VCR 2.
|
394
|
+
recorded_at: Wed, 17 Apr 2013 20:08:32 GMT
|
395
|
+
recorded_with: VCR 2.4.0
|
@@ -1,5 +1,401 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post?where=%7B%7D
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*; q=0.5, application/xml'
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip, deflate
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- max-age=0, private, must-revalidate
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Date:
|
26
|
+
- Wed, 17 Apr 2013 07:24:40 GMT
|
27
|
+
Etag:
|
28
|
+
- ! '"e2412c1ffbfb6b53a82a9daf665b2c1a"'
|
29
|
+
Server:
|
30
|
+
- nginx/1.2.2
|
31
|
+
Set-Cookie:
|
32
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMGY1YjNjM2U3OWY3M2I2ZTVhNWNiNWY4ZWU2YWI5NDY%3D--2a15d99e8d4dbb9bb2060bc27a409cc25a403e9f;
|
33
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 07:24:40 GMT; secure;
|
34
|
+
HttpOnly
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
37
|
+
X-Runtime:
|
38
|
+
- '0.029979'
|
39
|
+
X-Ua-Compatible:
|
40
|
+
- IE=Edge,chrome=1
|
41
|
+
Content-Length:
|
42
|
+
- '14'
|
43
|
+
Connection:
|
44
|
+
- keep-alive
|
45
|
+
body:
|
46
|
+
encoding: US-ASCII
|
47
|
+
string: ! '{"results":[]}'
|
48
|
+
http_version:
|
49
|
+
recorded_at: Wed, 17 Apr 2013 07:24:40 GMT
|
50
|
+
- request:
|
51
|
+
method: post
|
52
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: ! '{"title":"each"}'
|
56
|
+
headers:
|
57
|
+
Accept:
|
58
|
+
- ! '*/*; q=0.5, application/xml'
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip, deflate
|
61
|
+
Content-Type:
|
62
|
+
- application/json
|
63
|
+
Content-Length:
|
64
|
+
- '16'
|
65
|
+
User-Agent:
|
66
|
+
- Ruby
|
67
|
+
response:
|
68
|
+
status:
|
69
|
+
code: 201
|
70
|
+
message: Created
|
71
|
+
headers:
|
72
|
+
Cache-Control:
|
73
|
+
- no-cache
|
74
|
+
Content-Type:
|
75
|
+
- application/json; charset=utf-8
|
76
|
+
Date:
|
77
|
+
- Wed, 17 Apr 2013 07:24:41 GMT
|
78
|
+
Location:
|
79
|
+
- https://api.parse.com/1/classes/Post/GKPqV2lDiG
|
80
|
+
Server:
|
81
|
+
- nginx/1.2.2
|
82
|
+
Set-Cookie:
|
83
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZWY5NTk0ZjgzYmEyNjk3NGI4N2Y0N2U2NzUwZGU0YzA%3D--56ed46ea597358e76c948674032fe8021d2bb38e;
|
84
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 07:24:41 GMT; secure;
|
85
|
+
HttpOnly
|
86
|
+
Status:
|
87
|
+
- 201 Created
|
88
|
+
X-Runtime:
|
89
|
+
- '0.364701'
|
90
|
+
X-Ua-Compatible:
|
91
|
+
- IE=Edge,chrome=1
|
92
|
+
Content-Length:
|
93
|
+
- '64'
|
94
|
+
Connection:
|
95
|
+
- keep-alive
|
96
|
+
body:
|
97
|
+
encoding: US-ASCII
|
98
|
+
string: ! '{"createdAt":"2013-04-17T07:24:41.511Z","objectId":"GKPqV2lDiG"}'
|
99
|
+
http_version:
|
100
|
+
recorded_at: Wed, 17 Apr 2013 07:24:41 GMT
|
101
|
+
- request:
|
102
|
+
method: post
|
103
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post
|
104
|
+
body:
|
105
|
+
encoding: UTF-8
|
106
|
+
string: ! '{"title":"each"}'
|
107
|
+
headers:
|
108
|
+
Accept:
|
109
|
+
- ! '*/*; q=0.5, application/xml'
|
110
|
+
Accept-Encoding:
|
111
|
+
- gzip, deflate
|
112
|
+
Content-Type:
|
113
|
+
- application/json
|
114
|
+
Content-Length:
|
115
|
+
- '16'
|
116
|
+
User-Agent:
|
117
|
+
- Ruby
|
118
|
+
response:
|
119
|
+
status:
|
120
|
+
code: 201
|
121
|
+
message: Created
|
122
|
+
headers:
|
123
|
+
Cache-Control:
|
124
|
+
- no-cache
|
125
|
+
Content-Type:
|
126
|
+
- application/json; charset=utf-8
|
127
|
+
Date:
|
128
|
+
- Wed, 17 Apr 2013 07:24:42 GMT
|
129
|
+
Location:
|
130
|
+
- https://api.parse.com/1/classes/Post/rYO8QVM5Uc
|
131
|
+
Server:
|
132
|
+
- nginx/1.2.2
|
133
|
+
Set-Cookie:
|
134
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYzcwYWU3NDkxOGMyZjU1MDM0ODM1YjIxYTYzNTE0MGM%3D--42f9003b5b60f86df2fe371d091875c1aa745244;
|
135
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 07:24:42 GMT; secure;
|
136
|
+
HttpOnly
|
137
|
+
Status:
|
138
|
+
- 201 Created
|
139
|
+
X-Runtime:
|
140
|
+
- '0.028754'
|
141
|
+
X-Ua-Compatible:
|
142
|
+
- IE=Edge,chrome=1
|
143
|
+
Content-Length:
|
144
|
+
- '64'
|
145
|
+
Connection:
|
146
|
+
- keep-alive
|
147
|
+
body:
|
148
|
+
encoding: US-ASCII
|
149
|
+
string: ! '{"createdAt":"2013-04-17T07:24:42.262Z","objectId":"rYO8QVM5Uc"}'
|
150
|
+
http_version:
|
151
|
+
recorded_at: Wed, 17 Apr 2013 07:24:42 GMT
|
152
|
+
- request:
|
153
|
+
method: post
|
154
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post
|
155
|
+
body:
|
156
|
+
encoding: UTF-8
|
157
|
+
string: ! '{"title":"each"}'
|
158
|
+
headers:
|
159
|
+
Accept:
|
160
|
+
- ! '*/*; q=0.5, application/xml'
|
161
|
+
Accept-Encoding:
|
162
|
+
- gzip, deflate
|
163
|
+
Content-Type:
|
164
|
+
- application/json
|
165
|
+
Content-Length:
|
166
|
+
- '16'
|
167
|
+
User-Agent:
|
168
|
+
- Ruby
|
169
|
+
response:
|
170
|
+
status:
|
171
|
+
code: 201
|
172
|
+
message: Created
|
173
|
+
headers:
|
174
|
+
Cache-Control:
|
175
|
+
- no-cache
|
176
|
+
Content-Type:
|
177
|
+
- application/json; charset=utf-8
|
178
|
+
Date:
|
179
|
+
- Wed, 17 Apr 2013 07:24:42 GMT
|
180
|
+
Location:
|
181
|
+
- https://api.parse.com/1/classes/Post/pkfftyVSZ2
|
182
|
+
Server:
|
183
|
+
- nginx/1.2.2
|
184
|
+
Set-Cookie:
|
185
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYWE0OTY1MTMyZTU5M2M3YTk5YzRiNjcwYWRiZmY4NTE%3D--f29bcb594e3fc9cf0860d2a985956f7fe947e623;
|
186
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 07:24:42 GMT; secure;
|
187
|
+
HttpOnly
|
188
|
+
Status:
|
189
|
+
- 201 Created
|
190
|
+
X-Runtime:
|
191
|
+
- '0.051724'
|
192
|
+
X-Ua-Compatible:
|
193
|
+
- IE=Edge,chrome=1
|
194
|
+
Content-Length:
|
195
|
+
- '64'
|
196
|
+
Connection:
|
197
|
+
- keep-alive
|
198
|
+
body:
|
199
|
+
encoding: US-ASCII
|
200
|
+
string: ! '{"createdAt":"2013-04-17T07:24:42.825Z","objectId":"pkfftyVSZ2"}'
|
201
|
+
http_version:
|
202
|
+
recorded_at: Wed, 17 Apr 2013 07:24:42 GMT
|
203
|
+
- request:
|
204
|
+
method: post
|
205
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post
|
206
|
+
body:
|
207
|
+
encoding: UTF-8
|
208
|
+
string: ! '{"title":"each"}'
|
209
|
+
headers:
|
210
|
+
Accept:
|
211
|
+
- ! '*/*; q=0.5, application/xml'
|
212
|
+
Accept-Encoding:
|
213
|
+
- gzip, deflate
|
214
|
+
Content-Type:
|
215
|
+
- application/json
|
216
|
+
Content-Length:
|
217
|
+
- '16'
|
218
|
+
User-Agent:
|
219
|
+
- Ruby
|
220
|
+
response:
|
221
|
+
status:
|
222
|
+
code: 201
|
223
|
+
message: Created
|
224
|
+
headers:
|
225
|
+
Cache-Control:
|
226
|
+
- no-cache
|
227
|
+
Content-Type:
|
228
|
+
- application/json; charset=utf-8
|
229
|
+
Date:
|
230
|
+
- Wed, 17 Apr 2013 07:24:43 GMT
|
231
|
+
Location:
|
232
|
+
- https://api.parse.com/1/classes/Post/A94VOsawmp
|
233
|
+
Server:
|
234
|
+
- nginx/1.2.2
|
235
|
+
Set-Cookie:
|
236
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYWZhNWRmZTVlMTcxZTRlY2JhYWE0YzdlODczYzA1NjA%3D--cb3fc1fe131f8a12b7a3255bf6959cdcc7148c3f;
|
237
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 07:24:43 GMT; secure;
|
238
|
+
HttpOnly
|
239
|
+
Status:
|
240
|
+
- 201 Created
|
241
|
+
X-Runtime:
|
242
|
+
- '0.029291'
|
243
|
+
X-Ua-Compatible:
|
244
|
+
- IE=Edge,chrome=1
|
245
|
+
Content-Length:
|
246
|
+
- '64'
|
247
|
+
Connection:
|
248
|
+
- keep-alive
|
249
|
+
body:
|
250
|
+
encoding: US-ASCII
|
251
|
+
string: ! '{"createdAt":"2013-04-17T07:24:43.377Z","objectId":"A94VOsawmp"}'
|
252
|
+
http_version:
|
253
|
+
recorded_at: Wed, 17 Apr 2013 07:24:43 GMT
|
254
|
+
- request:
|
255
|
+
method: post
|
256
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/batch
|
257
|
+
body:
|
258
|
+
encoding: UTF-8
|
259
|
+
string: ! '{"requests":[{"method":"PUT","path":"/1/classes/Post/GKPqV2lDiG","body":{}},{"method":"PUT","path":"/1/classes/Post/rYO8QVM5Uc","body":{}},{"method":"PUT","path":"/1/classes/Post/pkfftyVSZ2","body":{}},{"method":"PUT","path":"/1/classes/Post/A94VOsawmp","body":{}}]}'
|
260
|
+
headers:
|
261
|
+
Accept:
|
262
|
+
- ! '*/*; q=0.5, application/xml'
|
263
|
+
Accept-Encoding:
|
264
|
+
- gzip, deflate
|
265
|
+
Content-Type:
|
266
|
+
- application/json
|
267
|
+
Content-Length:
|
268
|
+
- '266'
|
269
|
+
User-Agent:
|
270
|
+
- Ruby
|
271
|
+
response:
|
272
|
+
status:
|
273
|
+
code: 200
|
274
|
+
message: OK
|
275
|
+
headers:
|
276
|
+
Cache-Control:
|
277
|
+
- max-age=0, private, must-revalidate
|
278
|
+
Content-Type:
|
279
|
+
- application/json; charset=utf-8
|
280
|
+
Date:
|
281
|
+
- Wed, 17 Apr 2013 07:24:43 GMT
|
282
|
+
Etag:
|
283
|
+
- ! '"6d5dcca6006f06b08b912e8f5e82fd3f"'
|
284
|
+
Server:
|
285
|
+
- nginx/1.2.2
|
286
|
+
Set-Cookie:
|
287
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlN2M1YTA3ODkwMTBhY2VkMThlMGFmNDNiNjRjYTQ5ZTc%3D--04b7ea282af412886624b6448e90286988f780de;
|
288
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 07:24:43 GMT; secure;
|
289
|
+
HttpOnly
|
290
|
+
Status:
|
291
|
+
- 200 OK
|
292
|
+
X-Runtime:
|
293
|
+
- '0.077613'
|
294
|
+
X-Ua-Compatible:
|
295
|
+
- IE=Edge,chrome=1
|
296
|
+
Content-Length:
|
297
|
+
- '213'
|
298
|
+
Connection:
|
299
|
+
- keep-alive
|
300
|
+
body:
|
301
|
+
encoding: US-ASCII
|
302
|
+
string: ! '[{"success":{"updatedAt":"2013-04-17T07:24:43.932Z"}},{"success":{"updatedAt":"2013-04-17T07:24:43.943Z"}},{"success":{"updatedAt":"2013-04-17T07:24:43.953Z"}},{"success":{"updatedAt":"2013-04-17T07:24:43.962Z"}}]'
|
303
|
+
http_version:
|
304
|
+
recorded_at: Wed, 17 Apr 2013 07:24:44 GMT
|
305
|
+
- request:
|
306
|
+
method: get
|
307
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post?where=%7B%22title%22:%22each%22%7D
|
308
|
+
body:
|
309
|
+
encoding: US-ASCII
|
310
|
+
string: ''
|
311
|
+
headers:
|
312
|
+
Accept:
|
313
|
+
- ! '*/*; q=0.5, application/xml'
|
314
|
+
Accept-Encoding:
|
315
|
+
- gzip, deflate
|
316
|
+
User-Agent:
|
317
|
+
- Ruby
|
318
|
+
response:
|
319
|
+
status:
|
320
|
+
code: 200
|
321
|
+
message: OK
|
322
|
+
headers:
|
323
|
+
Cache-Control:
|
324
|
+
- max-age=0, private, must-revalidate
|
325
|
+
Content-Type:
|
326
|
+
- application/json; charset=utf-8
|
327
|
+
Date:
|
328
|
+
- Wed, 17 Apr 2013 07:24:44 GMT
|
329
|
+
Etag:
|
330
|
+
- ! '"15ae0dd4c812f17cc874075f47e24871"'
|
331
|
+
Server:
|
332
|
+
- nginx/1.2.2
|
333
|
+
Set-Cookie:
|
334
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZjdkZTg3ZDgxMDljODdkZThlMGNkNjBmNDZiMzJlZjk%3D--47f387dee172a538506f3a2bc1cdb892d3020817;
|
335
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 07:24:44 GMT; secure;
|
336
|
+
HttpOnly
|
337
|
+
Status:
|
338
|
+
- 200 OK
|
339
|
+
X-Runtime:
|
340
|
+
- '0.039023'
|
341
|
+
X-Ua-Compatible:
|
342
|
+
- IE=Edge,chrome=1
|
343
|
+
Content-Length:
|
344
|
+
- '489'
|
345
|
+
Connection:
|
346
|
+
- keep-alive
|
347
|
+
body:
|
348
|
+
encoding: US-ASCII
|
349
|
+
string: ! '{"results":[{"title":"each","createdAt":"2013-04-17T07:24:41.511Z","updatedAt":"2013-04-17T07:24:43.932Z","objectId":"GKPqV2lDiG"},{"title":"each","createdAt":"2013-04-17T07:24:42.262Z","updatedAt":"2013-04-17T07:24:43.943Z","objectId":"rYO8QVM5Uc"},{"title":"each","createdAt":"2013-04-17T07:24:42.825Z","updatedAt":"2013-04-17T07:24:43.953Z","objectId":"pkfftyVSZ2"},{"title":"each","createdAt":"2013-04-17T07:24:43.377Z","updatedAt":"2013-04-17T07:24:43.962Z","objectId":"A94VOsawmp"}]}'
|
350
|
+
http_version:
|
351
|
+
recorded_at: Wed, 17 Apr 2013 07:24:44 GMT
|
352
|
+
- request:
|
353
|
+
method: get
|
354
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?where=%7B%7D
|
355
|
+
body:
|
356
|
+
encoding: US-ASCII
|
357
|
+
string: ''
|
358
|
+
headers:
|
359
|
+
Accept:
|
360
|
+
- ! '*/*; q=0.5, application/xml'
|
361
|
+
Accept-Encoding:
|
362
|
+
- gzip, deflate
|
363
|
+
User-Agent:
|
364
|
+
- Ruby
|
365
|
+
response:
|
366
|
+
status:
|
367
|
+
code: 200
|
368
|
+
message: OK
|
369
|
+
headers:
|
370
|
+
Cache-Control:
|
371
|
+
- max-age=0, private, must-revalidate
|
372
|
+
Content-Type:
|
373
|
+
- application/json; charset=utf-8
|
374
|
+
Date:
|
375
|
+
- Wed, 17 Apr 2013 20:08:32 GMT
|
376
|
+
Etag:
|
377
|
+
- ! '"e2412c1ffbfb6b53a82a9daf665b2c1a"'
|
378
|
+
Server:
|
379
|
+
- nginx/1.2.2
|
380
|
+
Set-Cookie:
|
381
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlY2U4ZWFiY2EyMzJiN2IxYWI0YjJkNTQwMTRlZWRlNWY%3D--0314b34e3dc99945c7d09d8e0f22e0095bea30e5;
|
382
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:32 GMT; secure;
|
383
|
+
HttpOnly
|
384
|
+
Status:
|
385
|
+
- 200 OK
|
386
|
+
X-Runtime:
|
387
|
+
- '0.029051'
|
388
|
+
X-Ua-Compatible:
|
389
|
+
- IE=Edge,chrome=1
|
390
|
+
Content-Length:
|
391
|
+
- '14'
|
392
|
+
Connection:
|
393
|
+
- keep-alive
|
394
|
+
body:
|
395
|
+
encoding: US-ASCII
|
396
|
+
string: ! '{"results":[]}'
|
397
|
+
http_version:
|
398
|
+
recorded_at: Wed, 17 Apr 2013 20:08:32 GMT
|
3
399
|
- request:
|
4
400
|
method: post
|
5
401
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post
|
@@ -22,27 +418,24 @@ http_interactions:
|
|
22
418
|
code: 201
|
23
419
|
message: Created
|
24
420
|
headers:
|
25
|
-
Access-Control-Allow-Origin:
|
26
|
-
- https://parse.com, https://www.parse.com
|
27
|
-
Access-Control-Request-Method:
|
28
|
-
- ! '*'
|
29
421
|
Cache-Control:
|
30
422
|
- no-cache
|
31
423
|
Content-Type:
|
32
424
|
- application/json; charset=utf-8
|
33
425
|
Date:
|
34
|
-
-
|
426
|
+
- Wed, 17 Apr 2013 20:08:32 GMT
|
35
427
|
Location:
|
36
|
-
- https://api.parse.com/1/classes/Post/
|
428
|
+
- https://api.parse.com/1/classes/Post/3yA87Wlbh2
|
37
429
|
Server:
|
38
430
|
- nginx/1.2.2
|
39
431
|
Set-Cookie:
|
40
|
-
- _parse_session=
|
41
|
-
domain=.parse.com; path=/; expires=
|
432
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZDhiYjgzMDlmZDg2NzU5ODA4NGQ4ZTI5ODg2OWJjYjQ%3D--8bc60d45f62d23bdf6ad11583d4d60b492f3f166;
|
433
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:32 GMT; secure;
|
434
|
+
HttpOnly
|
42
435
|
Status:
|
43
436
|
- 201 Created
|
44
437
|
X-Runtime:
|
45
|
-
- '0.
|
438
|
+
- '0.029965'
|
46
439
|
X-Ua-Compatible:
|
47
440
|
- IE=Edge,chrome=1
|
48
441
|
Content-Length:
|
@@ -51,9 +444,9 @@ http_interactions:
|
|
51
444
|
- keep-alive
|
52
445
|
body:
|
53
446
|
encoding: US-ASCII
|
54
|
-
string: ! '{"createdAt":"
|
447
|
+
string: ! '{"createdAt":"2013-04-17T20:08:32.442Z","objectId":"3yA87Wlbh2"}'
|
55
448
|
http_version:
|
56
|
-
recorded_at:
|
449
|
+
recorded_at: Wed, 17 Apr 2013 20:08:32 GMT
|
57
450
|
- request:
|
58
451
|
method: post
|
59
452
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post
|
@@ -76,27 +469,24 @@ http_interactions:
|
|
76
469
|
code: 201
|
77
470
|
message: Created
|
78
471
|
headers:
|
79
|
-
Access-Control-Allow-Origin:
|
80
|
-
- https://parse.com, https://www.parse.com
|
81
|
-
Access-Control-Request-Method:
|
82
|
-
- ! '*'
|
83
472
|
Cache-Control:
|
84
473
|
- no-cache
|
85
474
|
Content-Type:
|
86
475
|
- application/json; charset=utf-8
|
87
476
|
Date:
|
88
|
-
-
|
477
|
+
- Wed, 17 Apr 2013 20:08:32 GMT
|
89
478
|
Location:
|
90
|
-
- https://api.parse.com/1/classes/Post/
|
479
|
+
- https://api.parse.com/1/classes/Post/hwguFj2zr0
|
91
480
|
Server:
|
92
481
|
- nginx/1.2.2
|
93
482
|
Set-Cookie:
|
94
|
-
- _parse_session=
|
95
|
-
domain=.parse.com; path=/; expires=
|
483
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZmU2NTNiY2UzYWUyMWVkN2NlM2YzOTM3YzdmNGMxNWE%3D--44f306bdb04ff7fa7fc8101a32e7e45fe32e3606;
|
484
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:32 GMT; secure;
|
485
|
+
HttpOnly
|
96
486
|
Status:
|
97
487
|
- 201 Created
|
98
488
|
X-Runtime:
|
99
|
-
- '0.
|
489
|
+
- '0.027243'
|
100
490
|
X-Ua-Compatible:
|
101
491
|
- IE=Edge,chrome=1
|
102
492
|
Content-Length:
|
@@ -105,9 +495,9 @@ http_interactions:
|
|
105
495
|
- keep-alive
|
106
496
|
body:
|
107
497
|
encoding: US-ASCII
|
108
|
-
string: ! '{"createdAt":"
|
498
|
+
string: ! '{"createdAt":"2013-04-17T20:08:32.578Z","objectId":"hwguFj2zr0"}'
|
109
499
|
http_version:
|
110
|
-
recorded_at:
|
500
|
+
recorded_at: Wed, 17 Apr 2013 20:08:32 GMT
|
111
501
|
- request:
|
112
502
|
method: post
|
113
503
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post
|
@@ -130,27 +520,24 @@ http_interactions:
|
|
130
520
|
code: 201
|
131
521
|
message: Created
|
132
522
|
headers:
|
133
|
-
Access-Control-Allow-Origin:
|
134
|
-
- https://parse.com, https://www.parse.com
|
135
|
-
Access-Control-Request-Method:
|
136
|
-
- ! '*'
|
137
523
|
Cache-Control:
|
138
524
|
- no-cache
|
139
525
|
Content-Type:
|
140
526
|
- application/json; charset=utf-8
|
141
527
|
Date:
|
142
|
-
-
|
528
|
+
- Wed, 17 Apr 2013 20:08:32 GMT
|
143
529
|
Location:
|
144
|
-
- https://api.parse.com/1/classes/Post/
|
530
|
+
- https://api.parse.com/1/classes/Post/8FsBXLDNjA
|
145
531
|
Server:
|
146
532
|
- nginx/1.2.2
|
147
533
|
Set-Cookie:
|
148
|
-
- _parse_session=
|
149
|
-
domain=.parse.com; path=/; expires=
|
534
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlM2IxMjI1YzJiODM2MTdmODQ3YzliNDMzYzQyOGNjMDQ%3D--eb404a7ddb5b7a95e9b7685f03a359582104dcb0;
|
535
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:32 GMT; secure;
|
536
|
+
HttpOnly
|
150
537
|
Status:
|
151
538
|
- 201 Created
|
152
539
|
X-Runtime:
|
153
|
-
- '0.
|
540
|
+
- '0.208465'
|
154
541
|
X-Ua-Compatible:
|
155
542
|
- IE=Edge,chrome=1
|
156
543
|
Content-Length:
|
@@ -159,9 +546,9 @@ http_interactions:
|
|
159
546
|
- keep-alive
|
160
547
|
body:
|
161
548
|
encoding: US-ASCII
|
162
|
-
string: ! '{"createdAt":"
|
549
|
+
string: ! '{"createdAt":"2013-04-17T20:08:32.732Z","objectId":"8FsBXLDNjA"}'
|
163
550
|
http_version:
|
164
|
-
recorded_at:
|
551
|
+
recorded_at: Wed, 17 Apr 2013 20:08:32 GMT
|
165
552
|
- request:
|
166
553
|
method: post
|
167
554
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post
|
@@ -184,27 +571,24 @@ http_interactions:
|
|
184
571
|
code: 201
|
185
572
|
message: Created
|
186
573
|
headers:
|
187
|
-
Access-Control-Allow-Origin:
|
188
|
-
- https://parse.com, https://www.parse.com
|
189
|
-
Access-Control-Request-Method:
|
190
|
-
- ! '*'
|
191
574
|
Cache-Control:
|
192
575
|
- no-cache
|
193
576
|
Content-Type:
|
194
577
|
- application/json; charset=utf-8
|
195
578
|
Date:
|
196
|
-
-
|
579
|
+
- Wed, 17 Apr 2013 20:08:33 GMT
|
197
580
|
Location:
|
198
|
-
- https://api.parse.com/1/classes/Post/
|
581
|
+
- https://api.parse.com/1/classes/Post/ndM4WLfC3a
|
199
582
|
Server:
|
200
583
|
- nginx/1.2.2
|
201
584
|
Set-Cookie:
|
202
|
-
- _parse_session=
|
203
|
-
domain=.parse.com; path=/; expires=
|
585
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMWY4Yzg2Yjc1NzkwYWE5N2VkZTc4ZTUwMWE3OTFkYjM%3D--4e05d4c05c47bec28aae49632318acf3b943cc90;
|
586
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:33 GMT; secure;
|
587
|
+
HttpOnly
|
204
588
|
Status:
|
205
589
|
- 201 Created
|
206
590
|
X-Runtime:
|
207
|
-
- '0.
|
591
|
+
- '0.029135'
|
208
592
|
X-Ua-Compatible:
|
209
593
|
- IE=Edge,chrome=1
|
210
594
|
Content-Length:
|
@@ -213,9 +597,60 @@ http_interactions:
|
|
213
597
|
- keep-alive
|
214
598
|
body:
|
215
599
|
encoding: US-ASCII
|
216
|
-
string: ! '{"createdAt":"
|
600
|
+
string: ! '{"createdAt":"2013-04-17T20:08:33.049Z","objectId":"ndM4WLfC3a"}'
|
601
|
+
http_version:
|
602
|
+
recorded_at: Wed, 17 Apr 2013 20:08:33 GMT
|
603
|
+
- request:
|
604
|
+
method: post
|
605
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/batch
|
606
|
+
body:
|
607
|
+
encoding: UTF-8
|
608
|
+
string: ! '{"requests":[{"method":"PUT","path":"/1/classes/Post/3yA87Wlbh2","body":{}},{"method":"PUT","path":"/1/classes/Post/hwguFj2zr0","body":{}},{"method":"PUT","path":"/1/classes/Post/8FsBXLDNjA","body":{}},{"method":"PUT","path":"/1/classes/Post/ndM4WLfC3a","body":{}}]}'
|
609
|
+
headers:
|
610
|
+
Accept:
|
611
|
+
- ! '*/*; q=0.5, application/xml'
|
612
|
+
Accept-Encoding:
|
613
|
+
- gzip, deflate
|
614
|
+
Content-Type:
|
615
|
+
- application/json
|
616
|
+
Content-Length:
|
617
|
+
- '266'
|
618
|
+
User-Agent:
|
619
|
+
- Ruby
|
620
|
+
response:
|
621
|
+
status:
|
622
|
+
code: 200
|
623
|
+
message: OK
|
624
|
+
headers:
|
625
|
+
Cache-Control:
|
626
|
+
- max-age=0, private, must-revalidate
|
627
|
+
Content-Type:
|
628
|
+
- application/json; charset=utf-8
|
629
|
+
Date:
|
630
|
+
- Wed, 17 Apr 2013 20:08:33 GMT
|
631
|
+
Etag:
|
632
|
+
- ! '"5bcac9a2f6caf8077073625f9cefa86d"'
|
633
|
+
Server:
|
634
|
+
- nginx/1.2.2
|
635
|
+
Set-Cookie:
|
636
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNTFkZWY3OTliZjMzNmI2MzVmYTg5NzM4NGMxZGMwMzc%3D--cb23b1b84edb2b2d58ce46228be0b178074688df;
|
637
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:33 GMT; secure;
|
638
|
+
HttpOnly
|
639
|
+
Status:
|
640
|
+
- 200 OK
|
641
|
+
X-Runtime:
|
642
|
+
- '0.063705'
|
643
|
+
X-Ua-Compatible:
|
644
|
+
- IE=Edge,chrome=1
|
645
|
+
Content-Length:
|
646
|
+
- '213'
|
647
|
+
Connection:
|
648
|
+
- keep-alive
|
649
|
+
body:
|
650
|
+
encoding: US-ASCII
|
651
|
+
string: ! '[{"success":{"updatedAt":"2013-04-17T20:08:33.178Z"}},{"success":{"updatedAt":"2013-04-17T20:08:33.189Z"}},{"success":{"updatedAt":"2013-04-17T20:08:33.200Z"}},{"success":{"updatedAt":"2013-04-17T20:08:33.211Z"}}]'
|
217
652
|
http_version:
|
218
|
-
recorded_at:
|
653
|
+
recorded_at: Wed, 17 Apr 2013 20:08:33 GMT
|
219
654
|
- request:
|
220
655
|
method: get
|
221
656
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?where=%7B%22title%22:%22each%22%7D
|
@@ -234,27 +669,24 @@ http_interactions:
|
|
234
669
|
code: 200
|
235
670
|
message: OK
|
236
671
|
headers:
|
237
|
-
Access-Control-Allow-Origin:
|
238
|
-
- https://parse.com, https://www.parse.com
|
239
|
-
Access-Control-Request-Method:
|
240
|
-
- ! '*'
|
241
672
|
Cache-Control:
|
242
673
|
- max-age=0, private, must-revalidate
|
243
674
|
Content-Type:
|
244
675
|
- application/json; charset=utf-8
|
245
676
|
Date:
|
246
|
-
-
|
677
|
+
- Wed, 17 Apr 2013 20:08:33 GMT
|
247
678
|
Etag:
|
248
|
-
- ! '"
|
679
|
+
- ! '"cda108f67344eab0715bdc666b309bf4"'
|
249
680
|
Server:
|
250
681
|
- nginx/1.2.2
|
251
682
|
Set-Cookie:
|
252
|
-
- _parse_session=
|
253
|
-
domain=.parse.com; path=/; expires=
|
683
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZDU2NDdlZTM2MjNkNjM0NDBmYjRiOGRkODY5M2IxMWU%3D--def1ce42ff9e066ba60f975913962575d8d9de7a;
|
684
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:08:33 GMT; secure;
|
685
|
+
HttpOnly
|
254
686
|
Status:
|
255
687
|
- 200 OK
|
256
688
|
X-Runtime:
|
257
|
-
- '0.
|
689
|
+
- '0.033104'
|
258
690
|
X-Ua-Compatible:
|
259
691
|
- IE=Edge,chrome=1
|
260
692
|
Content-Length:
|
@@ -263,7 +695,7 @@ http_interactions:
|
|
263
695
|
- keep-alive
|
264
696
|
body:
|
265
697
|
encoding: US-ASCII
|
266
|
-
string: ! '{"results":[{"title":"each","createdAt":"
|
698
|
+
string: ! '{"results":[{"title":"each","createdAt":"2013-04-17T20:08:32.578Z","updatedAt":"2013-04-17T20:08:33.189Z","objectId":"hwguFj2zr0"},{"title":"each","createdAt":"2013-04-17T20:08:32.732Z","updatedAt":"2013-04-17T20:08:33.200Z","objectId":"8FsBXLDNjA"},{"title":"each","createdAt":"2013-04-17T20:08:32.442Z","updatedAt":"2013-04-17T20:08:33.178Z","objectId":"3yA87Wlbh2"},{"title":"each","createdAt":"2013-04-17T20:08:33.049Z","updatedAt":"2013-04-17T20:08:33.211Z","objectId":"ndM4WLfC3a"}]}'
|
267
699
|
http_version:
|
268
|
-
recorded_at:
|
269
|
-
recorded_with: VCR 2.
|
700
|
+
recorded_at: Wed, 17 Apr 2013 20:08:33 GMT
|
701
|
+
recorded_with: VCR 2.4.0
|