kuva 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.env.example +4 -0
- data/.gitignore +13 -0
- data/.rspec +1 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +12 -0
- data/Gemfile +26 -0
- data/Gemfile.lock +187 -0
- data/MIT-LICENSE +20 -0
- data/README.md +129 -0
- data/Rakefile +14 -0
- data/app/assets/images/kuva/.keep +0 -0
- data/app/assets/javascripts/kuva/application.js +13 -0
- data/app/assets/javascripts/kuva/jquery-2.1.0.min.js +4 -0
- data/app/assets/javascripts/kuva/jquery.justified_gallery.min.js +7 -0
- data/app/assets/javascripts/kuva/kuva.js.coffee +2 -0
- data/app/assets/stylesheets/kuva/application.css +13 -0
- data/app/assets/stylesheets/kuva/justified_gallery.min.css +7 -0
- data/app/assets/stylesheets/kuva/kuva.css.sass +42 -0
- data/app/controllers/kuva/application_controller.rb +17 -0
- data/app/controllers/kuva/photos_controller.rb +10 -0
- data/app/controllers/kuva/sets_controller.rb +24 -0
- data/app/helpers/kuva/application_helper.rb +31 -0
- data/app/views/kuva/photos/show.html.haml +6 -0
- data/app/views/kuva/sets/index.html.haml +8 -0
- data/app/views/kuva/sets/show.html.haml +8 -0
- data/app/views/layouts/kuva/application.html.haml +10 -0
- data/config/locales/cli.yml +8 -0
- data/config/locales/frontend.yml +4 -0
- data/config/routes.rb +9 -0
- data/kuva.gemspec +25 -0
- data/lib/generators/kuva/install_generator.rb +20 -0
- data/lib/generators/kuva/templates/kuva.rb +34 -0
- data/lib/generators/kuva/views_generator.rb +23 -0
- data/lib/kuva.rb +23 -0
- data/lib/kuva/authorizer.rb +50 -0
- data/lib/kuva/elements/photo.rb +41 -0
- data/lib/kuva/elements/photoset.rb +49 -0
- data/lib/kuva/elements/photoset_collection.rb +25 -0
- data/lib/kuva/elements/url_info.rb +6 -0
- data/lib/kuva/engine.rb +9 -0
- data/lib/kuva/version.rb +3 -0
- data/lib/tasks/kuva_task.rake +6 -0
- data/spec/controllers/kuva/application_controller_spec.rb +42 -0
- data/spec/controllers/kuva/photos_controller_spec.rb +22 -0
- data/spec/controllers/kuva/sets_controller_spec.rb +51 -0
- data/spec/dummy/README.md +1 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +30 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/kuva.rb +29 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/features/photo_spec.rb +40 -0
- data/spec/features/photoset_collection_spec.rb +25 -0
- data/spec/features/photoset_spec.rb +42 -0
- data/spec/generators/kuva/install_generator_spec.rb +30 -0
- data/spec/generators/kuva/views_generator_spec.rb +37 -0
- data/spec/helpers/kuva/application_helper_spec.rb +26 -0
- data/spec/kuva/authorizer_spec.rb +83 -0
- data/spec/kuva/elements/photo_spec.rb +76 -0
- data/spec/kuva/elements/photoset_collection_spec.rb +42 -0
- data/spec/kuva/elements/photoset_spec.rb +106 -0
- data/spec/kuva/elements/url_info_spec.rb +25 -0
- data/spec/kuva_spec.rb +81 -0
- data/spec/spec_helper.rb +68 -0
- data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_API_key.yml +160 -0
- data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_secret.yml +160 -0
- data/spec/support/vcr/cassettes/Kuva_ApplicationController/configuring_Kuva/sets_the_access_token.yml +160 -0
- data/spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_NOT_the_set_page/creates_a_breadcrumb_with_the_set_URL.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_ApplicationHelper/_breadcrumbs_for/when_the_current_page_is_the_set_page/creates_a_breadcrumb_without_the_set_URL.yml +222 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/fetches_the_photo_from_Flickr_specified_by_id.yml +95 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_find/instantiates_a_new_Kuva_Elements_Photo_object.yml +252 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/does_NOT_set_the_is_primary_boolean.yml +252 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/returns_itself.yml +95 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_description.yml +95 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_farm.yml +95 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_id.yml +95 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_secret.yml +95 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_server.yml +252 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/_initialize/saves_a_reference_to_the_title.yml +95 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_default_sized_medium_image.yml +95 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/generates_an_image_URL_for_a_n-sized_small_320_image.yml +252 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photo/image_URLs/instantiates_a_new_URL_info_object_to_create_image_URLs.yml +95 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/fetches_the_photoset_from_Flickr_specified_by_id.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_find/instantiates_a_new_Kuva_Elements_Photoset_object.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/generates_an_image_URL_for_a_large_square_image.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_image_url/instantiates_a_new_URL_info_object_to_create_an_image_URL.yml +222 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/returns_itself.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_created_at_date.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_description.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_farm.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_id.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_photos.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_number_of_views.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_primary_id.yml +222 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_secret.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_server.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_title.yml +222 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_initialize/saves_a_reference_to_the_updated_at_date.yml +65 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array.yml +162 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/returns_an_array_with_the_size_specified_by_number_of_photos.yml +162 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_Photoset/_with_photos/wraps_the_photos_into_a_Kuva_Elements_Photo_element.yml +319 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/retrieves_all_photosets.yml +2761 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/returns_an_array.yml +2918 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_photosets/wraps_the_photosets_into_a_Kuva_Elements_Photoset_element.yml +2761 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/fetches_all_photosets_from_Flickr.yml +2918 -0
- data/spec/support/vcr/cassettes/Kuva_Elements_PhotosetCollection/_retrieve/instantiates_a_new_Kuva_Elements_PhotosetCollection_object.yml +2761 -0
- data/spec/support/vcr/cassettes/Kuva_PhotosController/_show/assigns_the_photo.yml +314 -0
- data/spec/support/vcr/cassettes/Kuva_PhotosController/_show/finds_the_photo.yml +157 -0
- data/spec/support/vcr/cassettes/Kuva_SetsController/_index/assigns_the_photoset_collection_with_photosets.yml +2761 -0
- data/spec/support/vcr/cassettes/Kuva_SetsController/_index/knows_its_type.yml +2918 -0
- data/spec/support/vcr/cassettes/Kuva_SetsController/_index/retrieves_the_entire_photoset_collection.yml +160 -0
- data/spec/support/vcr/cassettes/Kuva_SetsController/_show/assigns_the_photos_of_the_specified_photoset.yml +2858 -0
- data/spec/support/vcr/cassettes/Kuva_SetsController/_show/finds_the_specified_photoset_within_the_entire_photoset_collection.yml +2858 -0
- data/spec/support/vcr/cassettes/Kuva_SetsController/_show/knows_its_type.yml +2858 -0
- data/spec/support/vcr/cassettes/photo/navigating_back_to_the_photoset_page.yml +3169 -0
- data/spec/support/vcr/cassettes/photo/viewing_the_first_photo_of_the_photoset.yml +157 -0
- data/spec/support/vcr/cassettes/photoset/navigating_back_to_the_photoset_collection_page.yml +5616 -0
- data/spec/support/vcr/cassettes/photoset/navigating_to_the_page_with_details_of_the_first_photo.yml +3012 -0
- data/spec/support/vcr/cassettes/photoset/viewing_the_first_photo_of_the_photoset.yml +314 -0
- data/spec/support/vcr/cassettes/photoset/viewing_the_first_photoset_of_the_photoset_collection.yml +3015 -0
- data/spec/support/vcr/cassettes/photoset_collection/navigating_to_the_page_with_photos_of_the_first_photoset.yml +5616 -0
- data/spec/support/vcr/cassettes/photoset_collection/viewing_the_photoset_collection.yml +2761 -0
- data/spec/support/vcr/vcr.rb +17 -0
- metadata +398 -0
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.flickr.com/services/rest/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- FlickRaw/0.9.8
|
16
|
+
Authorization:
|
17
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
+
oauth_nonce="2u57xpXY0OBDIRItclLuux1KyuJ%2F0mJx0psmRNlb6S8%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347626", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
+
oauth_version="1.0"
|
21
|
+
Content-Type:
|
22
|
+
- application/x-www-form-urlencoded
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Sun, 13 Apr 2014 00:07:05 GMT
|
30
|
+
P3p:
|
31
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
+
Cache-Control:
|
35
|
+
- private
|
36
|
+
X-Served-By:
|
37
|
+
- www35.flickr.bf1.yahoo.com
|
38
|
+
Vary:
|
39
|
+
- Accept-Encoding
|
40
|
+
Content-Length:
|
41
|
+
- '364'
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
Age:
|
45
|
+
- '3'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts108.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
+
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
+
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
+
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
+
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
+
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
+
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
+
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Sun, 13 Apr 2014 00:07:06 GMT
|
65
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.flickr.com/services/rest/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- FlickRaw/0.9.8
|
16
|
+
Authorization:
|
17
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
+
oauth_nonce="syUPmw0J9%2BCAIWnj2xWUe42JTtaJyRK1xAp2NPNSW60%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347624", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
+
oauth_version="1.0"
|
21
|
+
Content-Type:
|
22
|
+
- application/x-www-form-urlencoded
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Sun, 13 Apr 2014 00:07:04 GMT
|
30
|
+
P3p:
|
31
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
+
Cache-Control:
|
35
|
+
- private
|
36
|
+
X-Served-By:
|
37
|
+
- www227.flickr.bf1.yahoo.com
|
38
|
+
Vary:
|
39
|
+
- Accept-Encoding
|
40
|
+
Content-Length:
|
41
|
+
- '364'
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
Age:
|
45
|
+
- '0'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts120.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
+
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
+
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
+
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
+
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
+
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
+
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
+
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Sun, 13 Apr 2014 00:07:04 GMT
|
65
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,222 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.flickr.com/services/rest/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- FlickRaw/0.9.8
|
16
|
+
Authorization:
|
17
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
+
oauth_nonce="vQiV2qpXhb%2FpP7rZe8Rvsj1fVnPPhUBe9cUIVCvY7mE%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347628", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
+
oauth_version="1.0"
|
21
|
+
Content-Type:
|
22
|
+
- application/x-www-form-urlencoded
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Sun, 13 Apr 2014 00:07:08 GMT
|
30
|
+
P3p:
|
31
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
+
Cache-Control:
|
35
|
+
- private
|
36
|
+
X-Served-By:
|
37
|
+
- www284.flickr.bf1.yahoo.com
|
38
|
+
Vary:
|
39
|
+
- Accept-Encoding
|
40
|
+
Content-Length:
|
41
|
+
- '364'
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
Age:
|
45
|
+
- '0'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts125.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
+
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
+
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
+
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
+
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
+
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
+
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
+
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Sun, 13 Apr 2014 00:07:09 GMT
|
65
|
+
- request:
|
66
|
+
method: post
|
67
|
+
uri: https://api.flickr.com/services/rest/
|
68
|
+
body:
|
69
|
+
encoding: US-ASCII
|
70
|
+
string: method=flickr.reflection.getMethods&format=json&nojsoncallback=1
|
71
|
+
headers:
|
72
|
+
Accept-Encoding:
|
73
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
74
|
+
Accept:
|
75
|
+
- '*/*'
|
76
|
+
User-Agent:
|
77
|
+
- FlickRaw/0.9.8
|
78
|
+
Authorization:
|
79
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
80
|
+
oauth_nonce="NdcEY4tAHY8C23m1KtAA0VaQrD%2FwPJwus6zeEzv57os%3D", oauth_signature="<KUVA_SHARED_SECRET>%26",
|
81
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397348908", oauth_token="",
|
82
|
+
oauth_version="1.0"
|
83
|
+
Content-Type:
|
84
|
+
- application/x-www-form-urlencoded
|
85
|
+
response:
|
86
|
+
status:
|
87
|
+
code: 200
|
88
|
+
message: OK
|
89
|
+
headers:
|
90
|
+
Date:
|
91
|
+
- Sun, 13 Apr 2014 00:28:28 GMT
|
92
|
+
P3p:
|
93
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
94
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
95
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
96
|
+
Cache-Control:
|
97
|
+
- private
|
98
|
+
X-Served-By:
|
99
|
+
- www123.flickr.bf1.yahoo.com
|
100
|
+
Vary:
|
101
|
+
- Accept-Encoding
|
102
|
+
Content-Length:
|
103
|
+
- '1432'
|
104
|
+
Content-Type:
|
105
|
+
- application/json
|
106
|
+
Age:
|
107
|
+
- '0'
|
108
|
+
Via:
|
109
|
+
- http/1.1 fts102.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
110
|
+
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
111
|
+
Server:
|
112
|
+
- ATS
|
113
|
+
Connection:
|
114
|
+
- keep-alive
|
115
|
+
body:
|
116
|
+
encoding: UTF-8
|
117
|
+
string: '{"methods":{"method":[{"_content":"flickr.activity.userComments"},
|
118
|
+
{"_content":"flickr.activity.userPhotos"}, {"_content":"flickr.auth.checkToken"},
|
119
|
+
{"_content":"flickr.auth.getFrob"}, {"_content":"flickr.auth.getFullToken"},
|
120
|
+
{"_content":"flickr.auth.getToken"}, {"_content":"flickr.auth.oauth.checkToken"},
|
121
|
+
{"_content":"flickr.auth.oauth.getAccessToken"}, {"_content":"flickr.blogs.getList"},
|
122
|
+
{"_content":"flickr.blogs.getServices"}, {"_content":"flickr.blogs.postPhoto"},
|
123
|
+
{"_content":"flickr.cameras.getBrandModels"}, {"_content":"flickr.cameras.getBrands"},
|
124
|
+
{"_content":"flickr.collections.getInfo"}, {"_content":"flickr.collections.getTree"},
|
125
|
+
{"_content":"flickr.commons.getInstitutions"}, {"_content":"flickr.contacts.getList"},
|
126
|
+
{"_content":"flickr.contacts.getListRecentlyUploaded"}, {"_content":"flickr.contacts.getPublicList"},
|
127
|
+
{"_content":"flickr.contacts.getTaggingSuggestions"}, {"_content":"flickr.favorites.add"},
|
128
|
+
{"_content":"flickr.favorites.getContext"}, {"_content":"flickr.favorites.getList"},
|
129
|
+
{"_content":"flickr.favorites.getPublicList"}, {"_content":"flickr.favorites.remove"},
|
130
|
+
{"_content":"flickr.galleries.addPhoto"}, {"_content":"flickr.galleries.create"},
|
131
|
+
{"_content":"flickr.galleries.editMeta"}, {"_content":"flickr.galleries.editPhoto"},
|
132
|
+
{"_content":"flickr.galleries.editPhotos"}, {"_content":"flickr.galleries.getInfo"},
|
133
|
+
{"_content":"flickr.galleries.getList"}, {"_content":"flickr.galleries.getListForPhoto"},
|
134
|
+
{"_content":"flickr.galleries.getPhotos"}, {"_content":"flickr.groups.browse"},
|
135
|
+
{"_content":"flickr.groups.discuss.replies.add"}, {"_content":"flickr.groups.discuss.replies.delete"},
|
136
|
+
{"_content":"flickr.groups.discuss.replies.edit"}, {"_content":"flickr.groups.discuss.replies.getInfo"},
|
137
|
+
{"_content":"flickr.groups.discuss.replies.getList"}, {"_content":"flickr.groups.discuss.topics.add"},
|
138
|
+
{"_content":"flickr.groups.discuss.topics.getInfo"}, {"_content":"flickr.groups.discuss.topics.getList"},
|
139
|
+
{"_content":"flickr.groups.getInfo"}, {"_content":"flickr.groups.join"}, {"_content":"flickr.groups.joinRequest"},
|
140
|
+
{"_content":"flickr.groups.leave"}, {"_content":"flickr.groups.members.getList"},
|
141
|
+
{"_content":"flickr.groups.pools.add"}, {"_content":"flickr.groups.pools.getContext"},
|
142
|
+
{"_content":"flickr.groups.pools.getGroups"}, {"_content":"flickr.groups.pools.getPhotos"},
|
143
|
+
{"_content":"flickr.groups.pools.remove"}, {"_content":"flickr.groups.search"},
|
144
|
+
{"_content":"flickr.interestingness.getList"}, {"_content":"flickr.machinetags.getNamespaces"},
|
145
|
+
{"_content":"flickr.machinetags.getPairs"}, {"_content":"flickr.machinetags.getPredicates"},
|
146
|
+
{"_content":"flickr.machinetags.getRecentValues"}, {"_content":"flickr.machinetags.getValues"},
|
147
|
+
{"_content":"flickr.panda.getList"}, {"_content":"flickr.panda.getPhotos"},
|
148
|
+
{"_content":"flickr.people.findByEmail"}, {"_content":"flickr.people.findByUsername"},
|
149
|
+
{"_content":"flickr.people.getGroups"}, {"_content":"flickr.people.getInfo"},
|
150
|
+
{"_content":"flickr.people.getLimits"}, {"_content":"flickr.people.getPhotos"},
|
151
|
+
{"_content":"flickr.people.getPhotosOf"}, {"_content":"flickr.people.getPublicGroups"},
|
152
|
+
{"_content":"flickr.people.getPublicPhotos"}, {"_content":"flickr.people.getUploadStatus"},
|
153
|
+
{"_content":"flickr.photos.addTags"}, {"_content":"flickr.photos.comments.addComment"},
|
154
|
+
{"_content":"flickr.photos.comments.deleteComment"}, {"_content":"flickr.photos.comments.editComment"},
|
155
|
+
{"_content":"flickr.photos.comments.getList"}, {"_content":"flickr.photos.comments.getRecentForContacts"},
|
156
|
+
{"_content":"flickr.photos.delete"}, {"_content":"flickr.photos.geo.batchCorrectLocation"},
|
157
|
+
{"_content":"flickr.photos.geo.correctLocation"}, {"_content":"flickr.photos.geo.getLocation"},
|
158
|
+
{"_content":"flickr.photos.geo.getPerms"}, {"_content":"flickr.photos.geo.photosForLocation"},
|
159
|
+
{"_content":"flickr.photos.geo.removeLocation"}, {"_content":"flickr.photos.geo.setContext"},
|
160
|
+
{"_content":"flickr.photos.geo.setLocation"}, {"_content":"flickr.photos.geo.setPerms"},
|
161
|
+
{"_content":"flickr.photos.getAllContexts"}, {"_content":"flickr.photos.getContactsPhotos"},
|
162
|
+
{"_content":"flickr.photos.getContactsPublicPhotos"}, {"_content":"flickr.photos.getContext"},
|
163
|
+
{"_content":"flickr.photos.getCounts"}, {"_content":"flickr.photos.getExif"},
|
164
|
+
{"_content":"flickr.photos.getFavorites"}, {"_content":"flickr.photos.getInfo"},
|
165
|
+
{"_content":"flickr.photos.getNotInSet"}, {"_content":"flickr.photos.getPerms"},
|
166
|
+
{"_content":"flickr.photos.getRecent"}, {"_content":"flickr.photos.getSizes"},
|
167
|
+
{"_content":"flickr.photos.getUntagged"}, {"_content":"flickr.photos.getWithGeoData"},
|
168
|
+
{"_content":"flickr.photos.getWithoutGeoData"}, {"_content":"flickr.photos.licenses.getInfo"},
|
169
|
+
{"_content":"flickr.photos.licenses.setLicense"}, {"_content":"flickr.photos.notes.add"},
|
170
|
+
{"_content":"flickr.photos.notes.delete"}, {"_content":"flickr.photos.notes.edit"},
|
171
|
+
{"_content":"flickr.photos.people.add"}, {"_content":"flickr.photos.people.delete"},
|
172
|
+
{"_content":"flickr.photos.people.deleteCoords"}, {"_content":"flickr.photos.people.editCoords"},
|
173
|
+
{"_content":"flickr.photos.people.getList"}, {"_content":"flickr.photos.recentlyUpdated"},
|
174
|
+
{"_content":"flickr.photos.removeTag"}, {"_content":"flickr.photos.search"},
|
175
|
+
{"_content":"flickr.photos.setContentType"}, {"_content":"flickr.photos.setDates"},
|
176
|
+
{"_content":"flickr.photos.setMeta"}, {"_content":"flickr.photos.setPerms"},
|
177
|
+
{"_content":"flickr.photos.setSafetyLevel"}, {"_content":"flickr.photos.setTags"},
|
178
|
+
{"_content":"flickr.photos.suggestions.approveSuggestion"}, {"_content":"flickr.photos.suggestions.getList"},
|
179
|
+
{"_content":"flickr.photos.suggestions.rejectSuggestion"}, {"_content":"flickr.photos.suggestions.removeSuggestion"},
|
180
|
+
{"_content":"flickr.photos.suggestions.suggestLocation"}, {"_content":"flickr.photos.transform.rotate"},
|
181
|
+
{"_content":"flickr.photos.upload.checkTickets"}, {"_content":"flickr.photosets.addPhoto"},
|
182
|
+
{"_content":"flickr.photosets.comments.addComment"}, {"_content":"flickr.photosets.comments.deleteComment"},
|
183
|
+
{"_content":"flickr.photosets.comments.editComment"}, {"_content":"flickr.photosets.comments.getList"},
|
184
|
+
{"_content":"flickr.photosets.create"}, {"_content":"flickr.photosets.delete"},
|
185
|
+
{"_content":"flickr.photosets.editMeta"}, {"_content":"flickr.photosets.editPhotos"},
|
186
|
+
{"_content":"flickr.photosets.getContext"}, {"_content":"flickr.photosets.getInfo"},
|
187
|
+
{"_content":"flickr.photosets.getList"}, {"_content":"flickr.photosets.getPhotos"},
|
188
|
+
{"_content":"flickr.photosets.orderSets"}, {"_content":"flickr.photosets.removePhoto"},
|
189
|
+
{"_content":"flickr.photosets.removePhotos"}, {"_content":"flickr.photosets.reorderPhotos"},
|
190
|
+
{"_content":"flickr.photosets.setPrimaryPhoto"}, {"_content":"flickr.places.find"},
|
191
|
+
{"_content":"flickr.places.findByLatLon"}, {"_content":"flickr.places.getChildrenWithPhotosPublic"},
|
192
|
+
{"_content":"flickr.places.getInfo"}, {"_content":"flickr.places.getInfoByUrl"},
|
193
|
+
{"_content":"flickr.places.getPlaceTypes"}, {"_content":"flickr.places.getShapeHistory"},
|
194
|
+
{"_content":"flickr.places.getTopPlacesList"}, {"_content":"flickr.places.placesForBoundingBox"},
|
195
|
+
{"_content":"flickr.places.placesForContacts"}, {"_content":"flickr.places.placesForTags"},
|
196
|
+
{"_content":"flickr.places.placesForUser"}, {"_content":"flickr.places.resolvePlaceId"},
|
197
|
+
{"_content":"flickr.places.resolvePlaceURL"}, {"_content":"flickr.places.tagsForPlace"},
|
198
|
+
{"_content":"flickr.prefs.getContentType"}, {"_content":"flickr.prefs.getGeoPerms"},
|
199
|
+
{"_content":"flickr.prefs.getHidden"}, {"_content":"flickr.prefs.getPrivacy"},
|
200
|
+
{"_content":"flickr.prefs.getSafetyLevel"}, {"_content":"flickr.push.getSubscriptions"},
|
201
|
+
{"_content":"flickr.push.getTopics"}, {"_content":"flickr.push.subscribe"},
|
202
|
+
{"_content":"flickr.push.unsubscribe"}, {"_content":"flickr.reflection.getMethodInfo"},
|
203
|
+
{"_content":"flickr.reflection.getMethods"}, {"_content":"flickr.stats.getCollectionDomains"},
|
204
|
+
{"_content":"flickr.stats.getCollectionReferrers"}, {"_content":"flickr.stats.getCollectionStats"},
|
205
|
+
{"_content":"flickr.stats.getCSVFiles"}, {"_content":"flickr.stats.getPhotoDomains"},
|
206
|
+
{"_content":"flickr.stats.getPhotoReferrers"}, {"_content":"flickr.stats.getPhotosetDomains"},
|
207
|
+
{"_content":"flickr.stats.getPhotosetReferrers"}, {"_content":"flickr.stats.getPhotosetStats"},
|
208
|
+
{"_content":"flickr.stats.getPhotoStats"}, {"_content":"flickr.stats.getPhotostreamDomains"},
|
209
|
+
{"_content":"flickr.stats.getPhotostreamReferrers"}, {"_content":"flickr.stats.getPhotostreamStats"},
|
210
|
+
{"_content":"flickr.stats.getPopularPhotos"}, {"_content":"flickr.stats.getTotalViews"},
|
211
|
+
{"_content":"flickr.tags.getClusterPhotos"}, {"_content":"flickr.tags.getClusters"},
|
212
|
+
{"_content":"flickr.tags.getHotList"}, {"_content":"flickr.tags.getListPhoto"},
|
213
|
+
{"_content":"flickr.tags.getListUser"}, {"_content":"flickr.tags.getListUserPopular"},
|
214
|
+
{"_content":"flickr.tags.getListUserRaw"}, {"_content":"flickr.tags.getMostFrequentlyUsed"},
|
215
|
+
{"_content":"flickr.tags.getRelated"}, {"_content":"flickr.test.echo"}, {"_content":"flickr.test.login"},
|
216
|
+
{"_content":"flickr.test.null"}, {"_content":"flickr.urls.getGroup"}, {"_content":"flickr.urls.getUserPhotos"},
|
217
|
+
{"_content":"flickr.urls.getUserProfile"}, {"_content":"flickr.urls.lookupGallery"},
|
218
|
+
{"_content":"flickr.urls.lookupGroup"}, {"_content":"flickr.urls.lookupUser"}]},
|
219
|
+
"stat":"ok"}'
|
220
|
+
http_version:
|
221
|
+
recorded_at: Sun, 13 Apr 2014 00:28:28 GMT
|
222
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.flickr.com/services/rest/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- FlickRaw/0.9.8
|
16
|
+
Authorization:
|
17
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
+
oauth_nonce="dfZcfHAk8B%2BegzPA4ynOYPy7iBWw5kzkIL48%2BsqeGeg%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347624", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
+
oauth_version="1.0"
|
21
|
+
Content-Type:
|
22
|
+
- application/x-www-form-urlencoded
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Sun, 13 Apr 2014 00:07:04 GMT
|
30
|
+
P3p:
|
31
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
+
Cache-Control:
|
35
|
+
- private
|
36
|
+
X-Served-By:
|
37
|
+
- www15.flickr.bf1.yahoo.com
|
38
|
+
Vary:
|
39
|
+
- Accept-Encoding
|
40
|
+
Content-Length:
|
41
|
+
- '364'
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
Age:
|
45
|
+
- '0'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts108.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
+
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
+
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
+
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
+
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
+
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
+
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
+
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Sun, 13 Apr 2014 00:07:04 GMT
|
65
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,162 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.flickr.com/services/rest/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: photoset_id=72157632367381040&method=flickr.photosets.getInfo&format=json&nojsoncallback=1
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- FlickRaw/0.9.8
|
16
|
+
Authorization:
|
17
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
18
|
+
oauth_nonce="MASI%2FEmsuwk%2FV%2BFgHA9%2B4EKkJlrF89vHVONrBZNf5p0%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347619", oauth_token="<KUVA_ACCESS_TOKEN>",
|
20
|
+
oauth_version="1.0"
|
21
|
+
Content-Type:
|
22
|
+
- application/x-www-form-urlencoded
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Date:
|
29
|
+
- Sun, 13 Apr 2014 00:06:59 GMT
|
30
|
+
P3p:
|
31
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
32
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
33
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
34
|
+
Cache-Control:
|
35
|
+
- private
|
36
|
+
X-Served-By:
|
37
|
+
- www244.flickr.bf1.yahoo.com
|
38
|
+
Vary:
|
39
|
+
- Accept-Encoding
|
40
|
+
Content-Length:
|
41
|
+
- '364'
|
42
|
+
Content-Type:
|
43
|
+
- application/json
|
44
|
+
Age:
|
45
|
+
- '3'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts104.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"photoset":{"id":"72157632367381040", "owner":"8558751@N06", "username":"ktnl",
|
56
|
+
"primary":"8318972536", "secret":"eda82f692f", "server":"8499", "farm":9,
|
57
|
+
"photos":28, "count_views":"31", "count_comments":"0", "count_photos":"28",
|
58
|
+
"count_videos":0, "title":{"_content":"Paris"}, "description":{"_content":"These
|
59
|
+
shots were taken in Paris, France in December 2012. Most of them are taken
|
60
|
+
with my Nikon D80 and Nikkor 50mm f\/1.8 or Tokina 12-24mm f\/4."}, "can_comment":1,
|
61
|
+
"date_create":"1356715289", "date_update":"1356717162", "coverphoto_server":"0",
|
62
|
+
"coverphoto_farm":0}, "stat":"ok"}'
|
63
|
+
http_version:
|
64
|
+
recorded_at: Sun, 13 Apr 2014 00:07:00 GMT
|
65
|
+
- request:
|
66
|
+
method: post
|
67
|
+
uri: https://api.flickr.com/services/rest/
|
68
|
+
body:
|
69
|
+
encoding: US-ASCII
|
70
|
+
string: photoset_id=72157632367381040&method=flickr.photosets.getPhotos&format=json&nojsoncallback=1
|
71
|
+
headers:
|
72
|
+
Accept-Encoding:
|
73
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
74
|
+
Accept:
|
75
|
+
- '*/*'
|
76
|
+
User-Agent:
|
77
|
+
- FlickRaw/0.9.8
|
78
|
+
Authorization:
|
79
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<KUVA_API_KEY>",
|
80
|
+
oauth_nonce="l2UNXtwzoHX1tV9hSS62tFDTA5Ql3tphdKAEMKXzfno%3D", oauth_signature="<KUVA_SHARED_SECRET>%26<KUVA_ACCESS_SECRET>",
|
81
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1397347620", oauth_token="<KUVA_ACCESS_TOKEN>",
|
82
|
+
oauth_version="1.0"
|
83
|
+
Content-Type:
|
84
|
+
- application/x-www-form-urlencoded
|
85
|
+
response:
|
86
|
+
status:
|
87
|
+
code: 200
|
88
|
+
message: OK
|
89
|
+
headers:
|
90
|
+
Date:
|
91
|
+
- Sun, 13 Apr 2014 00:07:00 GMT
|
92
|
+
P3p:
|
93
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
94
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
95
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
96
|
+
Cache-Control:
|
97
|
+
- private
|
98
|
+
X-Served-By:
|
99
|
+
- www216.flickr.bf1.yahoo.com
|
100
|
+
Vary:
|
101
|
+
- Accept-Encoding
|
102
|
+
Content-Length:
|
103
|
+
- '885'
|
104
|
+
Content-Type:
|
105
|
+
- application/json
|
106
|
+
Age:
|
107
|
+
- '3'
|
108
|
+
Via:
|
109
|
+
- http/1.1 fts104.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
110
|
+
http/1.1 r15.ycpi.ams.yahoo.net (ApacheTrafficServer/4.0.2 [cMsSf ])
|
111
|
+
Server:
|
112
|
+
- ATS
|
113
|
+
Connection:
|
114
|
+
- keep-alive
|
115
|
+
body:
|
116
|
+
encoding: UTF-8
|
117
|
+
string: '{"photoset":{"id":"72157632367381040", "primary":"8318972536", "owner":"8558751@N06",
|
118
|
+
"ownername":"ktnl", "photo":[{"id":"8318972536", "secret":"eda82f692f", "server":"8499",
|
119
|
+
"farm":9, "title":"Top of the Eiffel Tower", "isprimary":"1"}, {"id":"8317914535",
|
120
|
+
"secret":"c7393787f3", "server":"8217", "farm":9, "title":"Mus\u00e9e du Louvre",
|
121
|
+
"isprimary":"0"}, {"id":"8318972024", "secret":"c065315906", "server":"8075",
|
122
|
+
"farm":9, "title":"Mus\u00e9e du Louvre", "isprimary":"0"}, {"id":"8317914047",
|
123
|
+
"secret":"afebce8291", "server":"8353", "farm":9, "title":"Mus\u00e9e du Louvre",
|
124
|
+
"isprimary":"0"}, {"id":"8317913769", "secret":"df65484bbf", "server":"8212",
|
125
|
+
"farm":9, "title":"Eiffel Tower", "isprimary":"0"}, {"id":"8317913551", "secret":"08da94c65d",
|
126
|
+
"server":"8504", "farm":9, "title":"La Fontaine du Palmier", "isprimary":"0"},
|
127
|
+
{"id":"8317913297", "secret":"a8b7de8c16", "server":"8358", "farm":9, "title":"Arc
|
128
|
+
de Triomphe", "isprimary":"0"}, {"id":"8317913027", "secret":"763e732630",
|
129
|
+
"server":"8499", "farm":9, "title":"Arc de Triomphe", "isprimary":"0"}, {"id":"8318970578",
|
130
|
+
"secret":"c50215a334", "server":"8218", "farm":9, "title":"Paris", "isprimary":"0"},
|
131
|
+
{"id":"8317912585", "secret":"a4b5b3469a", "server":"8083", "farm":9, "title":"Eiffel
|
132
|
+
Tower", "isprimary":"0"}, {"id":"8317912343", "secret":"c93152ca8d", "server":"8222",
|
133
|
+
"farm":9, "title":"Mus\u00e9e de l''Arm\u00e9e", "isprimary":"0"}, {"id":"8317912099",
|
134
|
+
"secret":"22b52e8d35", "server":"8363", "farm":9, "title":"Mus\u00e9e de l''Arm\u00e9e",
|
135
|
+
"isprimary":"0"}, {"id":"8318969664", "secret":"153371a19b", "server":"8491",
|
136
|
+
"farm":9, "title":"Mus\u00e9e de l''Arm\u00e9e", "isprimary":"0"}, {"id":"8317911683",
|
137
|
+
"secret":"d512373239", "server":"8084", "farm":9, "title":"Pont Alexandre
|
138
|
+
III", "isprimary":"0"}, {"id":"8317911437", "secret":"8be1e7efd3", "server":"8361",
|
139
|
+
"farm":9, "title":"Grand Palais", "isprimary":"0"}, {"id":"8318968876", "secret":"26d5bd1878",
|
140
|
+
"server":"8503", "farm":9, "title":"L''\u00e9glise de la Madeleine", "isprimary":"0"},
|
141
|
+
{"id":"8318969046", "secret":"56251fd609", "server":"8494", "farm":9, "title":"Obelisk
|
142
|
+
of Luxor", "isprimary":"0"}, {"id":"8317910789", "secret":"467d54a99f", "server":"8216",
|
143
|
+
"farm":9, "title":"Palais Garnier", "isprimary":"0"}, {"id":"8317910509",
|
144
|
+
"secret":"1216246904", "server":"8358", "farm":9, "title":"Mus\u00e9e du Louvre",
|
145
|
+
"isprimary":"0"}, {"id":"8317910267", "secret":"b819e196fb", "server":"8491",
|
146
|
+
"farm":9, "title":"Arc de Triomphe du Carrousel", "isprimary":"0"}, {"id":"8317910013",
|
147
|
+
"secret":"eec4c96afe", "server":"8364", "farm":9, "title":"Mus\u00e9e du Louvre",
|
148
|
+
"isprimary":"0"}, {"id":"8318967686", "secret":"624429e46d", "server":"8078",
|
149
|
+
"farm":9, "title":"Mus\u00e9e du Louvre", "isprimary":"0"}, {"id":"8318967488",
|
150
|
+
"secret":"0cdab1c40e", "server":"8500", "farm":9, "title":"H\u00f4tel de Ville
|
151
|
+
of Paris", "isprimary":"0"}, {"id":"8317909259", "secret":"abb257d191", "server":"8361",
|
152
|
+
"farm":9, "title":"Streets of Paris", "isprimary":"0"}, {"id":"8317908947",
|
153
|
+
"secret":"5e26048412", "server":"8496", "farm":9, "title":"Notre Dame", "isprimary":"0"},
|
154
|
+
{"id":"8318966772", "secret":"3e25079d52", "server":"8214", "farm":9, "title":"Notre
|
155
|
+
Dame", "isprimary":"0"}, {"id":"8318966518", "secret":"a0666c4332", "server":"8360",
|
156
|
+
"farm":9, "title":"Notre Dame", "isprimary":"0"}, {"id":"8318966322", "secret":"695cca1b95",
|
157
|
+
"server":"8215", "farm":9, "title":"H\u00f4tel de Ville of Paris", "isprimary":"0"}],
|
158
|
+
"page":1, "per_page":500, "perpage":500, "pages":1, "total":"28", "title":"Paris"},
|
159
|
+
"stat":"ok"}'
|
160
|
+
http_version:
|
161
|
+
recorded_at: Sun, 13 Apr 2014 00:07:01 GMT
|
162
|
+
recorded_with: VCR 2.9.0
|