chute 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +0 -1
- data/chute.gemspec +3 -5
- data/lib/chute/connection.rb +1 -1
- data/lib/chute/v2/accounts.rb +13 -0
- data/lib/chute/version.rb +1 -1
- data/spec/chute/connection_spec.rb +1 -1
- data/spec/fixtures/chute_cassettes/albums/album_create_with_permission_view.yml +13 -21
- data/spec/fixtures/chute_cassettes/albums/albums_add_remove_assets.yml +23 -47
- data/spec/fixtures/chute_cassettes/albums/albums_create.yml +13 -21
- data/spec/fixtures/chute_cassettes/albums/albums_delete.yml +20 -36
- data/spec/fixtures/chute_cassettes/albums/albums_get.yml +23 -39
- data/spec/fixtures/chute_cassettes/albums/albums_list.yml +27 -35
- data/spec/fixtures/chute_cassettes/albums/albums_stats.yml +17 -33
- data/spec/fixtures/chute_cassettes/albums/albums_update.yml +23 -39
- data/spec/fixtures/chute_cassettes/assets/assets_delete.yml +20 -36
- data/spec/fixtures/chute_cassettes/assets/assets_geo.yml +24 -48
- data/spec/fixtures/chute_cassettes/assets/assets_get.yml +17 -33
- data/spec/fixtures/chute_cassettes/assets/assets_import.yml +8 -16
- data/spec/fixtures/chute_cassettes/assets/assets_list.yml +9 -17
- data/spec/fixtures/chute_cassettes/assets/assets_update.yml +18 -34
- data/spec/fixtures/chute_cassettes/comments/comments_create.yml +33 -57
- data/spec/fixtures/chute_cassettes/comments/comments_list.yml +44 -76
- data/spec/fixtures/chute_cassettes/flags/flags_methods.yml +50 -90
- data/spec/fixtures/chute_cassettes/hearts/hearts_methods.yml +41 -73
- data/spec/fixtures/chute_cassettes/tags/tags_assets.yml +50 -90
- data/spec/fixtures/chute_cassettes/triggers/trigger_errors.yml +7 -15
- data/spec/fixtures/chute_cassettes/triggers/triggers_cleanup.yml +30 -54
- data/spec/fixtures/chute_cassettes/triggers/triggers_create.yml +10 -18
- data/spec/fixtures/chute_cassettes/triggers/triggers_delete.yml +19 -35
- data/spec/fixtures/chute_cassettes/triggers/triggers_list.yml +12 -20
- data/spec/fixtures/chute_cassettes/triggers/triggers_update.yml +21 -37
- data/spec/fixtures/chute_cassettes/users/users_get.yml +14 -30
- data/spec/fixtures/chute_cassettes/users/users_me.yml +7 -15
- data/spec/fixtures/chute_cassettes/votes/votes_methods.yml +50 -90
- metadata +4 -19
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ! '{"urls":"http://image.coloring.com/pictures/overlay/cat-and-fancy-mouse.gif"}'
|
9
9
|
headers:
|
10
10
|
Authorization:
|
11
|
-
-
|
11
|
+
- Bearer API KEY
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
Accepts:
|
@@ -25,31 +25,23 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
27
|
Date:
|
28
|
-
- Mon,
|
28
|
+
- Mon, 22 Apr 2013 22:26:07 GMT
|
29
29
|
Etag:
|
30
|
-
- ! '"
|
30
|
+
- ! '"104097dabe8b4fbdf5079c3412bdfc13"'
|
31
31
|
Last-Modified:
|
32
|
-
- Mon,
|
32
|
+
- Mon, 22 Apr 2013 22:26:07 GMT
|
33
33
|
Server:
|
34
34
|
- nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
|
35
35
|
Status:
|
36
36
|
- '200'
|
37
|
-
X-Available-Hourly-Calls:
|
38
|
-
- '4999888'
|
39
|
-
X-Available-Monthly-Calls:
|
40
|
-
- '3719999829'
|
41
|
-
X-Max-Hourly-Calls:
|
42
|
-
- '5000000'
|
43
|
-
X-Max-Monthly-Calls:
|
44
|
-
- '3720000000'
|
45
37
|
X-Powered-By:
|
46
38
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
47
39
|
X-Rack-Cache:
|
48
40
|
- invalidate, pass
|
49
41
|
X-Request-Id:
|
50
|
-
-
|
42
|
+
- 9f0c4a0f24fe866c96660b362c9b531c
|
51
43
|
X-Runtime:
|
52
|
-
- '0.
|
44
|
+
- '0.548098'
|
53
45
|
X-Ua-Compatible:
|
54
46
|
- IE=Edge,chrome=1
|
55
47
|
Transfer-Encoding:
|
@@ -60,22 +52,22 @@ http_interactions:
|
|
60
52
|
encoding: US-ASCII
|
61
53
|
string: ! '{"response":{"title":"Imported Assets","warning":"Deprecated route:
|
62
54
|
This will be disabled soon. Please include an album in the route to access
|
63
|
-
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/import?&urls=http%3A%2F%2Fimage.coloring.com%2Fpictures%2Foverlay%2Fcat-and-fancy-mouse.gif"
|
64
|
-
Details"},"exif":{"href":"http://api.getchute.com/v2/assets/
|
65
|
-
Details"},"geo":{"href":"http://api.getchute.com/v2/assets/
|
66
|
-
Details"}},"created_at":"2013-04-
|
55
|
+
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/import?&urls=http%3A%2F%2Fimage.coloring.com%2Fpictures%2Foverlay%2Fcat-and-fancy-mouse.gif"},"data":[{"id":398301941,"links":{"self":{"href":"http://api.getchute.com/v2/assets/398301941","title":"Asset
|
56
|
+
Details"},"exif":{"href":"http://api.getchute.com/v2/assets/398301941/exif","title":"Exif
|
57
|
+
Details"},"geo":{"href":"http://api.getchute.com/v2/assets/398301941/geo","title":"Geo
|
58
|
+
Details"}},"created_at":"2013-04-22T22:26:07Z","updated_at":"2013-04-22T22:26:07Z","thumbnail":"http://media.getchute.com/media/qXewRuwqp/75x75","url":"http://media.getchute.com/media/qXewRuwqp","shortcut":"qXewRuwqp","type":"image","caption":null,"dimensions":{"width":null,"height":null},"location":null,"source":{"source":"import","source_id":null,"source_url":"http://image.coloring.com/pictures/overlay/cat-and-fancy-mouse.gif","service":null,"import_id":null,"import_url":null,"original_url":"http://media.getchute.com/media/qXewRuwqp"},"service":"uploaded","user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
|
67
59
|
Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null}}]}'
|
68
60
|
http_version:
|
69
|
-
recorded_at: Mon,
|
61
|
+
recorded_at: Mon, 22 Apr 2013 22:26:07 GMT
|
70
62
|
- request:
|
71
63
|
method: delete
|
72
|
-
uri: https://api.getchute.com/v2/assets/
|
64
|
+
uri: https://api.getchute.com/v2/assets/398301941
|
73
65
|
body:
|
74
66
|
encoding: UTF-8
|
75
67
|
string: ! '{}'
|
76
68
|
headers:
|
77
69
|
Authorization:
|
78
|
-
-
|
70
|
+
- Bearer API KEY
|
79
71
|
Content-Type:
|
80
72
|
- application/json
|
81
73
|
Accepts:
|
@@ -92,40 +84,32 @@ http_interactions:
|
|
92
84
|
Content-Type:
|
93
85
|
- application/json; charset=utf-8
|
94
86
|
Date:
|
95
|
-
- Mon,
|
87
|
+
- Mon, 22 Apr 2013 22:26:08 GMT
|
96
88
|
Etag:
|
97
|
-
- ! '"
|
89
|
+
- ! '"1feb8e39c151103404d75ff12c28e1c1"'
|
98
90
|
Server:
|
99
91
|
- nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
|
100
92
|
Status:
|
101
93
|
- '200'
|
102
|
-
X-Available-Hourly-Calls:
|
103
|
-
- '4999887'
|
104
|
-
X-Available-Monthly-Calls:
|
105
|
-
- '3719999828'
|
106
|
-
X-Max-Hourly-Calls:
|
107
|
-
- '5000000'
|
108
|
-
X-Max-Monthly-Calls:
|
109
|
-
- '3720000000'
|
110
94
|
X-Powered-By:
|
111
95
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
112
96
|
X-Rack-Cache:
|
113
97
|
- invalidate, pass
|
114
98
|
X-Request-Id:
|
115
|
-
-
|
99
|
+
- 9b1ba43a428e9b5b55e2958ff63b7e3f
|
116
100
|
X-Runtime:
|
117
|
-
- '0.
|
101
|
+
- '0.051026'
|
118
102
|
X-Ua-Compatible:
|
119
103
|
- IE=Edge,chrome=1
|
120
104
|
Content-Length:
|
121
|
-
- '
|
105
|
+
- '231'
|
122
106
|
Connection:
|
123
107
|
- keep-alive
|
124
108
|
body:
|
125
109
|
encoding: US-ASCII
|
126
110
|
string: ! '{"response":{"title":"Asset Deleted","warning":"Deprecated route:
|
127
111
|
This will be disabled soon. Please include an album in the route to access
|
128
|
-
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/
|
112
|
+
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/398301941?"}}'
|
129
113
|
http_version:
|
130
|
-
recorded_at: Mon,
|
114
|
+
recorded_at: Mon, 22 Apr 2013 22:26:08 GMT
|
131
115
|
recorded_with: VCR 2.2.5
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ! '{"urls":["http://www.wix.com/blog/wp-content/uploads/2012/08/HowToGoBeyondStockPhotoCliches.jpg","http://static.guim.co.uk/sys-images/Guardian/Pix/pictures/2012/11/27/1354010019306/Brad-Pitt-010.jpg","http://datastore01.rediff.com/h1500-w1500/thumb/52605E5F6D6C65665C60665C696C7371/fuugfaw7icy0hq4j.D.0.Richa-Gangopadhyay-Latest-Hot-Photo.jpg"]}'
|
9
9
|
headers:
|
10
10
|
Authorization:
|
11
|
-
-
|
11
|
+
- Bearer API KEY
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
Accepts:
|
@@ -25,31 +25,23 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
27
|
Date:
|
28
|
-
- Mon,
|
28
|
+
- Mon, 22 Apr 2013 22:26:08 GMT
|
29
29
|
Etag:
|
30
30
|
- ! '"638e131880d8730e0c13e2a49e710c1c"'
|
31
31
|
Last-Modified:
|
32
|
-
- Mon,
|
32
|
+
- Mon, 22 Apr 2013 22:26:06 GMT
|
33
33
|
Server:
|
34
34
|
- nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
|
35
35
|
Status:
|
36
36
|
- '200'
|
37
|
-
X-Available-Hourly-Calls:
|
38
|
-
- '4999886'
|
39
|
-
X-Available-Monthly-Calls:
|
40
|
-
- '3719999827'
|
41
|
-
X-Max-Hourly-Calls:
|
42
|
-
- '5000000'
|
43
|
-
X-Max-Monthly-Calls:
|
44
|
-
- '3720000000'
|
45
37
|
X-Powered-By:
|
46
38
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
47
39
|
X-Rack-Cache:
|
48
40
|
- invalidate, pass
|
49
41
|
X-Request-Id:
|
50
|
-
-
|
42
|
+
- 5b4d0d9e94295efbe9509cd6fb2732f3
|
51
43
|
X-Runtime:
|
52
|
-
- '0.
|
44
|
+
- '0.071012'
|
53
45
|
X-Ua-Compatible:
|
54
46
|
- IE=Edge,chrome=1
|
55
47
|
Transfer-Encoding:
|
@@ -60,10 +52,10 @@ http_interactions:
|
|
60
52
|
encoding: US-ASCII
|
61
53
|
string: ! '{"response":{"title":"Imported Assets","warning":"Deprecated route:
|
62
54
|
This will be disabled soon. Please include an album in the route to access
|
63
|
-
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/import?&urls%5B%5D=http%3A%2F%2Fwww.wix.com%2Fblog%2Fwp-content%2Fuploads%2F2012%2F08%2FHowToGoBeyondStockPhotoCliches.jpg&urls%5B%5D=http%3A%2F%2Fstatic.guim.co.uk%2Fsys-images%2FGuardian%2FPix%2Fpictures%2F2012%2F11%2F27%2F1354010019306%2FBrad-Pitt-010.jpg&urls%5B%5D=http%3A%2F%2Fdatastore01.rediff.com%2Fh1500-w1500%2Fthumb%2F52605E5F6D6C65665C60665C696C7371%2Ffuugfaw7icy0hq4j.D.0.Richa-Gangopadhyay-Latest-Hot-Photo.jpg"
|
55
|
+
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/import?&urls%5B%5D=http%3A%2F%2Fwww.wix.com%2Fblog%2Fwp-content%2Fuploads%2F2012%2F08%2FHowToGoBeyondStockPhotoCliches.jpg&urls%5B%5D=http%3A%2F%2Fstatic.guim.co.uk%2Fsys-images%2FGuardian%2FPix%2Fpictures%2F2012%2F11%2F27%2F1354010019306%2FBrad-Pitt-010.jpg&urls%5B%5D=http%3A%2F%2Fdatastore01.rediff.com%2Fh1500-w1500%2Fthumb%2F52605E5F6D6C65665C60665C696C7371%2Ffuugfaw7icy0hq4j.D.0.Richa-Gangopadhyay-Latest-Hot-Photo.jpg"},"data":[{"id":71907823,"links":{"self":{"href":"http://api.getchute.com/v2/assets/71907823","title":"Asset
|
64
56
|
Details"},"exif":{"href":"http://api.getchute.com/v2/assets/71907823/exif","title":"Exif
|
65
57
|
Details"},"geo":{"href":"http://api.getchute.com/v2/assets/71907823/geo","title":"Geo
|
66
|
-
Details"}},"created_at":"2012-11-28T11:12:02Z","updated_at":"2013-04-
|
58
|
+
Details"}},"created_at":"2012-11-28T11:12:02Z","updated_at":"2013-04-22T22:26:06Z","thumbnail":"http://media.getchute.com/media/4RIvBzgbp/75x75","url":"http://media.getchute.com/media/4RIvBzgbp","shortcut":"4RIvBzgbp","type":"image","caption":"New
|
67
59
|
Asset Title","dimensions":{"width":null,"height":null},"location":null,"source":{"source":"imported","source_id":null,"source_url":"http://www.wix.com/blog/wp-content/uploads/2012/08/HowToGoBeyondStockPhotoCliches.jpg","service":null,"import_id":null,"import_url":null,"original_url":"http://media.getchute.com/media/4RIvBzgbp"},"service":"uploaded"},{"id":336387456,"links":{"self":{"href":"http://api.getchute.com/v2/assets/336387456","title":"Asset
|
68
60
|
Details"},"exif":{"href":"http://api.getchute.com/v2/assets/336387456/exif","title":"Exif
|
69
61
|
Details"},"geo":{"href":"http://api.getchute.com/v2/assets/336387456/geo","title":"Geo
|
@@ -72,7 +64,7 @@ http_interactions:
|
|
72
64
|
Details"},"geo":{"href":"http://api.getchute.com/v2/assets/336387457/geo","title":"Geo
|
73
65
|
Details"}},"created_at":"2013-03-25T18:27:00Z","updated_at":"2013-03-25T18:27:00Z","thumbnail":"http://media.getchute.com/media/mLrK9uvyh/75x75","url":"http://media.getchute.com/media/mLrK9uvyh","shortcut":"mLrK9uvyh","type":"image","caption":null,"dimensions":{"width":null,"height":null},"location":null,"source":{"source":"import","source_id":null,"source_url":"http://datastore01.rediff.com/h1500-w1500/thumb/52605E5F6D6C65665C60665C696C7371/fuugfaw7icy0hq4j.D.0.Richa-Gangopadhyay-Latest-Hot-Photo.jpg","service":null,"import_id":null,"import_url":null,"original_url":"http://media.getchute.com/media/mLrK9uvyh"},"service":"uploaded"}]}'
|
74
66
|
http_version:
|
75
|
-
recorded_at: Mon,
|
67
|
+
recorded_at: Mon, 22 Apr 2013 22:26:08 GMT
|
76
68
|
- request:
|
77
69
|
method: get
|
78
70
|
uri: https://api.getchute.com/v2/assets/71907823/geo
|
@@ -81,7 +73,7 @@ http_interactions:
|
|
81
73
|
string: ! '{}'
|
82
74
|
headers:
|
83
75
|
Authorization:
|
84
|
-
-
|
76
|
+
- Bearer API KEY
|
85
77
|
Content-Type:
|
86
78
|
- application/json
|
87
79
|
Accepts:
|
@@ -98,41 +90,33 @@ http_interactions:
|
|
98
90
|
Content-Type:
|
99
91
|
- application/json; charset=utf-8
|
100
92
|
Date:
|
101
|
-
- Mon,
|
93
|
+
- Mon, 22 Apr 2013 22:26:09 GMT
|
102
94
|
Etag:
|
103
|
-
- ! '"
|
95
|
+
- ! '"ac3cadbc270032a8b31bccb36bd9fe86"'
|
104
96
|
Server:
|
105
97
|
- nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
|
106
98
|
Status:
|
107
99
|
- '200'
|
108
|
-
X-Available-Hourly-Calls:
|
109
|
-
- '4999885'
|
110
|
-
X-Available-Monthly-Calls:
|
111
|
-
- '3719999826'
|
112
|
-
X-Max-Hourly-Calls:
|
113
|
-
- '5000000'
|
114
|
-
X-Max-Monthly-Calls:
|
115
|
-
- '3720000000'
|
116
100
|
X-Powered-By:
|
117
101
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
118
102
|
X-Rack-Cache:
|
119
103
|
- miss
|
120
104
|
X-Request-Id:
|
121
|
-
-
|
105
|
+
- f4bd6e418517a5766019e3ed079b6e42
|
122
106
|
X-Runtime:
|
123
|
-
- '0.
|
107
|
+
- '0.032318'
|
124
108
|
X-Ua-Compatible:
|
125
109
|
- IE=Edge,chrome=1
|
126
110
|
Content-Length:
|
127
|
-
- '
|
111
|
+
- '242'
|
128
112
|
Connection:
|
129
113
|
- keep-alive
|
130
114
|
body:
|
131
115
|
encoding: US-ASCII
|
132
116
|
string: ! '{"response":{"title":"Geo Details","warning":"Deprecated route: This
|
133
|
-
will be disabled soon. Please include an album in the route to access an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/71907823/geo?"
|
117
|
+
will be disabled soon. Please include an album in the route to access an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/71907823/geo?"},"data":{}}'
|
134
118
|
http_version:
|
135
|
-
recorded_at: Mon,
|
119
|
+
recorded_at: Mon, 22 Apr 2013 22:26:09 GMT
|
136
120
|
- request:
|
137
121
|
method: get
|
138
122
|
uri: https://api.getchute.com/v2/assets/geo/-36.88155833,174.70791111/500
|
@@ -141,7 +125,7 @@ http_interactions:
|
|
141
125
|
string: ! '{}'
|
142
126
|
headers:
|
143
127
|
Authorization:
|
144
|
-
-
|
128
|
+
- Bearer API KEY
|
145
129
|
Content-Type:
|
146
130
|
- application/json
|
147
131
|
Accepts:
|
@@ -158,40 +142,32 @@ http_interactions:
|
|
158
142
|
Content-Type:
|
159
143
|
- application/json; charset=utf-8
|
160
144
|
Date:
|
161
|
-
- Mon,
|
145
|
+
- Mon, 22 Apr 2013 22:26:09 GMT
|
162
146
|
Etag:
|
163
|
-
- ! '"
|
147
|
+
- ! '"39eb5765912438351bd01b29f880a85d"'
|
164
148
|
Server:
|
165
149
|
- nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
|
166
150
|
Status:
|
167
151
|
- '200'
|
168
|
-
X-Available-Hourly-Calls:
|
169
|
-
- '4999884'
|
170
|
-
X-Available-Monthly-Calls:
|
171
|
-
- '3719999825'
|
172
|
-
X-Max-Hourly-Calls:
|
173
|
-
- '5000000'
|
174
|
-
X-Max-Monthly-Calls:
|
175
|
-
- '3720000000'
|
176
152
|
X-Powered-By:
|
177
153
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
178
154
|
X-Rack-Cache:
|
179
155
|
- miss
|
180
156
|
X-Request-Id:
|
181
|
-
-
|
157
|
+
- b183dc66bf639767ae8b99017e784795
|
182
158
|
X-Runtime:
|
183
|
-
- '0.
|
159
|
+
- '0.039020'
|
184
160
|
X-Ua-Compatible:
|
185
161
|
- IE=Edge,chrome=1
|
186
162
|
Content-Length:
|
187
|
-
- '
|
163
|
+
- '567'
|
188
164
|
Connection:
|
189
165
|
- keep-alive
|
190
166
|
body:
|
191
167
|
encoding: US-ASCII
|
192
168
|
string: ! '{"response":{"title":"Assets for location: -36.88155833,174.70791111
|
193
169
|
within a 500 metres redius","warning":"Deprecated route: This will be disabled
|
194
|
-
soon. Please include an album in the route to access an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/geo/-36.88155833,174.70791111/500?"
|
170
|
+
soon. Please include an album in the route to access an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/geo/-36.88155833,174.70791111/500?"},"data":[],"pagination":{"current_page":1,"next_page":"https://api.getchute.com/v2/assets/geo/-36.88155833,174.70791111/500?&page=2","previous_page":null,"first_page":"https://api.getchute.com/v2/assets/geo/-36.88155833,174.70791111/500?","per_page":5}}'
|
195
171
|
http_version:
|
196
|
-
recorded_at: Mon,
|
172
|
+
recorded_at: Mon, 22 Apr 2013 22:26:09 GMT
|
197
173
|
recorded_with: VCR 2.2.5
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ! '{"urls":"http://www.wix.com/blog/wp-content/uploads/2012/08/HowToGoBeyondStockPhotoCliches.jpg"}'
|
9
9
|
headers:
|
10
10
|
Authorization:
|
11
|
-
-
|
11
|
+
- Bearer API KEY
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
Accepts:
|
@@ -25,31 +25,23 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
27
|
Date:
|
28
|
-
- Mon,
|
28
|
+
- Mon, 22 Apr 2013 22:26:04 GMT
|
29
29
|
Etag:
|
30
30
|
- ! '"c9ca3f955bdf76e7d7643d1e2bd29108"'
|
31
31
|
Last-Modified:
|
32
|
-
- Mon,
|
32
|
+
- Mon, 22 Apr 2013 22:24:20 GMT
|
33
33
|
Server:
|
34
34
|
- nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
|
35
35
|
Status:
|
36
36
|
- '200'
|
37
|
-
X-Available-Hourly-Calls:
|
38
|
-
- '4999892'
|
39
|
-
X-Available-Monthly-Calls:
|
40
|
-
- '3719999833'
|
41
|
-
X-Max-Hourly-Calls:
|
42
|
-
- '5000000'
|
43
|
-
X-Max-Monthly-Calls:
|
44
|
-
- '3720000000'
|
45
37
|
X-Powered-By:
|
46
38
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
47
39
|
X-Rack-Cache:
|
48
40
|
- invalidate, pass
|
49
41
|
X-Request-Id:
|
50
|
-
-
|
42
|
+
- f112e1c051e44b52de72edf91deea1c1
|
51
43
|
X-Runtime:
|
52
|
-
- '0.
|
44
|
+
- '0.066921'
|
53
45
|
X-Ua-Compatible:
|
54
46
|
- IE=Edge,chrome=1
|
55
47
|
Transfer-Encoding:
|
@@ -60,13 +52,13 @@ http_interactions:
|
|
60
52
|
encoding: US-ASCII
|
61
53
|
string: ! '{"response":{"title":"Imported Assets","warning":"Deprecated route:
|
62
54
|
This will be disabled soon. Please include an album in the route to access
|
63
|
-
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/import?&urls=http%3A%2F%2Fwww.wix.com%2Fblog%2Fwp-content%2Fuploads%2F2012%2F08%2FHowToGoBeyondStockPhotoCliches.jpg"
|
55
|
+
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/import?&urls=http%3A%2F%2Fwww.wix.com%2Fblog%2Fwp-content%2Fuploads%2F2012%2F08%2FHowToGoBeyondStockPhotoCliches.jpg"},"data":[{"id":71907823,"links":{"self":{"href":"http://api.getchute.com/v2/assets/71907823","title":"Asset
|
64
56
|
Details"},"exif":{"href":"http://api.getchute.com/v2/assets/71907823/exif","title":"Exif
|
65
57
|
Details"},"geo":{"href":"http://api.getchute.com/v2/assets/71907823/geo","title":"Geo
|
66
|
-
Details"}},"created_at":"2012-11-28T11:12:02Z","updated_at":"2013-04-
|
58
|
+
Details"}},"created_at":"2012-11-28T11:12:02Z","updated_at":"2013-04-22T22:24:20Z","thumbnail":"http://media.getchute.com/media/4RIvBzgbp/75x75","url":"http://media.getchute.com/media/4RIvBzgbp","shortcut":"4RIvBzgbp","type":"image","caption":"New
|
67
59
|
Asset Title","dimensions":{"width":null,"height":null},"location":null,"source":{"source":"imported","source_id":null,"source_url":"http://www.wix.com/blog/wp-content/uploads/2012/08/HowToGoBeyondStockPhotoCliches.jpg","service":null,"import_id":null,"import_url":null,"original_url":"http://media.getchute.com/media/4RIvBzgbp"},"service":"uploaded"}]}'
|
68
60
|
http_version:
|
69
|
-
recorded_at: Mon,
|
61
|
+
recorded_at: Mon, 22 Apr 2013 22:26:04 GMT
|
70
62
|
- request:
|
71
63
|
method: get
|
72
64
|
uri: https://api.getchute.com/v2/assets/71907823
|
@@ -75,7 +67,7 @@ http_interactions:
|
|
75
67
|
string: ! '{}'
|
76
68
|
headers:
|
77
69
|
Authorization:
|
78
|
-
-
|
70
|
+
- Bearer API KEY
|
79
71
|
Content-Type:
|
80
72
|
- application/json
|
81
73
|
Accepts:
|
@@ -92,47 +84,39 @@ http_interactions:
|
|
92
84
|
Content-Type:
|
93
85
|
- text/html; charset=utf-8
|
94
86
|
Date:
|
95
|
-
- Mon,
|
87
|
+
- Mon, 22 Apr 2013 22:26:05 GMT
|
96
88
|
Etag:
|
97
89
|
- ! '"c9ca3f955bdf76e7d7643d1e2bd29108"'
|
98
90
|
Last-Modified:
|
99
|
-
- Mon,
|
91
|
+
- Mon, 22 Apr 2013 22:24:20 GMT
|
100
92
|
Server:
|
101
93
|
- nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
|
102
94
|
Status:
|
103
95
|
- '200'
|
104
|
-
X-Available-Hourly-Calls:
|
105
|
-
- '4999891'
|
106
|
-
X-Available-Monthly-Calls:
|
107
|
-
- '3719999832'
|
108
|
-
X-Max-Hourly-Calls:
|
109
|
-
- '5000000'
|
110
|
-
X-Max-Monthly-Calls:
|
111
|
-
- '3720000000'
|
112
96
|
X-Powered-By:
|
113
97
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
114
98
|
X-Rack-Cache:
|
115
99
|
- miss
|
116
100
|
X-Request-Id:
|
117
|
-
-
|
101
|
+
- 2e7ff1a703451d307a4b77fb3edd8158
|
118
102
|
X-Runtime:
|
119
|
-
- '0.
|
103
|
+
- '0.148804'
|
120
104
|
X-Ua-Compatible:
|
121
105
|
- IE=Edge,chrome=1
|
122
106
|
Content-Length:
|
123
|
-
- '
|
107
|
+
- '1418'
|
124
108
|
Connection:
|
125
109
|
- keep-alive
|
126
110
|
body:
|
127
111
|
encoding: US-ASCII
|
128
112
|
string: ! '{"response":{"title":"Asset Details","warning":"Deprecated route:
|
129
113
|
This will be disabled soon. Please include an album in the route to access
|
130
|
-
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/71907823?"
|
114
|
+
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/71907823?"},"data":{"id":71907823,"links":{"self":{"href":"http://api.getchute.com/v2/assets/71907823","title":"Asset
|
131
115
|
Details"},"exif":{"href":"http://api.getchute.com/v2/assets/71907823/exif","title":"Exif
|
132
116
|
Details"},"geo":{"href":"http://api.getchute.com/v2/assets/71907823/geo","title":"Geo
|
133
|
-
Details"}},"created_at":"2012-11-28T11:12:02Z","updated_at":"2013-04-
|
117
|
+
Details"}},"created_at":"2012-11-28T11:12:02Z","updated_at":"2013-04-22T22:24:20Z","thumbnail":"http://media.getchute.com/media/4RIvBzgbp/75x75","url":"http://media.getchute.com/media/4RIvBzgbp","shortcut":"4RIvBzgbp","type":"image","caption":"New
|
134
118
|
Asset Title","dimensions":{"width":null,"height":null},"location":null,"source":{"source":"imported","source_id":null,"source_url":"http://www.wix.com/blog/wp-content/uploads/2012/08/HowToGoBeyondStockPhotoCliches.jpg","service":null,"import_id":null,"import_url":null,"original_url":"http://media.getchute.com/media/4RIvBzgbp"},"service":"uploaded","user":{"id":545,"links":{"self":{"href":"http://api.getchute.com/v2/users/545","title":"User
|
135
119
|
Details"}},"created_at":"2012-01-17T19:53:39Z","updated_at":"2012-09-15T10:55:51Z","name":"darko1002001","username":"darko1002001","avatar":"http://static.getchute.com/v1/images/avatar-100x100.png","profile":null}}}'
|
136
120
|
http_version:
|
137
|
-
recorded_at: Mon,
|
121
|
+
recorded_at: Mon, 22 Apr 2013 22:26:05 GMT
|
138
122
|
recorded_with: VCR 2.2.5
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ! '{"urls":["http://www.wix.com/blog/wp-content/uploads/2012/08/HowToGoBeyondStockPhotoCliches.jpg","http://static.guim.co.uk/sys-images/Guardian/Pix/pictures/2012/11/27/1354010019306/Brad-Pitt-010.jpg","http://datastore01.rediff.com/h1500-w1500/thumb/52605E5F6D6C65665C60665C696C7371/fuugfaw7icy0hq4j.D.0.Richa-Gangopadhyay-Latest-Hot-Photo.jpg"]}'
|
9
9
|
headers:
|
10
10
|
Authorization:
|
11
|
-
-
|
11
|
+
- Bearer API KEY
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
Accepts:
|
@@ -25,31 +25,23 @@ http_interactions:
|
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
27
|
Date:
|
28
|
-
- Mon,
|
28
|
+
- Mon, 22 Apr 2013 22:26:04 GMT
|
29
29
|
Etag:
|
30
30
|
- ! '"638e131880d8730e0c13e2a49e710c1c"'
|
31
31
|
Last-Modified:
|
32
|
-
- Mon,
|
32
|
+
- Mon, 22 Apr 2013 22:24:20 GMT
|
33
33
|
Server:
|
34
34
|
- nginx/1.2.7 + Phusion Passenger 3.0.18 (mod_rails/mod_rack)
|
35
35
|
Status:
|
36
36
|
- '200'
|
37
|
-
X-Available-Hourly-Calls:
|
38
|
-
- '4999893'
|
39
|
-
X-Available-Monthly-Calls:
|
40
|
-
- '3719999834'
|
41
|
-
X-Max-Hourly-Calls:
|
42
|
-
- '5000000'
|
43
|
-
X-Max-Monthly-Calls:
|
44
|
-
- '3720000000'
|
45
37
|
X-Powered-By:
|
46
38
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.18
|
47
39
|
X-Rack-Cache:
|
48
40
|
- invalidate, pass
|
49
41
|
X-Request-Id:
|
50
|
-
-
|
42
|
+
- c14fc444b7e99cd2d1169445882d8f90
|
51
43
|
X-Runtime:
|
52
|
-
- '0.
|
44
|
+
- '0.116589'
|
53
45
|
X-Ua-Compatible:
|
54
46
|
- IE=Edge,chrome=1
|
55
47
|
Transfer-Encoding:
|
@@ -60,10 +52,10 @@ http_interactions:
|
|
60
52
|
encoding: US-ASCII
|
61
53
|
string: ! '{"response":{"title":"Imported Assets","warning":"Deprecated route:
|
62
54
|
This will be disabled soon. Please include an album in the route to access
|
63
|
-
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/import?&urls%5B%5D=http%3A%2F%2Fwww.wix.com%2Fblog%2Fwp-content%2Fuploads%2F2012%2F08%2FHowToGoBeyondStockPhotoCliches.jpg&urls%5B%5D=http%3A%2F%2Fstatic.guim.co.uk%2Fsys-images%2FGuardian%2FPix%2Fpictures%2F2012%2F11%2F27%2F1354010019306%2FBrad-Pitt-010.jpg&urls%5B%5D=http%3A%2F%2Fdatastore01.rediff.com%2Fh1500-w1500%2Fthumb%2F52605E5F6D6C65665C60665C696C7371%2Ffuugfaw7icy0hq4j.D.0.Richa-Gangopadhyay-Latest-Hot-Photo.jpg"
|
55
|
+
an asset.","version":2,"code":200,"href":"https://api.getchute.com/v2/assets/import?&urls%5B%5D=http%3A%2F%2Fwww.wix.com%2Fblog%2Fwp-content%2Fuploads%2F2012%2F08%2FHowToGoBeyondStockPhotoCliches.jpg&urls%5B%5D=http%3A%2F%2Fstatic.guim.co.uk%2Fsys-images%2FGuardian%2FPix%2Fpictures%2F2012%2F11%2F27%2F1354010019306%2FBrad-Pitt-010.jpg&urls%5B%5D=http%3A%2F%2Fdatastore01.rediff.com%2Fh1500-w1500%2Fthumb%2F52605E5F6D6C65665C60665C696C7371%2Ffuugfaw7icy0hq4j.D.0.Richa-Gangopadhyay-Latest-Hot-Photo.jpg"},"data":[{"id":71907823,"links":{"self":{"href":"http://api.getchute.com/v2/assets/71907823","title":"Asset
|
64
56
|
Details"},"exif":{"href":"http://api.getchute.com/v2/assets/71907823/exif","title":"Exif
|
65
57
|
Details"},"geo":{"href":"http://api.getchute.com/v2/assets/71907823/geo","title":"Geo
|
66
|
-
Details"}},"created_at":"2012-11-28T11:12:02Z","updated_at":"2013-04-
|
58
|
+
Details"}},"created_at":"2012-11-28T11:12:02Z","updated_at":"2013-04-22T22:24:20Z","thumbnail":"http://media.getchute.com/media/4RIvBzgbp/75x75","url":"http://media.getchute.com/media/4RIvBzgbp","shortcut":"4RIvBzgbp","type":"image","caption":"New
|
67
59
|
Asset Title","dimensions":{"width":null,"height":null},"location":null,"source":{"source":"imported","source_id":null,"source_url":"http://www.wix.com/blog/wp-content/uploads/2012/08/HowToGoBeyondStockPhotoCliches.jpg","service":null,"import_id":null,"import_url":null,"original_url":"http://media.getchute.com/media/4RIvBzgbp"},"service":"uploaded"},{"id":336387456,"links":{"self":{"href":"http://api.getchute.com/v2/assets/336387456","title":"Asset
|
68
60
|
Details"},"exif":{"href":"http://api.getchute.com/v2/assets/336387456/exif","title":"Exif
|
69
61
|
Details"},"geo":{"href":"http://api.getchute.com/v2/assets/336387456/geo","title":"Geo
|
@@ -72,5 +64,5 @@ http_interactions:
|
|
72
64
|
Details"},"geo":{"href":"http://api.getchute.com/v2/assets/336387457/geo","title":"Geo
|
73
65
|
Details"}},"created_at":"2013-03-25T18:27:00Z","updated_at":"2013-03-25T18:27:00Z","thumbnail":"http://media.getchute.com/media/mLrK9uvyh/75x75","url":"http://media.getchute.com/media/mLrK9uvyh","shortcut":"mLrK9uvyh","type":"image","caption":null,"dimensions":{"width":null,"height":null},"location":null,"source":{"source":"import","source_id":null,"source_url":"http://datastore01.rediff.com/h1500-w1500/thumb/52605E5F6D6C65665C60665C696C7371/fuugfaw7icy0hq4j.D.0.Richa-Gangopadhyay-Latest-Hot-Photo.jpg","service":null,"import_id":null,"import_url":null,"original_url":"http://media.getchute.com/media/mLrK9uvyh"},"service":"uploaded"}]}'
|
74
66
|
http_version:
|
75
|
-
recorded_at: Mon,
|
67
|
+
recorded_at: Mon, 22 Apr 2013 22:26:04 GMT
|
76
68
|
recorded_with: VCR 2.2.5
|