spec/fixtures/parametered_get.yml in nationbuilder-rb-1.6.1 vs spec/fixtures/parametered_get.yml in nationbuilder-rb-1.6.2
- old
+ new
@@ -1,91 +1,84 @@
---
http_interactions:
- request:
method: get
- uri: https://organizeralexandreschmitt.nationbuilder.com/api/v1/sites/organizeralexandreschmitt/pages/basic_pages?access_token=03c22256c06ed11f6bee83673addf26e02a86caa1a5127f4e0815be7223fe4a3&limit=11
+ uri: https://testnation.nationbuilder.com/api/v1/people/search?custom_values%5Bgraduation_year%5D=2008&first_name=Alex&limit=2
body:
encoding: UTF-8
string: ''
headers:
User-Agent:
- - HTTPClient/1.0 (2.7.0.1, ruby 2.1.6 (2015-04-13))
+ - HTTPClient/1.0 (2.7.0.1, ruby 2.5.1 (2018-03-29))
Accept:
- application/json
Date:
- - Wed, 23 Nov 2016 19:16:54 GMT
+ - Tue, 30 Oct 2018 20:20:37 GMT
Content-Type:
- application/json
+ Authorization:
+ - Bearer 03c22256c06ed11f6bee83673addf26e02a86caa1a5127f4e0815be7223fe4a3
response:
status:
code: 200
message: OK
headers:
- Server:
- - Apache/2.4.7 (Ubuntu)
Content-Type:
- application/json; charset=utf-8
Etag:
- - W/"709a1f317fbb097ab1029fcba5e8f8c1-gzip"
+ - W/"3481f6fe1b20ecf9888593cf0e1ec0b6-gzip"
Nation-Ratelimit-Limit:
- '999999'
Nation-Ratelimit-Remaining:
- '999999'
Nation-Ratelimit-Reset:
- - '1479945600'
+ - '1540944000'
+ Server:
+ - Apache/2.4.7 (Ubuntu)
Status:
- 200 OK
Vary:
- Accept-Encoding
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- - SAMEORIGIN
+ - ALLOWALL
+ X-Middleware-Start:
+ - t=1540930838114489
X-Powered-By:
- Phusion Passenger Enterprise 5.0.28
X-Pulse-Approved:
- 'true'
X-Rack-Cache:
- miss
X-Ratelimit-Limit:
- 10s
X-Ratelimit-Remaining:
- - '98'
+ - '99'
X-Ratelimit-Reset:
- - '1479928618'
+ - '1540930848'
X-Request-Id:
- - 2b52691c-8ad0-4791-9baa-e74ee75913d9
+ - '078e950f-e13c-435e-8c70-250e95ac6efe'
X-Runtime:
- - '0.127156'
- X-Xss-Protection:
- - 1; mode=block
+ - '0.126909'
+ X-Served-By:
+ - api10
Content-Length:
- - '3187'
+ - '2785'
Expires:
- - Wed, 23 Nov 2016 19:16:54 GMT
+ - Tue, 30 Oct 2018 20:20:38 GMT
Cache-Control:
- max-age=0, no-cache, no-store
Pragma:
- no-cache
Date:
- - Wed, 23 Nov 2016 19:16:54 GMT
+ - Tue, 30 Oct 2018 20:20:38 GMT
Connection:
- keep-alive
- Set-Cookie:
- - _cookies_enabled=1479928614; path=/
+ Use-Proxy:
+ - 'True'
body:
encoding: UTF-8
- string: '{"results":[{"slug":"basic_23","path":"/basic_23","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 23","headline":"Basic 23","title":"Basic 23 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":121,"content":null},{"slug":"basic_22","path":"/basic_22","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 22","headline":"Basic 22","title":"Basic 22 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":120,"content":null},{"slug":"basic_21","path":"/basic_21","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 21","headline":"Basic 21","title":"Basic 21 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":119,"content":null},{"slug":"basic_20","path":"/basic_20","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 20","headline":"Basic 20","title":"Basic 20 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":118,"content":null},{"slug":"basic_19","path":"/basic_19","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 19","headline":"Basic 19","title":"Basic 19 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":117,"content":null},{"slug":"basic_18","path":"/basic_18","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 18","headline":"Basic 18","title":"Basic 18 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":116,"content":null},{"slug":"basic_17","path":"/basic_17","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 17","headline":"Basic 17","title":"Basic 17 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":115,"content":null},{"slug":"basic_16","path":"/basic_16","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 16","headline":"Basic 16","title":"Basic 16 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":114,"content":null},{"slug":"basic_15","path":"/basic_15","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 15","headline":"Basic 15","title":"Basic 15 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":113,"content":null},{"slug":"basic_14","path":"/basic_14","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 14","headline":"Basic 14","title":"Basic 14 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":112,"content":null},{"slug":"basic_13","path":"/basic_13","status":"unlisted","site_slug":"organizeralexandreschmitt","name":"Basic
- 13","headline":"Basic 13","title":"Basic 13 - Test site","excerpt":null,"author_id":1,"published_at":null,"external_id":null,"tags":[],"id":111,"content":null}],"next":"/api/v1/sites/organizeralexandreschmitt/pages/basic_pages?__nonce=rRTZyJ1Q1DTwfydcPslJKQ\u0026__token=ADkN8CRnANjq04HdDFL4YXS8ACHTkhch-5eyGVn-SpAN\u0026limit=11","prev":null}'
+ string: '{"results":[{"birthdate":null,"city_district":null,"civicrm_id":null,"county_district":null,"county_file_id":null,"created_at":"2018-10-29T19:09:52Z","datatrust_id":null,"do_not_call":false,"do_not_contact":false,"dw_id":null,"email":"alexdoe@exampleschool.edu","email_opt_in":true,"employer":"","external_id":null,"federal_district":null,"fire_district":null,"first_name":"Alex","has_facebook":false,"id":352989,"is_twitter_follower":false,"is_volunteer":false,"judicial_district":null,"labour_region":null,"last_name":"Doe","linkedin_id":null,"mobile":"","mobile_opt_in":true,"middle_name":"","nbec_guid":null,"ngp_id":null,"note":"","occupation":"","party":"","pf_strat_id":null,"phone":"","precinct_id":null,"primary_address":null,"profile_image_url_ssl":"https://d3n8a8pro7vhmx.cloudfront.net/assets/notifier/profile-avatar.png","recruiter_id":null,"rnc_id":null,"rnc_regid":null,"salesforce_id":null,"school_district":null,"school_sub_district":null,"sex":"","signup_type":0,"state_file_id":null,"state_lower_district":null,"state_upper_district":null,"support_level":null,"supranational_district":null,"tags":[],"twitter_id":null,"twitter_name":null,"updated_at":"2018-10-29T19:10:05Z","van_id":null,"village_district":null,"ward":null,"work_phone_number":"","graduation_year":2008.0},{"birthdate":null,"city_district":null,"civicrm_id":null,"county_district":null,"county_file_id":null,"created_at":"2018-05-31T00:07:29Z","datatrust_id":null,"do_not_call":false,"do_not_contact":false,"dw_id":null,"email":"alex@exampleschool.edu","email_opt_in":true,"employer":"","external_id":null,"federal_district":null,"fire_district":null,"first_name":"Alex","has_facebook":false,"id":352955,"is_twitter_follower":false,"is_volunteer":false,"judicial_district":null,"labour_region":null,"last_name":"Smith","linkedin_id":null,"mobile":"","mobile_opt_in":true,"middle_name":"","nbec_guid":null,"ngp_id":null,"note":null,"occupation":"","party":"","pf_strat_id":null,"phone":"","precinct_id":null,"primary_address":null,"profile_image_url_ssl":"https://d3n8a8pro7vhmx.cloudfront.net/assets/notifier/profile-avatar.png","recruiter_id":null,"rnc_id":null,"rnc_regid":null,"salesforce_id":null,"school_district":null,"school_sub_district":null,"sex":"","signup_type":0,"state_file_id":null,"state_lower_district":null,"state_upper_district":null,"support_level":null,"supranational_district":null,"tags":[],"twitter_id":null,"twitter_name":null,"updated_at":"2018-10-29T19:09:34Z","van_id":null,"village_district":null,"ward":null,"work_phone_number":"","graduation_year":2008.0}],"next":"/api/v1/people/search?__nonce=cmDsSJ54eXx2snX-qOjspw\u0026__token=AEQi82Ef8T3_0Xks78eam-vC-YYtqVmOZai4CHntX0hH\u0026custom_values%5Bgraduation_year%5D=2008\u0026first_name=Alex\u0026limit=2","prev":null}'
http_version:
- recorded_at: Wed, 23 Nov 2016 19:16:54 GMT
+ recorded_at: Tue, 30 Oct 2018 20:20:38 GMT
recorded_with: VCR 2.9.3