parse_resource 1.7.3 → 1.8.0
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/.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
|
@@ -1,5 +1,303 @@
|
|
|
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 06:28:04 GMT
|
|
27
|
+
Etag:
|
|
28
|
+
- ! '"ee23b81ff95af0a61959dbbb736d049e"'
|
|
29
|
+
Server:
|
|
30
|
+
- nginx/1.2.2
|
|
31
|
+
Set-Cookie:
|
|
32
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYTk2MGRkZjFkYWViOTljNTYyMzk1MTU2NzQ5YmU1YjE%3D--771ca82d52fa9d0f9077ae4ecfec9d6982baf42e;
|
|
33
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:28:04 GMT; secure;
|
|
34
|
+
HttpOnly
|
|
35
|
+
Status:
|
|
36
|
+
- 200 OK
|
|
37
|
+
X-Runtime:
|
|
38
|
+
- '0.398874'
|
|
39
|
+
X-Ua-Compatible:
|
|
40
|
+
- IE=Edge,chrome=1
|
|
41
|
+
Content-Length:
|
|
42
|
+
- '1998'
|
|
43
|
+
Connection:
|
|
44
|
+
- keep-alive
|
|
45
|
+
body:
|
|
46
|
+
encoding: US-ASCII
|
|
47
|
+
string: ! '{"results":[{"title":"skip","author":"0","createdAt":"2013-04-17T06:28:01.675Z","updatedAt":"2013-04-17T06:28:01.675Z","objectId":"Myrg7kRb1f"},{"title":"skip","author":"1","createdAt":"2013-04-17T06:28:01.687Z","updatedAt":"2013-04-17T06:28:01.687Z","objectId":"FU4EEktRTg"},{"title":"skip","author":"2","createdAt":"2013-04-17T06:28:01.698Z","updatedAt":"2013-04-17T06:28:01.698Z","objectId":"BBLbxbmknM"},{"title":"skip","author":"3","createdAt":"2013-04-17T06:28:01.710Z","updatedAt":"2013-04-17T06:28:01.710Z","objectId":"tuV0SbiiZp"},{"title":"skip","author":"4","createdAt":"2013-04-17T06:28:01.721Z","updatedAt":"2013-04-17T06:28:01.721Z","objectId":"EfIScJrqck"},{"title":"skip","author":"5","createdAt":"2013-04-17T06:28:01.748Z","updatedAt":"2013-04-17T06:28:01.748Z","objectId":"MXP3hlbkSB"},{"title":"skip","author":"6","createdAt":"2013-04-17T06:28:01.763Z","updatedAt":"2013-04-17T06:28:01.763Z","objectId":"TIPdhVlgI2"},{"title":"skip","author":"7","createdAt":"2013-04-17T06:28:01.780Z","updatedAt":"2013-04-17T06:28:01.780Z","objectId":"jP7lgdqCnu"},{"title":"skip","author":"8","createdAt":"2013-04-17T06:28:01.810Z","updatedAt":"2013-04-17T06:28:01.810Z","objectId":"lcMAYTku3e"},{"title":"skip","author":"9","createdAt":"2013-04-17T06:28:01.872Z","updatedAt":"2013-04-17T06:28:01.872Z","objectId":"5vdtcJpded"},{"title":"skip","author":"10","createdAt":"2013-04-17T06:28:01.903Z","updatedAt":"2013-04-17T06:28:01.903Z","objectId":"e0HmvmCZh2"},{"title":"skip","author":"11","createdAt":"2013-04-17T06:28:01.921Z","updatedAt":"2013-04-17T06:28:01.921Z","objectId":"yt04PJdcrX"},{"title":"skip","author":"12","createdAt":"2013-04-17T06:28:02.002Z","updatedAt":"2013-04-17T06:28:02.002Z","objectId":"pWgetacDo7"},{"title":"skip","author":"13","createdAt":"2013-04-17T06:28:02.022Z","updatedAt":"2013-04-17T06:28:02.022Z","objectId":"qXV3JUCVZQ"},{"title":"skip","author":"14","createdAt":"2013-04-17T06:28:02.172Z","updatedAt":"2013-04-17T06:28:02.172Z","objectId":"SvZym5SzuN"}]}'
|
|
48
|
+
http_version:
|
|
49
|
+
recorded_at: Wed, 17 Apr 2013 06:28:04 GMT
|
|
50
|
+
- request:
|
|
51
|
+
method: post
|
|
52
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/batch
|
|
53
|
+
body:
|
|
54
|
+
encoding: UTF-8
|
|
55
|
+
string: ! '{"requests":[{"method":"DELETE","path":"/1/classes/Post/Myrg7kRb1f"},{"method":"DELETE","path":"/1/classes/Post/FU4EEktRTg"},{"method":"DELETE","path":"/1/classes/Post/BBLbxbmknM"},{"method":"DELETE","path":"/1/classes/Post/tuV0SbiiZp"},{"method":"DELETE","path":"/1/classes/Post/EfIScJrqck"},{"method":"DELETE","path":"/1/classes/Post/MXP3hlbkSB"},{"method":"DELETE","path":"/1/classes/Post/TIPdhVlgI2"},{"method":"DELETE","path":"/1/classes/Post/jP7lgdqCnu"},{"method":"DELETE","path":"/1/classes/Post/lcMAYTku3e"},{"method":"DELETE","path":"/1/classes/Post/5vdtcJpded"},{"method":"DELETE","path":"/1/classes/Post/e0HmvmCZh2"},{"method":"DELETE","path":"/1/classes/Post/yt04PJdcrX"},{"method":"DELETE","path":"/1/classes/Post/pWgetacDo7"},{"method":"DELETE","path":"/1/classes/Post/qXV3JUCVZQ"},{"method":"DELETE","path":"/1/classes/Post/SvZym5SzuN"}]}'
|
|
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
|
+
- '854'
|
|
65
|
+
User-Agent:
|
|
66
|
+
- Ruby
|
|
67
|
+
response:
|
|
68
|
+
status:
|
|
69
|
+
code: 200
|
|
70
|
+
message: OK
|
|
71
|
+
headers:
|
|
72
|
+
Cache-Control:
|
|
73
|
+
- max-age=0, private, must-revalidate
|
|
74
|
+
Content-Type:
|
|
75
|
+
- application/json; charset=utf-8
|
|
76
|
+
Date:
|
|
77
|
+
- Wed, 17 Apr 2013 06:28:05 GMT
|
|
78
|
+
Etag:
|
|
79
|
+
- ! '"26089d395af4d07f89e77a78b7a6964f"'
|
|
80
|
+
Server:
|
|
81
|
+
- nginx/1.2.2
|
|
82
|
+
Set-Cookie:
|
|
83
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYWE0YzExYjFlZDE2OGZiNjM1NjhlMzFjYTE0MjYxODg%3D--96c08fc0bcb8d02e88f408a774d7c3b1fe647d3d;
|
|
84
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:28:05 GMT; secure;
|
|
85
|
+
HttpOnly
|
|
86
|
+
Status:
|
|
87
|
+
- 200 OK
|
|
88
|
+
X-Runtime:
|
|
89
|
+
- '0.632795'
|
|
90
|
+
X-Ua-Compatible:
|
|
91
|
+
- IE=Edge,chrome=1
|
|
92
|
+
Content-Length:
|
|
93
|
+
- '256'
|
|
94
|
+
Connection:
|
|
95
|
+
- keep-alive
|
|
96
|
+
body:
|
|
97
|
+
encoding: US-ASCII
|
|
98
|
+
string: ! '[{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true}]'
|
|
99
|
+
http_version:
|
|
100
|
+
recorded_at: Wed, 17 Apr 2013 06:28:05 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":"stale title"}'
|
|
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
|
+
- '23'
|
|
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 06:28:05 GMT
|
|
129
|
+
Location:
|
|
130
|
+
- https://api.parse.com/1/classes/Post/AlOj61HqOt
|
|
131
|
+
Server:
|
|
132
|
+
- nginx/1.2.2
|
|
133
|
+
Set-Cookie:
|
|
134
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNDRkN2I4ZDRkZTVkMjljMDlmMDY3N2EyZjFkM2U1MGQ%3D--e0b1e744b1ac8dac3b8a437dbe414a12905c5c5a;
|
|
135
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:28:05 GMT; secure;
|
|
136
|
+
HttpOnly
|
|
137
|
+
Status:
|
|
138
|
+
- 201 Created
|
|
139
|
+
X-Runtime:
|
|
140
|
+
- '0.228231'
|
|
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-17T06:28:05.824Z","objectId":"AlOj61HqOt"}'
|
|
150
|
+
http_version:
|
|
151
|
+
recorded_at: Wed, 17 Apr 2013 06:28:06 GMT
|
|
152
|
+
- request:
|
|
153
|
+
method: put
|
|
154
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post/AlOj61HqOt
|
|
155
|
+
body:
|
|
156
|
+
encoding: UTF-8
|
|
157
|
+
string: ! '{"title":"updated title"}'
|
|
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
|
+
- '25'
|
|
167
|
+
User-Agent:
|
|
168
|
+
- Ruby
|
|
169
|
+
response:
|
|
170
|
+
status:
|
|
171
|
+
code: 200
|
|
172
|
+
message: OK
|
|
173
|
+
headers:
|
|
174
|
+
Cache-Control:
|
|
175
|
+
- max-age=0, private, must-revalidate
|
|
176
|
+
Content-Type:
|
|
177
|
+
- application/json; charset=utf-8
|
|
178
|
+
Date:
|
|
179
|
+
- Wed, 17 Apr 2013 06:28:06 GMT
|
|
180
|
+
Etag:
|
|
181
|
+
- ! '"42d3811064713466f7b84319b20044bd"'
|
|
182
|
+
Server:
|
|
183
|
+
- nginx/1.2.2
|
|
184
|
+
Set-Cookie:
|
|
185
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNjExY2IyOGQ4NzlhZjZlNmQwYjAxMWNjNzg0Zjc2ZDU%3D--c368c20065f1916441e0fb3e65c8030788669a17;
|
|
186
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:28:06 GMT; secure;
|
|
187
|
+
HttpOnly
|
|
188
|
+
Status:
|
|
189
|
+
- 200 OK
|
|
190
|
+
X-Runtime:
|
|
191
|
+
- '0.043496'
|
|
192
|
+
X-Ua-Compatible:
|
|
193
|
+
- IE=Edge,chrome=1
|
|
194
|
+
Content-Length:
|
|
195
|
+
- '40'
|
|
196
|
+
Connection:
|
|
197
|
+
- keep-alive
|
|
198
|
+
body:
|
|
199
|
+
encoding: US-ASCII
|
|
200
|
+
string: ! '{"updatedAt":"2013-04-17T06:28:06.536Z"}'
|
|
201
|
+
http_version:
|
|
202
|
+
recorded_at: Wed, 17 Apr 2013 06:28:06 GMT
|
|
203
|
+
- request:
|
|
204
|
+
method: get
|
|
205
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?where=%7B%7D
|
|
206
|
+
body:
|
|
207
|
+
encoding: US-ASCII
|
|
208
|
+
string: ''
|
|
209
|
+
headers:
|
|
210
|
+
Accept:
|
|
211
|
+
- ! '*/*; q=0.5, application/xml'
|
|
212
|
+
Accept-Encoding:
|
|
213
|
+
- gzip, deflate
|
|
214
|
+
User-Agent:
|
|
215
|
+
- Ruby
|
|
216
|
+
response:
|
|
217
|
+
status:
|
|
218
|
+
code: 200
|
|
219
|
+
message: OK
|
|
220
|
+
headers:
|
|
221
|
+
Cache-Control:
|
|
222
|
+
- max-age=0, private, must-revalidate
|
|
223
|
+
Content-Type:
|
|
224
|
+
- application/json; charset=utf-8
|
|
225
|
+
Date:
|
|
226
|
+
- Wed, 17 Apr 2013 20:09:09 GMT
|
|
227
|
+
Etag:
|
|
228
|
+
- ! '"010ff17d10fc9b83a5faacfdf135c37a"'
|
|
229
|
+
Server:
|
|
230
|
+
- nginx/1.2.2
|
|
231
|
+
Set-Cookie:
|
|
232
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZWIwOGViNTFkYmQ1NjVlNDg5YmE1OGVlN2Q0YjIwMTc%3D--0e002c533c88fbb8344741df9c32aa84d08b9a8a;
|
|
233
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:09:09 GMT; secure;
|
|
234
|
+
HttpOnly
|
|
235
|
+
Status:
|
|
236
|
+
- 200 OK
|
|
237
|
+
X-Runtime:
|
|
238
|
+
- '0.087906'
|
|
239
|
+
X-Ua-Compatible:
|
|
240
|
+
- IE=Edge,chrome=1
|
|
241
|
+
Content-Length:
|
|
242
|
+
- '2103'
|
|
243
|
+
Connection:
|
|
244
|
+
- keep-alive
|
|
245
|
+
body:
|
|
246
|
+
encoding: US-ASCII
|
|
247
|
+
string: ! '{"results":[{"title":"skip","author":"0-author","createdAt":"2013-04-17T20:09:08.921Z","updatedAt":"2013-04-17T20:09:08.921Z","objectId":"HcragMXzaS"},{"title":"skip","author":"1-author","createdAt":"2013-04-17T20:09:08.933Z","updatedAt":"2013-04-17T20:09:08.933Z","objectId":"lyqGmT7Zz6"},{"title":"skip","author":"2-author","createdAt":"2013-04-17T20:09:08.943Z","updatedAt":"2013-04-17T20:09:08.943Z","objectId":"uUSDbNaFmP"},{"title":"skip","author":"3-author","createdAt":"2013-04-17T20:09:08.954Z","updatedAt":"2013-04-17T20:09:08.954Z","objectId":"JEYqVC2f9T"},{"title":"skip","author":"4-author","createdAt":"2013-04-17T20:09:08.965Z","updatedAt":"2013-04-17T20:09:08.965Z","objectId":"9gZpCdgH66"},{"title":"skip","author":"5-author","createdAt":"2013-04-17T20:09:08.976Z","updatedAt":"2013-04-17T20:09:08.976Z","objectId":"agWKneOHZk"},{"title":"skip","author":"6-author","createdAt":"2013-04-17T20:09:08.987Z","updatedAt":"2013-04-17T20:09:08.987Z","objectId":"ANpPcET056"},{"title":"skip","author":"7-author","createdAt":"2013-04-17T20:09:08.998Z","updatedAt":"2013-04-17T20:09:08.998Z","objectId":"ZOBi5BaSTD"},{"title":"skip","author":"8-author","createdAt":"2013-04-17T20:09:09.008Z","updatedAt":"2013-04-17T20:09:09.008Z","objectId":"AkaHbHmsz2"},{"title":"skip","author":"9-author","createdAt":"2013-04-17T20:09:09.074Z","updatedAt":"2013-04-17T20:09:09.074Z","objectId":"6xLSE22iu6"},{"title":"skip","author":"10-author","createdAt":"2013-04-17T20:09:09.085Z","updatedAt":"2013-04-17T20:09:09.085Z","objectId":"RXdJcbprv0"},{"title":"skip","author":"11-author","createdAt":"2013-04-17T20:09:09.096Z","updatedAt":"2013-04-17T20:09:09.096Z","objectId":"mJYNL5Jchs"},{"title":"skip","author":"12-author","createdAt":"2013-04-17T20:09:09.109Z","updatedAt":"2013-04-17T20:09:09.109Z","objectId":"8JxGUs5vh4"},{"title":"skip","author":"13-author","createdAt":"2013-04-17T20:09:09.119Z","updatedAt":"2013-04-17T20:09:09.119Z","objectId":"AOcaxzKjvY"},{"title":"skip","author":"14-author","createdAt":"2013-04-17T20:09:09.130Z","updatedAt":"2013-04-17T20:09:09.130Z","objectId":"t7dLnELASt"}]}'
|
|
248
|
+
http_version:
|
|
249
|
+
recorded_at: Wed, 17 Apr 2013 20:09:09 GMT
|
|
250
|
+
- request:
|
|
251
|
+
method: post
|
|
252
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/batch
|
|
253
|
+
body:
|
|
254
|
+
encoding: UTF-8
|
|
255
|
+
string: ! '{"requests":[{"method":"DELETE","path":"/1/classes/Post/HcragMXzaS"},{"method":"DELETE","path":"/1/classes/Post/lyqGmT7Zz6"},{"method":"DELETE","path":"/1/classes/Post/uUSDbNaFmP"},{"method":"DELETE","path":"/1/classes/Post/JEYqVC2f9T"},{"method":"DELETE","path":"/1/classes/Post/9gZpCdgH66"},{"method":"DELETE","path":"/1/classes/Post/agWKneOHZk"},{"method":"DELETE","path":"/1/classes/Post/ANpPcET056"},{"method":"DELETE","path":"/1/classes/Post/ZOBi5BaSTD"},{"method":"DELETE","path":"/1/classes/Post/AkaHbHmsz2"},{"method":"DELETE","path":"/1/classes/Post/6xLSE22iu6"},{"method":"DELETE","path":"/1/classes/Post/RXdJcbprv0"},{"method":"DELETE","path":"/1/classes/Post/mJYNL5Jchs"},{"method":"DELETE","path":"/1/classes/Post/8JxGUs5vh4"},{"method":"DELETE","path":"/1/classes/Post/AOcaxzKjvY"},{"method":"DELETE","path":"/1/classes/Post/t7dLnELASt"}]}'
|
|
256
|
+
headers:
|
|
257
|
+
Accept:
|
|
258
|
+
- ! '*/*; q=0.5, application/xml'
|
|
259
|
+
Accept-Encoding:
|
|
260
|
+
- gzip, deflate
|
|
261
|
+
Content-Type:
|
|
262
|
+
- application/json
|
|
263
|
+
Content-Length:
|
|
264
|
+
- '854'
|
|
265
|
+
User-Agent:
|
|
266
|
+
- Ruby
|
|
267
|
+
response:
|
|
268
|
+
status:
|
|
269
|
+
code: 200
|
|
270
|
+
message: OK
|
|
271
|
+
headers:
|
|
272
|
+
Cache-Control:
|
|
273
|
+
- max-age=0, private, must-revalidate
|
|
274
|
+
Content-Type:
|
|
275
|
+
- application/json; charset=utf-8
|
|
276
|
+
Date:
|
|
277
|
+
- Wed, 17 Apr 2013 20:09:16 GMT
|
|
278
|
+
Etag:
|
|
279
|
+
- ! '"26089d395af4d07f89e77a78b7a6964f"'
|
|
280
|
+
Server:
|
|
281
|
+
- nginx/1.2.2
|
|
282
|
+
Set-Cookie:
|
|
283
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZDAwODMwZThmZjk5YWQ5YTJmNzE5ZmQyNTRlYzZjNjY%3D--207cc796c63ee659faaf46cd6c4d399754d64f56;
|
|
284
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:09:16 GMT; secure;
|
|
285
|
+
HttpOnly
|
|
286
|
+
Status:
|
|
287
|
+
- 200 OK
|
|
288
|
+
X-Runtime:
|
|
289
|
+
- '6.908493'
|
|
290
|
+
X-Ua-Compatible:
|
|
291
|
+
- IE=Edge,chrome=1
|
|
292
|
+
Content-Length:
|
|
293
|
+
- '256'
|
|
294
|
+
Connection:
|
|
295
|
+
- keep-alive
|
|
296
|
+
body:
|
|
297
|
+
encoding: US-ASCII
|
|
298
|
+
string: ! '[{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true},{"success":true}]'
|
|
299
|
+
http_version:
|
|
300
|
+
recorded_at: Wed, 17 Apr 2013 20:09:16 GMT
|
|
3
301
|
- request:
|
|
4
302
|
method: post
|
|
5
303
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post
|
|
@@ -22,27 +320,24 @@ http_interactions:
|
|
|
22
320
|
code: 201
|
|
23
321
|
message: Created
|
|
24
322
|
headers:
|
|
25
|
-
Access-Control-Allow-Origin:
|
|
26
|
-
- https://parse.com, https://www.parse.com
|
|
27
|
-
Access-Control-Request-Method:
|
|
28
|
-
- ! '*'
|
|
29
323
|
Cache-Control:
|
|
30
324
|
- no-cache
|
|
31
325
|
Content-Type:
|
|
32
326
|
- application/json; charset=utf-8
|
|
33
327
|
Date:
|
|
34
|
-
-
|
|
328
|
+
- Wed, 17 Apr 2013 20:09:16 GMT
|
|
35
329
|
Location:
|
|
36
|
-
- https://api.parse.com/1/classes/Post/
|
|
330
|
+
- https://api.parse.com/1/classes/Post/rgvKsT8dyE
|
|
37
331
|
Server:
|
|
38
332
|
- nginx/1.2.2
|
|
39
333
|
Set-Cookie:
|
|
40
|
-
- _parse_session=
|
|
41
|
-
domain=.parse.com; path=/; expires=
|
|
334
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZTllMzY0MjBjMDc3NTk5MjAzMGJhZmIzODY0MjEwMjU%3D--4ce5f29d97aa05bf30b4988bb0f885f92fce0e67;
|
|
335
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:09:16 GMT; secure;
|
|
336
|
+
HttpOnly
|
|
42
337
|
Status:
|
|
43
338
|
- 201 Created
|
|
44
339
|
X-Runtime:
|
|
45
|
-
- '0.
|
|
340
|
+
- '0.087003'
|
|
46
341
|
X-Ua-Compatible:
|
|
47
342
|
- IE=Edge,chrome=1
|
|
48
343
|
Content-Length:
|
|
@@ -51,12 +346,12 @@ http_interactions:
|
|
|
51
346
|
- keep-alive
|
|
52
347
|
body:
|
|
53
348
|
encoding: US-ASCII
|
|
54
|
-
string: ! '{"createdAt":"
|
|
349
|
+
string: ! '{"createdAt":"2013-04-17T20:09:16.835Z","objectId":"rgvKsT8dyE"}'
|
|
55
350
|
http_version:
|
|
56
|
-
recorded_at:
|
|
351
|
+
recorded_at: Wed, 17 Apr 2013 20:09:16 GMT
|
|
57
352
|
- request:
|
|
58
353
|
method: put
|
|
59
|
-
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post/
|
|
354
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post/rgvKsT8dyE
|
|
60
355
|
body:
|
|
61
356
|
encoding: UTF-8
|
|
62
357
|
string: ! '{"title":"updated title"}'
|
|
@@ -76,27 +371,24 @@ http_interactions:
|
|
|
76
371
|
code: 200
|
|
77
372
|
message: OK
|
|
78
373
|
headers:
|
|
79
|
-
Access-Control-Allow-Origin:
|
|
80
|
-
- https://parse.com, https://www.parse.com
|
|
81
|
-
Access-Control-Request-Method:
|
|
82
|
-
- ! '*'
|
|
83
374
|
Cache-Control:
|
|
84
375
|
- max-age=0, private, must-revalidate
|
|
85
376
|
Content-Type:
|
|
86
377
|
- application/json; charset=utf-8
|
|
87
378
|
Date:
|
|
88
|
-
-
|
|
379
|
+
- Wed, 17 Apr 2013 20:09:17 GMT
|
|
89
380
|
Etag:
|
|
90
|
-
- ! '"
|
|
381
|
+
- ! '"d39636e207081ed3c7d49a708d01a897"'
|
|
91
382
|
Server:
|
|
92
383
|
- nginx/1.2.2
|
|
93
384
|
Set-Cookie:
|
|
94
|
-
- _parse_session=
|
|
95
|
-
domain=.parse.com; path=/; expires=
|
|
385
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMTFmZjYzOTdmYTA2OWRhZjZhMmYxNDdmMzRlNTE0Zjk%3D--b44f17dfa2e6d9dd04ddf641725494d062c64d87;
|
|
386
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:09:17 GMT; secure;
|
|
387
|
+
HttpOnly
|
|
96
388
|
Status:
|
|
97
389
|
- 200 OK
|
|
98
390
|
X-Runtime:
|
|
99
|
-
- '0.
|
|
391
|
+
- '0.118325'
|
|
100
392
|
X-Ua-Compatible:
|
|
101
393
|
- IE=Edge,chrome=1
|
|
102
394
|
Content-Length:
|
|
@@ -105,7 +397,7 @@ http_interactions:
|
|
|
105
397
|
- keep-alive
|
|
106
398
|
body:
|
|
107
399
|
encoding: US-ASCII
|
|
108
|
-
string: ! '{"updatedAt":"
|
|
400
|
+
string: ! '{"updatedAt":"2013-04-17T20:09:17.042Z"}'
|
|
109
401
|
http_version:
|
|
110
|
-
recorded_at:
|
|
111
|
-
recorded_with: VCR 2.
|
|
402
|
+
recorded_at: Wed, 17 Apr 2013 20:09:17 GMT
|
|
403
|
+
recorded_with: VCR 2.4.0
|
|
@@ -1,5 +1,303 @@
|
|
|
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 06:28:07 GMT
|
|
27
|
+
Etag:
|
|
28
|
+
- ! '"360448dea73c416e1e07f9e72698169c"'
|
|
29
|
+
Server:
|
|
30
|
+
- nginx/1.2.2
|
|
31
|
+
Set-Cookie:
|
|
32
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZWZmNjQ5MjA5MGU1MWI2Y2E0MmRkN2IxN2MzNGViMjQ%3D--5bf50dd9aae8824bbf477d23bc76630e376fbc1f;
|
|
33
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:28:07 GMT; secure;
|
|
34
|
+
HttpOnly
|
|
35
|
+
Status:
|
|
36
|
+
- 200 OK
|
|
37
|
+
X-Runtime:
|
|
38
|
+
- '0.462856'
|
|
39
|
+
X-Ua-Compatible:
|
|
40
|
+
- IE=Edge,chrome=1
|
|
41
|
+
Content-Length:
|
|
42
|
+
- '141'
|
|
43
|
+
Connection:
|
|
44
|
+
- keep-alive
|
|
45
|
+
body:
|
|
46
|
+
encoding: US-ASCII
|
|
47
|
+
string: ! '{"results":[{"title":"updated title","createdAt":"2013-04-17T06:28:05.824Z","updatedAt":"2013-04-17T06:28:06.536Z","objectId":"AlOj61HqOt"}]}'
|
|
48
|
+
http_version:
|
|
49
|
+
recorded_at: Wed, 17 Apr 2013 06:28:07 GMT
|
|
50
|
+
- request:
|
|
51
|
+
method: post
|
|
52
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/batch
|
|
53
|
+
body:
|
|
54
|
+
encoding: UTF-8
|
|
55
|
+
string: ! '{"requests":[{"method":"DELETE","path":"/1/classes/Post/AlOj61HqOt"}]}'
|
|
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
|
+
- '70'
|
|
65
|
+
User-Agent:
|
|
66
|
+
- Ruby
|
|
67
|
+
response:
|
|
68
|
+
status:
|
|
69
|
+
code: 200
|
|
70
|
+
message: OK
|
|
71
|
+
headers:
|
|
72
|
+
Cache-Control:
|
|
73
|
+
- max-age=0, private, must-revalidate
|
|
74
|
+
Content-Type:
|
|
75
|
+
- application/json; charset=utf-8
|
|
76
|
+
Date:
|
|
77
|
+
- Wed, 17 Apr 2013 06:28:08 GMT
|
|
78
|
+
Etag:
|
|
79
|
+
- ! '"6abe125b20486fefa07552105cea58f3"'
|
|
80
|
+
Server:
|
|
81
|
+
- nginx/1.2.2
|
|
82
|
+
Set-Cookie:
|
|
83
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYzVjZWI0MDk1YWYwMmVhODZmZGUyZTFkMmM3OGM2YTE%3D--1cd00667a1359bfa26e8c60f2f2c107acd6e0cf5;
|
|
84
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:28:08 GMT; secure;
|
|
85
|
+
HttpOnly
|
|
86
|
+
Status:
|
|
87
|
+
- 200 OK
|
|
88
|
+
X-Runtime:
|
|
89
|
+
- '0.070100'
|
|
90
|
+
X-Ua-Compatible:
|
|
91
|
+
- IE=Edge,chrome=1
|
|
92
|
+
Content-Length:
|
|
93
|
+
- '18'
|
|
94
|
+
Connection:
|
|
95
|
+
- keep-alive
|
|
96
|
+
body:
|
|
97
|
+
encoding: US-ASCII
|
|
98
|
+
string: ! '[{"success":true}]'
|
|
99
|
+
http_version:
|
|
100
|
+
recorded_at: Wed, 17 Apr 2013 06:28:08 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":"testing updated_at"}'
|
|
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
|
+
- '30'
|
|
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 06:28:08 GMT
|
|
129
|
+
Location:
|
|
130
|
+
- https://api.parse.com/1/classes/Post/kdpq7QOxWe
|
|
131
|
+
Server:
|
|
132
|
+
- nginx/1.2.2
|
|
133
|
+
Set-Cookie:
|
|
134
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlZjU1MDdjNmRhMjlkZDFhMjZlZGEyNzc1N2QxMWEwM2Y%3D--a857e0c2d8eb8689029e18ed81604974efd5cae2;
|
|
135
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:28:08 GMT; secure;
|
|
136
|
+
HttpOnly
|
|
137
|
+
Status:
|
|
138
|
+
- 201 Created
|
|
139
|
+
X-Runtime:
|
|
140
|
+
- '0.064465'
|
|
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-17T06:28:08.720Z","objectId":"kdpq7QOxWe"}'
|
|
150
|
+
http_version:
|
|
151
|
+
recorded_at: Wed, 17 Apr 2013 06:28:08 GMT
|
|
152
|
+
- request:
|
|
153
|
+
method: put
|
|
154
|
+
uri: https://tIcrV2dwbkT7AqjU8Cn8FZFU60hk5qCnMXlJnJQq:H6xYlZzvwBZHUBjoyrFKXkWZoCVfqrmC3ARXMZjq@api.parse.com/1/classes/Post/kdpq7QOxWe
|
|
155
|
+
body:
|
|
156
|
+
encoding: UTF-8
|
|
157
|
+
string: ! '{"title":"something else"}'
|
|
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
|
+
- '26'
|
|
167
|
+
User-Agent:
|
|
168
|
+
- Ruby
|
|
169
|
+
response:
|
|
170
|
+
status:
|
|
171
|
+
code: 200
|
|
172
|
+
message: OK
|
|
173
|
+
headers:
|
|
174
|
+
Cache-Control:
|
|
175
|
+
- max-age=0, private, must-revalidate
|
|
176
|
+
Content-Type:
|
|
177
|
+
- application/json; charset=utf-8
|
|
178
|
+
Date:
|
|
179
|
+
- Wed, 17 Apr 2013 06:28:09 GMT
|
|
180
|
+
Etag:
|
|
181
|
+
- ! '"a0c81fcd0ce5c5d7022e6dfbad5bf317"'
|
|
182
|
+
Server:
|
|
183
|
+
- nginx/1.2.2
|
|
184
|
+
Set-Cookie:
|
|
185
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlODBkYzk5MjU3NGEzODM3Njc5ODlhZWJhMTNhNTc5ZWE%3D--be6527299de12994551f9a86eb591a1f7295a704;
|
|
186
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 06:28:09 GMT; secure;
|
|
187
|
+
HttpOnly
|
|
188
|
+
Status:
|
|
189
|
+
- 200 OK
|
|
190
|
+
X-Runtime:
|
|
191
|
+
- '0.033300'
|
|
192
|
+
X-Ua-Compatible:
|
|
193
|
+
- IE=Edge,chrome=1
|
|
194
|
+
Content-Length:
|
|
195
|
+
- '40'
|
|
196
|
+
Connection:
|
|
197
|
+
- keep-alive
|
|
198
|
+
body:
|
|
199
|
+
encoding: US-ASCII
|
|
200
|
+
string: ! '{"updatedAt":"2013-04-17T06:28:09.290Z"}'
|
|
201
|
+
http_version:
|
|
202
|
+
recorded_at: Wed, 17 Apr 2013 06:28:09 GMT
|
|
203
|
+
- request:
|
|
204
|
+
method: get
|
|
205
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post?where=%7B%7D
|
|
206
|
+
body:
|
|
207
|
+
encoding: US-ASCII
|
|
208
|
+
string: ''
|
|
209
|
+
headers:
|
|
210
|
+
Accept:
|
|
211
|
+
- ! '*/*; q=0.5, application/xml'
|
|
212
|
+
Accept-Encoding:
|
|
213
|
+
- gzip, deflate
|
|
214
|
+
User-Agent:
|
|
215
|
+
- Ruby
|
|
216
|
+
response:
|
|
217
|
+
status:
|
|
218
|
+
code: 200
|
|
219
|
+
message: OK
|
|
220
|
+
headers:
|
|
221
|
+
Cache-Control:
|
|
222
|
+
- max-age=0, private, must-revalidate
|
|
223
|
+
Content-Type:
|
|
224
|
+
- application/json; charset=utf-8
|
|
225
|
+
Date:
|
|
226
|
+
- Wed, 17 Apr 2013 20:09:17 GMT
|
|
227
|
+
Etag:
|
|
228
|
+
- ! '"132811eab9e5ec53788a524ddce6bb05"'
|
|
229
|
+
Server:
|
|
230
|
+
- nginx/1.2.2
|
|
231
|
+
Set-Cookie:
|
|
232
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlYzdjMjFmN2RiOTMwZWNhYTdiZjAxZWJjZGRkMjI3N2Q%3D--3b26dac43457c59249537392adcce3c6fcbe0daf;
|
|
233
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:09:17 GMT; secure;
|
|
234
|
+
HttpOnly
|
|
235
|
+
Status:
|
|
236
|
+
- 200 OK
|
|
237
|
+
X-Runtime:
|
|
238
|
+
- '0.086620'
|
|
239
|
+
X-Ua-Compatible:
|
|
240
|
+
- IE=Edge,chrome=1
|
|
241
|
+
Content-Length:
|
|
242
|
+
- '141'
|
|
243
|
+
Connection:
|
|
244
|
+
- keep-alive
|
|
245
|
+
body:
|
|
246
|
+
encoding: US-ASCII
|
|
247
|
+
string: ! '{"results":[{"title":"updated title","createdAt":"2013-04-17T20:09:16.835Z","updatedAt":"2013-04-17T20:09:17.042Z","objectId":"rgvKsT8dyE"}]}'
|
|
248
|
+
http_version:
|
|
249
|
+
recorded_at: Wed, 17 Apr 2013 20:09:17 GMT
|
|
250
|
+
- request:
|
|
251
|
+
method: post
|
|
252
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/batch
|
|
253
|
+
body:
|
|
254
|
+
encoding: UTF-8
|
|
255
|
+
string: ! '{"requests":[{"method":"DELETE","path":"/1/classes/Post/rgvKsT8dyE"}]}'
|
|
256
|
+
headers:
|
|
257
|
+
Accept:
|
|
258
|
+
- ! '*/*; q=0.5, application/xml'
|
|
259
|
+
Accept-Encoding:
|
|
260
|
+
- gzip, deflate
|
|
261
|
+
Content-Type:
|
|
262
|
+
- application/json
|
|
263
|
+
Content-Length:
|
|
264
|
+
- '70'
|
|
265
|
+
User-Agent:
|
|
266
|
+
- Ruby
|
|
267
|
+
response:
|
|
268
|
+
status:
|
|
269
|
+
code: 200
|
|
270
|
+
message: OK
|
|
271
|
+
headers:
|
|
272
|
+
Cache-Control:
|
|
273
|
+
- max-age=0, private, must-revalidate
|
|
274
|
+
Content-Type:
|
|
275
|
+
- application/json; charset=utf-8
|
|
276
|
+
Date:
|
|
277
|
+
- Wed, 17 Apr 2013 20:09:17 GMT
|
|
278
|
+
Etag:
|
|
279
|
+
- ! '"6abe125b20486fefa07552105cea58f3"'
|
|
280
|
+
Server:
|
|
281
|
+
- nginx/1.2.2
|
|
282
|
+
Set-Cookie:
|
|
283
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNTY5NjA4MzcyMGIyYmU3MGI5YjYzNGM1ODFhZmQ3YTY%3D--ed6a18d9aa0eb40d3f0a7dd1920993ec66bfad8d;
|
|
284
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:09:17 GMT; secure;
|
|
285
|
+
HttpOnly
|
|
286
|
+
Status:
|
|
287
|
+
- 200 OK
|
|
288
|
+
X-Runtime:
|
|
289
|
+
- '0.050090'
|
|
290
|
+
X-Ua-Compatible:
|
|
291
|
+
- IE=Edge,chrome=1
|
|
292
|
+
Content-Length:
|
|
293
|
+
- '18'
|
|
294
|
+
Connection:
|
|
295
|
+
- keep-alive
|
|
296
|
+
body:
|
|
297
|
+
encoding: US-ASCII
|
|
298
|
+
string: ! '[{"success":true}]'
|
|
299
|
+
http_version:
|
|
300
|
+
recorded_at: Wed, 17 Apr 2013 20:09:17 GMT
|
|
3
301
|
- request:
|
|
4
302
|
method: post
|
|
5
303
|
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post
|
|
@@ -22,27 +320,24 @@ http_interactions:
|
|
|
22
320
|
code: 201
|
|
23
321
|
message: Created
|
|
24
322
|
headers:
|
|
25
|
-
Access-Control-Allow-Origin:
|
|
26
|
-
- https://parse.com, https://www.parse.com
|
|
27
|
-
Access-Control-Request-Method:
|
|
28
|
-
- ! '*'
|
|
29
323
|
Cache-Control:
|
|
30
324
|
- no-cache
|
|
31
325
|
Content-Type:
|
|
32
326
|
- application/json; charset=utf-8
|
|
33
327
|
Date:
|
|
34
|
-
-
|
|
328
|
+
- Wed, 17 Apr 2013 20:09:17 GMT
|
|
35
329
|
Location:
|
|
36
|
-
- https://api.parse.com/1/classes/Post/
|
|
330
|
+
- https://api.parse.com/1/classes/Post/DB12UuGF6f
|
|
37
331
|
Server:
|
|
38
332
|
- nginx/1.2.2
|
|
39
333
|
Set-Cookie:
|
|
40
|
-
- _parse_session=
|
|
41
|
-
domain=.parse.com; path=/; expires=
|
|
334
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMGZjYTI5NWJiMzRiNzg5ZGUwNDQ0MDkzOWQxMzlhNmQ%3D--a4d86eba29437622db2b45092aede153beddc12a;
|
|
335
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:09:17 GMT; secure;
|
|
336
|
+
HttpOnly
|
|
42
337
|
Status:
|
|
43
338
|
- 201 Created
|
|
44
339
|
X-Runtime:
|
|
45
|
-
- '0.
|
|
340
|
+
- '0.061459'
|
|
46
341
|
X-Ua-Compatible:
|
|
47
342
|
- IE=Edge,chrome=1
|
|
48
343
|
Content-Length:
|
|
@@ -51,12 +346,12 @@ http_interactions:
|
|
|
51
346
|
- keep-alive
|
|
52
347
|
body:
|
|
53
348
|
encoding: US-ASCII
|
|
54
|
-
string: ! '{"createdAt":"
|
|
349
|
+
string: ! '{"createdAt":"2013-04-17T20:09:17.626Z","objectId":"DB12UuGF6f"}'
|
|
55
350
|
http_version:
|
|
56
|
-
recorded_at:
|
|
351
|
+
recorded_at: Wed, 17 Apr 2013 20:09:17 GMT
|
|
57
352
|
- request:
|
|
58
353
|
method: put
|
|
59
|
-
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post/
|
|
354
|
+
uri: https://FKEzdzDgEyghLDFgIVHYJehVlWpfVtUmEv4MUEkJ:bOYO7usWbrcIbL5L5bPzlYrSonQRvwJecC1XLsuN@api.parse.com/1/classes/Post/DB12UuGF6f
|
|
60
355
|
body:
|
|
61
356
|
encoding: UTF-8
|
|
62
357
|
string: ! '{"title":"something else"}'
|
|
@@ -76,27 +371,24 @@ http_interactions:
|
|
|
76
371
|
code: 200
|
|
77
372
|
message: OK
|
|
78
373
|
headers:
|
|
79
|
-
Access-Control-Allow-Origin:
|
|
80
|
-
- https://parse.com, https://www.parse.com
|
|
81
|
-
Access-Control-Request-Method:
|
|
82
|
-
- ! '*'
|
|
83
374
|
Cache-Control:
|
|
84
375
|
- max-age=0, private, must-revalidate
|
|
85
376
|
Content-Type:
|
|
86
377
|
- application/json; charset=utf-8
|
|
87
378
|
Date:
|
|
88
|
-
-
|
|
379
|
+
- Wed, 17 Apr 2013 20:09:17 GMT
|
|
89
380
|
Etag:
|
|
90
|
-
- ! '"
|
|
381
|
+
- ! '"90b6c36568ca723db706bd9facb96db8"'
|
|
91
382
|
Server:
|
|
92
383
|
- nginx/1.2.2
|
|
93
384
|
Set-Cookie:
|
|
94
|
-
- _parse_session=
|
|
95
|
-
domain=.parse.com; path=/; expires=
|
|
385
|
+
- _parse_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlNjMzMTE4NDVhYzIxNzNhMjJhOWU0Njg5ZGZhMmRiN2U%3D--36423630d6d177bf6052e65e8b9ee6aeb21af0f4;
|
|
386
|
+
domain=.parse.com; path=/; expires=Mon, 17-Apr-2023 20:09:17 GMT; secure;
|
|
387
|
+
HttpOnly
|
|
96
388
|
Status:
|
|
97
389
|
- 200 OK
|
|
98
390
|
X-Runtime:
|
|
99
|
-
- '0.
|
|
391
|
+
- '0.026807'
|
|
100
392
|
X-Ua-Compatible:
|
|
101
393
|
- IE=Edge,chrome=1
|
|
102
394
|
Content-Length:
|
|
@@ -105,7 +397,7 @@ http_interactions:
|
|
|
105
397
|
- keep-alive
|
|
106
398
|
body:
|
|
107
399
|
encoding: US-ASCII
|
|
108
|
-
string: ! '{"updatedAt":"
|
|
400
|
+
string: ! '{"updatedAt":"2013-04-17T20:09:17.777Z"}'
|
|
109
401
|
http_version:
|
|
110
|
-
recorded_at:
|
|
111
|
-
recorded_with: VCR 2.
|
|
402
|
+
recorded_at: Wed, 17 Apr 2013 20:09:17 GMT
|
|
403
|
+
recorded_with: VCR 2.4.0
|