dropbox-api-petems 0.4.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +5 -0
- data/README.markdown +13 -8
- data/Rakefile +5 -0
- data/dropbox-api.gemspec +9 -8
- data/lib/dropbox-api.rb +1 -0
- data/lib/dropbox-api/objects/dir.rb +5 -0
- data/lib/dropbox-api/objects/file.rb +5 -10
- data/lib/dropbox-api/objects/fileops.rb +5 -0
- data/lib/dropbox-api/tasks.rb +2 -2
- data/lib/dropbox-api/version.rb +1 -1
- data/spec/connection.offline.yml +5 -0
- data/spec/lib/dropbox-api/client_spec.rb +96 -68
- data/spec/lib/dropbox-api/connection_spec.rb +1 -1
- data/spec/lib/dropbox-api/dir_spec.rb +12 -6
- data/spec/lib/dropbox-api/file_spec.rb +7 -11
- data/spec/lib/dropbox-api/oauth_spec.rb +22 -1
- data/spec/lib/dropbox-api/thumbnail_spec.rb +4 -4
- data/spec/spec_helper.rb +13 -4
- data/spec/support/config.rb +5 -1
- data/spec/vcr/cassettes/Dropbox_API_Client/_account/retrieves_the_account_object.yml +54 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_chunked_upload/puts_a_5MB_file_in_dropbox.yml +150 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_chunked_upload/yields_current_offset_and_upload_id.yml +150 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_copy_from_copy_ref/copies_a_file_from_a_copy_ref.yml +271 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_delta/returns_a_cursor_and_list_of_files.yml +184 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_delta/returns_the_files_that_have_changed_since_the_cursor_was_made.yml +361 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_download/a_file/downloads_a_file.yml +58 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_download/a_non-existant_file/raises_a_404.yml +38 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_find/returns_a_single_directory.yml +63 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_find/returns_a_single_file.yml +55 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_ls/a_directory/returns_an_item_array_of_directory_contents.yml +107 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_ls/a_single_file/returns_a_single_item_array_of_if_we_ls_a_file.yml +107 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_ls/no_value/returns_an_array_of_files_and_dirs.yml +115 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_mkdir/creates_dirs_with_tricky_characters.yml +61 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_mkdir/creates_dirs_with_utf8_characters.yml +61 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_mkdir/returns_an_array_of_files_and_dirs.yml +61 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_search/no_path_given/finds_the_file_if_in_root.yml +55 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_search/path_with_leading_slash/finds_the_file.yml +56 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_search/with_path/finds_a_file.yml +56 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_upload/a_file_with_tricky_characters/is_uploaded.yml +56 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_upload/a_file_with_utf8/is_uploaded.yml +56 -0
- data/spec/vcr/cassettes/Dropbox_API_Client/_upload/a_simple_file/is_uploaded.yml +55 -0
- data/spec/vcr/cassettes/Dropbox_API_Dir/_copy/copies_the_dir_properly.yml +120 -0
- data/spec/vcr/cassettes/Dropbox_API_Dir/_destroy/destroys_the_dir_properly.yml +120 -0
- data/spec/vcr/cassettes/Dropbox_API_Dir/_direct_url/gives_the_direct_url.yml +115 -0
- data/spec/vcr/cassettes/Dropbox_API_Dir/_move/moves_the_dir_properly.yml +120 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_copy/copies_the_file_properly.yml +115 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_copy_ref/returns_a_copy_ref_object.yml +104 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_destroy/destroys_the_file_properly.yml +115 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_direct_url/returns_an_Url_object.yml +109 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_download/should_download_the_file.yml +109 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_move/moves_the_file_properly.yml +115 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_restore/restores_the_file_to_a_specific_revision.yml +270 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_revisions/retrieves_all_revisions_as_an_Array_of_File_objects.yml +166 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_share_url/returns_an_Url_object.yml +109 -0
- data/spec/vcr/cassettes/Dropbox_API_File/_thumbnail/downloads_a_thumbnail.yml +427 -0
- data/spec/vcr/cassettes/Dropbox_API_OAuth/_consumer/provides_an_oauth_method.yml +105 -0
- metadata +127 -41
- data/.ruby-version +0 -1
data/spec/vcr/cassettes/Dropbox_API_Client/_copy_from_copy_ref/copies_a_file_from_a_copy_ref.yml
ADDED
@@ -0,0 +1,271 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://api-content.dropbox.com/1/files_put/dropbox/test/searchable-test-100.txt
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: Some file
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/octet-stream
|
12
|
+
Content-Length:
|
13
|
+
- '9'
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
User-Agent:
|
19
|
+
- OAuth gem v0.4.7
|
20
|
+
Authorization:
|
21
|
+
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx
|
29
|
+
Date:
|
30
|
+
- Mon, 10 Feb 2014 20:37:13 GMT
|
31
|
+
Content-Type:
|
32
|
+
- text/javascript
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Server-Response-Time:
|
38
|
+
- '700'
|
39
|
+
X-Dropbox-Request-Id:
|
40
|
+
- 13fed770b1e673000382965948451195
|
41
|
+
Pragma:
|
42
|
+
- no-cache
|
43
|
+
Cache-Control:
|
44
|
+
- no-cache
|
45
|
+
X-Requestid:
|
46
|
+
- ba304a70c007f85992d148424d090993
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"revision": 79, "rev": "4f1f47d8b3", "thumb_exists": false, "bytes":
|
50
|
+
9, "modified": "Mon, 10 Feb 2014 20:37:13 +0000", "client_mtime": "Mon, 10
|
51
|
+
Feb 2014 20:37:13 +0000", "path": "/test/searchable-test-100.txt", "is_dir":
|
52
|
+
false, "icon": "page_white_text", "root": "dropbox", "mime_type": "text/plain",
|
53
|
+
"size": "9 bytes"}'
|
54
|
+
http_version:
|
55
|
+
recorded_at: Mon, 10 Feb 2014 20:37:14 GMT
|
56
|
+
- request:
|
57
|
+
method: get
|
58
|
+
uri: https://api.dropbox.com/1/search/dropbox/test?query=searchable-test-100
|
59
|
+
body:
|
60
|
+
encoding: US-ASCII
|
61
|
+
string: ''
|
62
|
+
headers:
|
63
|
+
Accept-Encoding:
|
64
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
65
|
+
Accept:
|
66
|
+
- '*/*'
|
67
|
+
User-Agent:
|
68
|
+
- OAuth gem v0.4.7
|
69
|
+
Authorization:
|
70
|
+
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
71
|
+
response:
|
72
|
+
status:
|
73
|
+
code: 200
|
74
|
+
message: OK
|
75
|
+
headers:
|
76
|
+
Server:
|
77
|
+
- nginx
|
78
|
+
Date:
|
79
|
+
- Mon, 10 Feb 2014 20:37:15 GMT
|
80
|
+
Content-Type:
|
81
|
+
- text/javascript
|
82
|
+
Transfer-Encoding:
|
83
|
+
- chunked
|
84
|
+
Connection:
|
85
|
+
- keep-alive
|
86
|
+
X-Server-Response-Time:
|
87
|
+
- '44'
|
88
|
+
X-Dropbox-Request-Id:
|
89
|
+
- 93843b22cdb7dcfb19a15ba3c91229ac
|
90
|
+
Pragma:
|
91
|
+
- no-cache
|
92
|
+
Cache-Control:
|
93
|
+
- no-cache
|
94
|
+
X-Dropbox-Http-Protocol:
|
95
|
+
- None
|
96
|
+
X-Frame-Options:
|
97
|
+
- SAMEORIGIN
|
98
|
+
X-Requestid:
|
99
|
+
- 946dd3f68f5336f1f90c6e707f12202a
|
100
|
+
body:
|
101
|
+
encoding: UTF-8
|
102
|
+
string: '[{"revision": 79, "rev": "4f1f47d8b3", "thumb_exists": false, "bytes":
|
103
|
+
9, "modified": "Mon, 10 Feb 2014 20:37:13 +0000", "client_mtime": "Mon, 10
|
104
|
+
Feb 2014 20:37:13 +0000", "path": "/test/searchable-test-100.txt", "is_dir":
|
105
|
+
false, "icon": "page_white_text", "root": "dropbox", "mime_type": "text/plain",
|
106
|
+
"size": "9 bytes"}]'
|
107
|
+
http_version:
|
108
|
+
recorded_at: Mon, 10 Feb 2014 20:37:16 GMT
|
109
|
+
- request:
|
110
|
+
method: get
|
111
|
+
uri: https://api.dropbox.com/1/copy_ref/dropbox/test/searchable-test-100.txt
|
112
|
+
body:
|
113
|
+
encoding: US-ASCII
|
114
|
+
string: ''
|
115
|
+
headers:
|
116
|
+
Accept-Encoding:
|
117
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
118
|
+
Accept:
|
119
|
+
- '*/*'
|
120
|
+
User-Agent:
|
121
|
+
- OAuth gem v0.4.7
|
122
|
+
Authorization:
|
123
|
+
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
124
|
+
response:
|
125
|
+
status:
|
126
|
+
code: 200
|
127
|
+
message: OK
|
128
|
+
headers:
|
129
|
+
Server:
|
130
|
+
- nginx
|
131
|
+
Date:
|
132
|
+
- Mon, 10 Feb 2014 20:37:16 GMT
|
133
|
+
Content-Type:
|
134
|
+
- text/javascript
|
135
|
+
Transfer-Encoding:
|
136
|
+
- chunked
|
137
|
+
Connection:
|
138
|
+
- keep-alive
|
139
|
+
X-Server-Response-Time:
|
140
|
+
- '56'
|
141
|
+
X-Dropbox-Request-Id:
|
142
|
+
- a12f849f408df903ef5d9d1caa7db354
|
143
|
+
Pragma:
|
144
|
+
- no-cache
|
145
|
+
Cache-Control:
|
146
|
+
- no-cache
|
147
|
+
X-Dropbox-Http-Protocol:
|
148
|
+
- None
|
149
|
+
X-Frame-Options:
|
150
|
+
- SAMEORIGIN
|
151
|
+
X-Requestid:
|
152
|
+
- 4c00e26bccf6a3c96043686bc79bc91a
|
153
|
+
body:
|
154
|
+
encoding: UTF-8
|
155
|
+
string: '{"expires": "Wed, 03 Feb 2044 20:37:16 +0000", "copy_ref": "H0fYs2ZqODV4aGxlMmh6ag"}'
|
156
|
+
http_version:
|
157
|
+
recorded_at: Mon, 10 Feb 2014 20:37:17 GMT
|
158
|
+
- request:
|
159
|
+
method: post
|
160
|
+
uri: https://api.dropbox.com/1/fileops/copy
|
161
|
+
body:
|
162
|
+
encoding: US-ASCII
|
163
|
+
string: from_copy_ref=H0fYs2ZqODV4aGxlMmh6ag&root=dropbox&to_path=test%2Fsearchable-test-100.txt.copied
|
164
|
+
headers:
|
165
|
+
Accept-Encoding:
|
166
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
167
|
+
Accept:
|
168
|
+
- '*/*'
|
169
|
+
User-Agent:
|
170
|
+
- OAuth gem v0.4.7
|
171
|
+
Content-Length:
|
172
|
+
- '0'
|
173
|
+
Content-Type:
|
174
|
+
- application/x-www-form-urlencoded
|
175
|
+
Authorization:
|
176
|
+
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
177
|
+
response:
|
178
|
+
status:
|
179
|
+
code: 200
|
180
|
+
message: OK
|
181
|
+
headers:
|
182
|
+
Server:
|
183
|
+
- nginx
|
184
|
+
Date:
|
185
|
+
- Mon, 10 Feb 2014 20:37:17 GMT
|
186
|
+
Content-Type:
|
187
|
+
- text/javascript
|
188
|
+
Transfer-Encoding:
|
189
|
+
- chunked
|
190
|
+
Connection:
|
191
|
+
- keep-alive
|
192
|
+
Set-Cookie:
|
193
|
+
- gvc=NzI5Nzc0ODA1MzUzNjQ3OTYzNTYwMTI3MDc4OTYyNzUyODUzNDU%3D; expires=Sat, 09
|
194
|
+
Feb 2019 20:37:17 GMT; Path=/; httponly
|
195
|
+
X-Server-Response-Time:
|
196
|
+
- '192'
|
197
|
+
X-Dropbox-Request-Id:
|
198
|
+
- f7ce802110f310b92e0dc00c4e1b0482
|
199
|
+
Pragma:
|
200
|
+
- no-cache
|
201
|
+
Cache-Control:
|
202
|
+
- no-cache
|
203
|
+
X-Dropbox-Http-Protocol:
|
204
|
+
- None
|
205
|
+
X-Frame-Options:
|
206
|
+
- SAMEORIGIN
|
207
|
+
X-Requestid:
|
208
|
+
- 2ed3d07f5764fce2dda96a3396c729fc
|
209
|
+
body:
|
210
|
+
encoding: UTF-8
|
211
|
+
string: '{"revision": 81, "rev": "511f47d8b3", "thumb_exists": false, "bytes":
|
212
|
+
9, "modified": "Mon, 10 Feb 2014 20:37:17 +0000", "client_mtime": "Mon, 10
|
213
|
+
Feb 2014 20:37:13 +0000", "path": "/test/searchable-test-100.txt.copied",
|
214
|
+
"is_dir": false, "icon": "page_white", "root": "dropbox", "mime_type": "application/octet-stream",
|
215
|
+
"size": "9 bytes"}'
|
216
|
+
http_version:
|
217
|
+
recorded_at: Mon, 10 Feb 2014 20:37:18 GMT
|
218
|
+
- request:
|
219
|
+
method: get
|
220
|
+
uri: https://api.dropbox.com/1/search/dropbox/test?query=searchable-test-100.txt.copied
|
221
|
+
body:
|
222
|
+
encoding: US-ASCII
|
223
|
+
string: ''
|
224
|
+
headers:
|
225
|
+
Accept-Encoding:
|
226
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
227
|
+
Accept:
|
228
|
+
- '*/*'
|
229
|
+
User-Agent:
|
230
|
+
- OAuth gem v0.4.7
|
231
|
+
Authorization:
|
232
|
+
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
233
|
+
response:
|
234
|
+
status:
|
235
|
+
code: 200
|
236
|
+
message: OK
|
237
|
+
headers:
|
238
|
+
Server:
|
239
|
+
- nginx
|
240
|
+
Date:
|
241
|
+
- Mon, 10 Feb 2014 20:37:19 GMT
|
242
|
+
Content-Type:
|
243
|
+
- text/javascript
|
244
|
+
Transfer-Encoding:
|
245
|
+
- chunked
|
246
|
+
Connection:
|
247
|
+
- keep-alive
|
248
|
+
X-Server-Response-Time:
|
249
|
+
- '47'
|
250
|
+
X-Dropbox-Request-Id:
|
251
|
+
- 145c1e5f4a85b67d5f470b78f153f656
|
252
|
+
Pragma:
|
253
|
+
- no-cache
|
254
|
+
Cache-Control:
|
255
|
+
- no-cache
|
256
|
+
X-Dropbox-Http-Protocol:
|
257
|
+
- None
|
258
|
+
X-Frame-Options:
|
259
|
+
- SAMEORIGIN
|
260
|
+
X-Requestid:
|
261
|
+
- d40a993101b78718a5d42351d39122e0
|
262
|
+
body:
|
263
|
+
encoding: UTF-8
|
264
|
+
string: '[{"revision": 81, "rev": "511f47d8b3", "thumb_exists": false, "bytes":
|
265
|
+
9, "modified": "Mon, 10 Feb 2014 20:37:17 +0000", "client_mtime": "Mon, 10
|
266
|
+
Feb 2014 20:37:13 +0000", "path": "/test/searchable-test-100.txt.copied",
|
267
|
+
"is_dir": false, "icon": "page_white", "root": "dropbox", "mime_type": "application/octet-stream",
|
268
|
+
"size": "9 bytes"}]'
|
269
|
+
http_version:
|
270
|
+
recorded_at: Mon, 10 Feb 2014 20:37:20 GMT
|
271
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,184 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://api-content.dropbox.com/1/files_put/dropbox/awesome-tests/delta-test-foo.txt
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: Some file
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/octet-stream
|
12
|
+
Content-Length:
|
13
|
+
- '9'
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
User-Agent:
|
19
|
+
- OAuth gem v0.4.7
|
20
|
+
Authorization:
|
21
|
+
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx
|
29
|
+
Date:
|
30
|
+
- Mon, 10 Feb 2014 20:47:33 GMT
|
31
|
+
Content-Type:
|
32
|
+
- text/javascript
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
X-Server-Response-Time:
|
38
|
+
- '490'
|
39
|
+
X-Dropbox-Request-Id:
|
40
|
+
- cf682e3deea4da80fc3b2c8033558852
|
41
|
+
Pragma:
|
42
|
+
- no-cache
|
43
|
+
Cache-Control:
|
44
|
+
- no-cache
|
45
|
+
X-Requestid:
|
46
|
+
- c58d33bd807e3fd9083670f2eae6cf6d
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"revision": 104, "rev": "681f47d8b3", "thumb_exists": false, "bytes":
|
50
|
+
9, "modified": "Mon, 10 Feb 2014 20:47:32 +0000", "client_mtime": "Mon, 10
|
51
|
+
Feb 2014 20:47:32 +0000", "path": "/awesome-tests/delta-test-foo.txt", "is_dir":
|
52
|
+
false, "icon": "page_white_text", "root": "dropbox", "mime_type": "text/plain",
|
53
|
+
"size": "9 bytes"}'
|
54
|
+
http_version:
|
55
|
+
recorded_at: Mon, 10 Feb 2014 20:47:34 GMT
|
56
|
+
- request:
|
57
|
+
method: post
|
58
|
+
uri: https://api.dropbox.com/1/delta
|
59
|
+
body:
|
60
|
+
encoding: US-ASCII
|
61
|
+
string: ''
|
62
|
+
headers:
|
63
|
+
Accept-Encoding:
|
64
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
65
|
+
Accept:
|
66
|
+
- '*/*'
|
67
|
+
User-Agent:
|
68
|
+
- OAuth gem v0.4.7
|
69
|
+
Content-Length:
|
70
|
+
- '0'
|
71
|
+
Content-Type:
|
72
|
+
- application/x-www-form-urlencoded
|
73
|
+
Authorization:
|
74
|
+
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
75
|
+
response:
|
76
|
+
status:
|
77
|
+
code: 200
|
78
|
+
message: OK
|
79
|
+
headers:
|
80
|
+
Server:
|
81
|
+
- nginx
|
82
|
+
Date:
|
83
|
+
- Mon, 10 Feb 2014 20:47:34 GMT
|
84
|
+
Content-Type:
|
85
|
+
- text/javascript
|
86
|
+
Transfer-Encoding:
|
87
|
+
- chunked
|
88
|
+
Connection:
|
89
|
+
- keep-alive
|
90
|
+
X-Server-Response-Time:
|
91
|
+
- '43'
|
92
|
+
X-Dropbox-Request-Id:
|
93
|
+
- 626bd28d4d8cb33ee58b3d57f25de920
|
94
|
+
Pragma:
|
95
|
+
- no-cache
|
96
|
+
Cache-Control:
|
97
|
+
- no-cache
|
98
|
+
X-Dropbox-Http-Protocol:
|
99
|
+
- None
|
100
|
+
X-Frame-Options:
|
101
|
+
- SAMEORIGIN
|
102
|
+
X-Requestid:
|
103
|
+
- 13cba29797917ed168fa5f874bb4493b
|
104
|
+
body:
|
105
|
+
encoding: UTF-8
|
106
|
+
string: '{"has_more": false, "cursor": "AAFgt6nTvJUCmUqI0reN9_oXeG7rJGtKAl2B51ZDtUHOFSJeQrK2YeXjhLArKTf3xtINlsQdkPkbiawsVfWTPwND1lmci89t0F7HuJkPNxOAPA",
|
107
|
+
"entries": [["/getting started.pdf", {"revision": 1, "rev": "11f47d8b3", "thumb_exists":
|
108
|
+
false, "bytes": 249159, "modified": "Mon, 10 Feb 2014 17:46:48 +0000", "client_mtime":
|
109
|
+
"Mon, 10 Feb 2014 17:46:48 +0000", "path": "/Getting Started.pdf", "is_dir":
|
110
|
+
false, "icon": "page_white_acrobat", "root": "dropbox", "mime_type": "application/pdf",
|
111
|
+
"size": "243.3 KB"}], ["/test-1392055876.txt", {"revision": 5, "rev": "51f47d8b3",
|
112
|
+
"thumb_exists": false, "bytes": 9, "modified": "Mon, 10 Feb 2014 18:11:24
|
113
|
+
+0000", "client_mtime": "Mon, 10 Feb 2014 18:11:24 +0000", "path": "/test-1392055876.txt",
|
114
|
+
"is_dir": false, "icon": "page_white_text", "root": "dropbox", "mime_type":
|
115
|
+
"text/plain", "size": "9 bytes"}], ["/test ,|!@#$%^&*{b}[].;''.,<>?:-1392055876.txt",
|
116
|
+
{"revision": 6, "rev": "61f47d8b3", "thumb_exists": false, "bytes": 9, "modified":
|
117
|
+
"Mon, 10 Feb 2014 18:11:25 +0000", "client_mtime": "Mon, 10 Feb 2014 18:11:25
|
118
|
+
+0000", "path": "/test ,|!@#$%^&*{b}[].;''.,<>?:-1392055876.txt", "is_dir":
|
119
|
+
false, "icon": "page_white_text", "root": "dropbox", "mime_type": "text/plain",
|
120
|
+
"size": "9 bytes"}], ["/test \u0142o\u0142\u0105\u00f3-1392055876.txt", {"revision":
|
121
|
+
7, "rev": "71f47d8b3", "thumb_exists": false, "bytes": 9, "modified": "Mon,
|
122
|
+
10 Feb 2014 18:11:26 +0000", "client_mtime": "Mon, 10 Feb 2014 18:11:26 +0000",
|
123
|
+
"path": "/test \u0142o\u0142\u0105\u00f3-1392055876.txt", "is_dir": false,
|
124
|
+
"icon": "page_white_text", "root": "dropbox", "mime_type": "text/plain", "size":
|
125
|
+
"9 bytes"}], ["/test.txt", {"revision": 9, "rev": "91f47d8b3", "thumb_exists":
|
126
|
+
false, "bytes": 9, "modified": "Mon, 10 Feb 2014 18:14:02 +0000", "client_mtime":
|
127
|
+
"Mon, 10 Feb 2014 18:14:02 +0000", "path": "/test.txt", "is_dir": false, "icon":
|
128
|
+
"page_white_text", "root": "dropbox", "mime_type": "text/plain", "size": "9
|
129
|
+
bytes"}], ["/test ,|!@#$%^&*{b}[].;''.,<>?:.txt", {"revision": 10, "rev":
|
130
|
+
"a1f47d8b3", "thumb_exists": false, "bytes": 9, "modified": "Mon, 10 Feb 2014
|
131
|
+
18:14:03 +0000", "client_mtime": "Mon, 10 Feb 2014 18:14:03 +0000", "path":
|
132
|
+
"/test ,|!@#$%^&*{b}[].;''.,<>?:.txt", "is_dir": false, "icon": "page_white_text",
|
133
|
+
"root": "dropbox", "mime_type": "text/plain", "size": "9 bytes"}], ["/test
|
134
|
+
\u0142o\u0142\u0105\u00f3.txt", {"revision": 11, "rev": "b1f47d8b3", "thumb_exists":
|
135
|
+
false, "bytes": 9, "modified": "Mon, 10 Feb 2014 18:14:04 +0000", "client_mtime":
|
136
|
+
"Mon, 10 Feb 2014 18:14:04 +0000", "path": "/test \u0142o\u0142\u0105\u00f3.txt",
|
137
|
+
"is_dir": false, "icon": "page_white_text", "root": "dropbox", "mime_type":
|
138
|
+
"text/plain", "size": "9 bytes"}], ["/foo.txt", {"revision": 13, "rev": "d1f47d8b3",
|
139
|
+
"thumb_exists": false, "bytes": 9, "modified": "Mon, 10 Feb 2014 18:14:12
|
140
|
+
+0000", "client_mtime": "Mon, 10 Feb 2014 18:12:21 +0000", "path": "/foo.txt",
|
141
|
+
"is_dir": false, "icon": "page_white_text", "root": "dropbox", "mime_type":
|
142
|
+
"text/plain", "size": "9 bytes"}], ["/baz.txt", {"revision": 43, "rev": "2b1f47d8b3",
|
143
|
+
"thumb_exists": false, "bytes": 15, "modified": "Mon, 10 Feb 2014 18:28:30
|
144
|
+
+0000", "client_mtime": "Mon, 10 Feb 2014 18:28:30 +0000", "path": "/baz.txt",
|
145
|
+
"is_dir": false, "icon": "page_white_text", "root": "dropbox", "mime_type":
|
146
|
+
"text/plain", "size": "15 bytes"}], ["/test-1392058752/spec-test-1392058752.jpg",
|
147
|
+
{"revision": 44, "rev": "2c1f47d8b3", "thumb_exists": true, "bytes": 12582,
|
148
|
+
"modified": "Mon, 10 Feb 2014 18:59:13 +0000", "client_mtime": "Mon, 10 Feb
|
149
|
+
2014 18:59:13 +0000", "path": "/test-1392058752/spec-test-1392058752.jpg",
|
150
|
+
"is_dir": false, "icon": "page_white_picture", "root": "dropbox", "mime_type":
|
151
|
+
"image/jpeg", "size": "12.3 KB"}], ["/test-1392058752", {"revision": 45, "rev":
|
152
|
+
"2d1f47d8b3", "thumb_exists": false, "bytes": 0, "modified": "Mon, 10 Feb
|
153
|
+
2014 18:59:13 +0000", "path": "/test-1392058752", "is_dir": true, "icon":
|
154
|
+
"folder", "root": "dropbox", "size": "0 bytes"}], ["/spec-test-1392058752.jpg",
|
155
|
+
{"revision": 67, "rev": "431f47d8b3", "thumb_exists": true, "bytes": 12582,
|
156
|
+
"modified": "Mon, 10 Feb 2014 20:30:20 +0000", "client_mtime": "Mon, 10 Feb
|
157
|
+
2014 20:30:20 +0000", "path": "/spec-test-1392058752.jpg", "is_dir": false,
|
158
|
+
"icon": "page_white_picture", "root": "dropbox", "mime_type": "image/jpeg",
|
159
|
+
"size": "12.3 KB"}], ["/dir-spec-tests-copied", {"revision": 93, "rev": "5d1f47d8b3",
|
160
|
+
"thumb_exists": false, "bytes": 0, "modified": "Mon, 10 Feb 2014 20:39:21
|
161
|
+
+0000", "path": "/dir-spec-tests-copied", "is_dir": true, "icon": "folder",
|
162
|
+
"root": "dropbox", "size": "0 bytes"}], ["/dir-spec-tests", {"revision": 96,
|
163
|
+
"rev": "601f47d8b3", "thumb_exists": false, "bytes": 0, "modified": "Mon,
|
164
|
+
10 Feb 2014 20:39:27 +0000", "path": "/dir-spec-tests", "is_dir": true, "icon":
|
165
|
+
"folder", "root": "dropbox", "size": "0 bytes"}], ["/qux.txt.copied", {"revision":
|
166
|
+
101, "rev": "651f47d8b3", "thumb_exists": false, "bytes": 9, "modified": "Mon,
|
167
|
+
10 Feb 2014 20:41:14 +0000", "client_mtime": "Mon, 10 Feb 2014 20:41:10 +0000",
|
168
|
+
"path": "/qux.txt.copied", "is_dir": false, "icon": "page_white", "root":
|
169
|
+
"dropbox", "mime_type": "application/octet-stream", "size": "9 bytes"}], ["/awesome-tests",
|
170
|
+
{"revision": 102, "rev": "661f47d8b3", "thumb_exists": false, "bytes": 0,
|
171
|
+
"modified": "Mon, 10 Feb 2014 20:41:49 +0000", "path": "/awesome-tests", "is_dir":
|
172
|
+
true, "icon": "folder", "root": "dropbox", "size": "0 bytes"}], ["/awesome-tests/foo.txt",
|
173
|
+
{"revision": 103, "rev": "671f47d8b3", "thumb_exists": false, "bytes": 9,
|
174
|
+
"modified": "Mon, 10 Feb 2014 20:42:38 +0000", "client_mtime": "Mon, 10 Feb
|
175
|
+
2014 18:12:21 +0000", "path": "/awesome-tests/foo.txt", "is_dir": false, "icon":
|
176
|
+
"page_white_text", "root": "dropbox", "mime_type": "text/plain", "size": "9
|
177
|
+
bytes"}], ["/awesome-tests/delta-test-foo.txt", {"revision": 104, "rev": "681f47d8b3",
|
178
|
+
"thumb_exists": false, "bytes": 9, "modified": "Mon, 10 Feb 2014 20:47:32
|
179
|
+
+0000", "client_mtime": "Mon, 10 Feb 2014 20:47:32 +0000", "path": "/awesome-tests/delta-test-foo.txt",
|
180
|
+
"is_dir": false, "icon": "page_white_text", "root": "dropbox", "mime_type":
|
181
|
+
"text/plain", "size": "9 bytes"}]], "reset": true}'
|
182
|
+
http_version:
|
183
|
+
recorded_at: Mon, 10 Feb 2014 20:47:35 GMT
|
184
|
+
recorded_with: VCR 2.8.0
|