mailchimp_api_v3 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +4 -0
- data/.rspec +2 -0
- data/.rubocop.yml +1 -1
- data/Gemfile +1 -0
- data/Guardfile +1 -0
- data/README.md +1 -1
- data/circle.yml +7 -5
- data/lib/mailchimp_api_v3.rb +1 -0
- data/lib/mailchimp_api_v3/account.rb +1 -0
- data/lib/mailchimp_api_v3/client.rb +1 -0
- data/lib/mailchimp_api_v3/client/remote.rb +6 -2
- data/lib/mailchimp_api_v3/collection.rb +1 -0
- data/lib/mailchimp_api_v3/collection/paging.rb +1 -0
- data/lib/mailchimp_api_v3/exception.rb +1 -0
- data/lib/mailchimp_api_v3/instance.rb +1 -0
- data/lib/mailchimp_api_v3/interest.rb +2 -1
- data/lib/mailchimp_api_v3/interest_category.rb +4 -3
- data/lib/mailchimp_api_v3/list.rb +2 -1
- data/lib/mailchimp_api_v3/member.rb +2 -1
- data/lib/mailchimp_api_v3/version.rb +2 -1
- data/mailchimp_api_v3.gemspec +3 -1
- data/spec/fixtures/cassettes/account.yml +26 -22
- data/spec/fixtures/cassettes/client.yml +130 -96
- data/spec/fixtures/cassettes/exception.yml +60 -50
- data/spec/fixtures/cassettes/interest.yml +134 -87
- data/spec/fixtures/cassettes/interest_categories.yml +207 -184
- data/spec/fixtures/cassettes/interest_category.yml +137 -90
- data/spec/fixtures/cassettes/interests.yml +241 -165
- data/spec/fixtures/cassettes/list.yml +81 -227
- data/spec/fixtures/cassettes/lists.yml +27 -12
- data/spec/fixtures/cassettes/mailchimp.yml +26 -22
- data/spec/fixtures/cassettes/member.yml +106 -75
- data/spec/fixtures/cassettes/members.yml +255 -171
- data/spec/fixtures/cassettes/members_create_or_update.yml +269 -182
- data/spec/fixtures/cassettes/members_paging.yml +102 -115
- data/spec/mailchimp_api_v3/account_spec.rb +1 -3
- data/spec/mailchimp_api_v3/client_spec.rb +1 -3
- data/spec/mailchimp_api_v3/exception_spec.rb +2 -4
- data/spec/mailchimp_api_v3/interest_categories_spec.rb +1 -3
- data/spec/mailchimp_api_v3/interest_category_spec.rb +1 -3
- data/spec/mailchimp_api_v3/interest_spec.rb +1 -3
- data/spec/mailchimp_api_v3/interests_spec.rb +1 -3
- data/spec/mailchimp_api_v3/list_spec.rb +2 -4
- data/spec/mailchimp_api_v3/lists_spec.rb +2 -4
- data/spec/mailchimp_api_v3/member_spec.rb +1 -3
- data/spec/mailchimp_api_v3/members_spec.rb +5 -7
- data/spec/mailchimp_spec.rb +1 -3
- data/spec/spec_helper.rb +3 -8
- data/spec/support/api_key.rb +1 -0
- data/spec/support/vcr_setup.rb +3 -1
- metadata +19 -4
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https
|
5
|
+
uri: https://us11.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._links,_links&offset=0
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,10 +11,12 @@ http_interactions:
|
|
11
11
|
- "*/*; q=0.5, application/xml"
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
-
Authorization:
|
15
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
16
14
|
User-Agent:
|
17
15
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
16
|
+
Authorization:
|
17
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
18
|
+
Host:
|
19
|
+
- us11.api.mailchimp.com
|
18
20
|
response:
|
19
21
|
status:
|
20
22
|
code: 200
|
@@ -25,32 +27,41 @@ http_interactions:
|
|
25
27
|
Content-Type:
|
26
28
|
- application/json; charset=utf-8
|
27
29
|
Content-Length:
|
28
|
-
- '
|
30
|
+
- '4703'
|
29
31
|
X-Request-Id:
|
30
|
-
-
|
32
|
+
- 002a8b16-d85d-4669-8e5d-81362922f75d
|
31
33
|
Link:
|
32
|
-
- <https
|
34
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
|
33
35
|
Vary:
|
34
36
|
- Accept-Encoding
|
35
37
|
Date:
|
36
|
-
-
|
38
|
+
- Thu, 04 Aug 2016 14:43:57 GMT
|
37
39
|
Connection:
|
38
40
|
- keep-alive
|
41
|
+
Set-Cookie:
|
42
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
39
43
|
body:
|
40
44
|
encoding: ASCII-8BIT
|
41
|
-
string: '{"lists":[{"id":"
|
42
|
-
Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"
|
43
|
-
|
45
|
+
string: '{"lists":[{"id":"e73f5910ca","name":"My first list","contact":{"company":"InSite
|
46
|
+
Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"","zip":"E14
|
47
|
+
7DQ","country":"GB","phone":"07917153555"},"permission_reminder":"Opt-in only","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
48
|
+
Sayers","from_email":"sam@sayers.cc","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-06-27T14:49:18+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/brGTO9","subscribe_url_long":"http://insitearts.us11.list-manage1.com/subscribe?u=1dbca289fd41b54838bcbb501&id=e73f5910ca","beamer_address":"us11-6692a2b3c3-bcd2a8b144@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":2,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":3,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-06-27T14:50:39+00:00","last_unsub_date":""}},{"id":"71937ea346","name":"My
|
49
|
+
second list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
|
50
|
+
One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"Test
|
44
51
|
list for Xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
45
|
-
Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-09T10:17:28+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bsNMtP","subscribe_url_long":"http://insitearts.us11.list-
|
46
|
-
|
47
|
-
7DQ","country":"
|
48
|
-
|
49
|
-
|
50
|
-
|
52
|
+
Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-09T10:17:28+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bsNMtP","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=71937ea346","beamer_address":"us11-6692a2b3c3-e843e438a6@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":1,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-09T13:32:01+00:00","last_unsub_date":""}},{"id":"3f19e5d463","name":"My
|
53
|
+
third list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
|
54
|
+
One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"For
|
55
|
+
xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
56
|
+
Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-12T16:45:11+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bs3cI1","subscribe_url_long":"http://insitearts.us11.list-manage2.com/subscribe?u=1dbca289fd41b54838bcbb501&id=3f19e5d463","beamer_address":"us11-6692a2b3c3-8e485f6d99@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":4,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-14T11:28:57+00:00","last_unsub_date":""}},{"id":"a4598b5a35","name":"API
|
57
|
+
test list","contact":{"company":"administrator@xenapto.com","address1":"300
|
58
|
+
Burdett Road","address2":"London","city":"London","state":"","zip":"E14 7DQ","country":"GB","phone":""},"permission_reminder":"You
|
59
|
+
are test data for our API","use_archive_bar":true,"campaign_defaults":{"from_name":"Administrator","from_email":"administrator@xenapto.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2016-08-04T14:34:58+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/cauBmn","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=a4598b5a35","beamer_address":"us11-6692a2b3c3-3353aeaf0d@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":19,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":7,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-11-03T14:19:51+00:00","last_unsub_date":""}}],"total_items":4}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Thu, 04 Aug 2016 14:43:57 GMT
|
51
62
|
- request:
|
52
63
|
method: get
|
53
|
-
uri: https
|
64
|
+
uri: https://us11.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._links,_links&offset=0
|
54
65
|
body:
|
55
66
|
encoding: US-ASCII
|
56
67
|
string: ''
|
@@ -59,10 +70,12 @@ http_interactions:
|
|
59
70
|
- "*/*; q=0.5, application/xml"
|
60
71
|
Accept-Encoding:
|
61
72
|
- gzip, deflate
|
62
|
-
Authorization:
|
63
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
64
73
|
User-Agent:
|
65
74
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
75
|
+
Authorization:
|
76
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
77
|
+
Host:
|
78
|
+
- us11.api.mailchimp.com
|
66
79
|
response:
|
67
80
|
status:
|
68
81
|
code: 200
|
@@ -73,32 +86,41 @@ http_interactions:
|
|
73
86
|
Content-Type:
|
74
87
|
- application/json; charset=utf-8
|
75
88
|
Content-Length:
|
76
|
-
- '
|
89
|
+
- '4702'
|
77
90
|
X-Request-Id:
|
78
|
-
-
|
91
|
+
- 25c3b9a8-e660-4e0c-a11e-001c818599d4
|
79
92
|
Link:
|
80
|
-
- <https
|
93
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
|
81
94
|
Vary:
|
82
95
|
- Accept-Encoding
|
83
96
|
Date:
|
84
|
-
-
|
97
|
+
- Thu, 04 Aug 2016 14:43:57 GMT
|
85
98
|
Connection:
|
86
99
|
- keep-alive
|
100
|
+
Set-Cookie:
|
101
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
87
102
|
body:
|
88
103
|
encoding: ASCII-8BIT
|
89
|
-
string: '{"lists":[{"id":"
|
90
|
-
Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"
|
91
|
-
|
104
|
+
string: '{"lists":[{"id":"e73f5910ca","name":"My first list","contact":{"company":"InSite
|
105
|
+
Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"","zip":"E14
|
106
|
+
7DQ","country":"GB","phone":"07917153555"},"permission_reminder":"Opt-in only","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
107
|
+
Sayers","from_email":"sam@sayers.cc","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-06-27T14:49:18+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/brGTO9","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=e73f5910ca","beamer_address":"us11-6692a2b3c3-bcd2a8b144@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":2,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":3,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-06-27T14:50:39+00:00","last_unsub_date":""}},{"id":"71937ea346","name":"My
|
108
|
+
second list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
|
109
|
+
One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"Test
|
92
110
|
list for Xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
93
|
-
Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-09T10:17:28+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bsNMtP","subscribe_url_long":"http://insitearts.us11.list-
|
94
|
-
|
95
|
-
7DQ","country":"
|
96
|
-
|
97
|
-
|
98
|
-
|
111
|
+
Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-09T10:17:28+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bsNMtP","subscribe_url_long":"http://insitearts.us11.list-manage2.com/subscribe?u=1dbca289fd41b54838bcbb501&id=71937ea346","beamer_address":"us11-6692a2b3c3-e843e438a6@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":1,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-09T13:32:01+00:00","last_unsub_date":""}},{"id":"3f19e5d463","name":"My
|
112
|
+
third list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
|
113
|
+
One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"For
|
114
|
+
xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
115
|
+
Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-12T16:45:11+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bs3cI1","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=3f19e5d463","beamer_address":"us11-6692a2b3c3-8e485f6d99@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":4,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-14T11:28:57+00:00","last_unsub_date":""}},{"id":"a4598b5a35","name":"API
|
116
|
+
test list","contact":{"company":"administrator@xenapto.com","address1":"300
|
117
|
+
Burdett Road","address2":"London","city":"London","state":"","zip":"E14 7DQ","country":"GB","phone":""},"permission_reminder":"You
|
118
|
+
are test data for our API","use_archive_bar":true,"campaign_defaults":{"from_name":"Administrator","from_email":"administrator@xenapto.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2016-08-04T14:34:58+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/cauBmn","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=a4598b5a35","beamer_address":"us11-6692a2b3c3-3353aeaf0d@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":19,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":7,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-11-03T14:19:51+00:00","last_unsub_date":""}}],"total_items":4}'
|
119
|
+
http_version:
|
120
|
+
recorded_at: Thu, 04 Aug 2016 14:43:57 GMT
|
99
121
|
- request:
|
100
122
|
method: get
|
101
|
-
uri: https
|
123
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
102
124
|
body:
|
103
125
|
encoding: US-ASCII
|
104
126
|
string: ''
|
@@ -107,10 +129,12 @@ http_interactions:
|
|
107
129
|
- "*/*; q=0.5, application/xml"
|
108
130
|
Accept-Encoding:
|
109
131
|
- gzip, deflate
|
110
|
-
Authorization:
|
111
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
112
132
|
User-Agent:
|
113
133
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
134
|
+
Authorization:
|
135
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
136
|
+
Host:
|
137
|
+
- us11.api.mailchimp.com
|
114
138
|
response:
|
115
139
|
status:
|
116
140
|
code: 200
|
@@ -123,24 +147,26 @@ http_interactions:
|
|
123
147
|
Content-Length:
|
124
148
|
- '1260'
|
125
149
|
X-Request-Id:
|
126
|
-
-
|
150
|
+
- 86efbe35-598d-44f9-93e5-b2d19e7040e7
|
127
151
|
Link:
|
128
|
-
- <https
|
152
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
129
153
|
rel="describedBy"
|
130
154
|
Vary:
|
131
155
|
- Accept-Encoding
|
132
156
|
Date:
|
133
|
-
-
|
157
|
+
- Thu, 04 Aug 2016 14:43:57 GMT
|
134
158
|
Connection:
|
135
159
|
- keep-alive
|
160
|
+
Set-Cookie:
|
161
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
136
162
|
body:
|
137
163
|
encoding: ASCII-8BIT
|
138
|
-
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"
|
139
|
-
http_version:
|
140
|
-
recorded_at:
|
164
|
+
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":2}'
|
165
|
+
http_version:
|
166
|
+
recorded_at: Thu, 04 Aug 2016 14:43:57 GMT
|
141
167
|
- request:
|
142
168
|
method: get
|
143
|
-
uri: https
|
169
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
144
170
|
body:
|
145
171
|
encoding: US-ASCII
|
146
172
|
string: ''
|
@@ -149,10 +175,12 @@ http_interactions:
|
|
149
175
|
- "*/*; q=0.5, application/xml"
|
150
176
|
Accept-Encoding:
|
151
177
|
- gzip, deflate
|
152
|
-
Authorization:
|
153
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
154
178
|
User-Agent:
|
155
179
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
180
|
+
Authorization:
|
181
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
182
|
+
Host:
|
183
|
+
- us11.api.mailchimp.com
|
156
184
|
response:
|
157
185
|
status:
|
158
186
|
code: 200
|
@@ -165,24 +193,26 @@ http_interactions:
|
|
165
193
|
Content-Length:
|
166
194
|
- '1260'
|
167
195
|
X-Request-Id:
|
168
|
-
-
|
196
|
+
- 01604927-7fca-48ad-a46b-1722df200e32
|
169
197
|
Link:
|
170
|
-
- <https
|
198
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
171
199
|
rel="describedBy"
|
172
200
|
Vary:
|
173
201
|
- Accept-Encoding
|
174
202
|
Date:
|
175
|
-
-
|
203
|
+
- Thu, 04 Aug 2016 14:43:57 GMT
|
176
204
|
Connection:
|
177
205
|
- keep-alive
|
206
|
+
Set-Cookie:
|
207
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
178
208
|
body:
|
179
209
|
encoding: ASCII-8BIT
|
180
|
-
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"
|
181
|
-
http_version:
|
182
|
-
recorded_at:
|
210
|
+
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":2}'
|
211
|
+
http_version:
|
212
|
+
recorded_at: Thu, 04 Aug 2016 14:43:57 GMT
|
183
213
|
- request:
|
184
214
|
method: get
|
185
|
-
uri: https
|
215
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb
|
186
216
|
body:
|
187
217
|
encoding: US-ASCII
|
188
218
|
string: ''
|
@@ -191,10 +221,12 @@ http_interactions:
|
|
191
221
|
- "*/*; q=0.5, application/xml"
|
192
222
|
Accept-Encoding:
|
193
223
|
- gzip, deflate
|
194
|
-
Authorization:
|
195
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
196
224
|
User-Agent:
|
197
225
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
226
|
+
Authorization:
|
227
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
228
|
+
Host:
|
229
|
+
- us11.api.mailchimp.com
|
198
230
|
response:
|
199
231
|
status:
|
200
232
|
code: 404
|
@@ -205,26 +237,28 @@ http_interactions:
|
|
205
237
|
Content-Type:
|
206
238
|
- application/problem+json; charset=utf-8
|
207
239
|
Content-Length:
|
208
|
-
- '
|
240
|
+
- '198'
|
209
241
|
X-Request-Id:
|
210
|
-
-
|
242
|
+
- bfa629ef-ee29-4b47-9205-4a2a9c4ca651
|
211
243
|
Link:
|
212
|
-
- <https
|
244
|
+
- <https://us11.api.mailchimp.com/schema/3.0/ProblemDetailDocument.json>; rel="describedBy"
|
213
245
|
Vary:
|
214
246
|
- Accept-Encoding
|
215
247
|
Date:
|
216
|
-
-
|
248
|
+
- Thu, 04 Aug 2016 14:46:58 GMT
|
217
249
|
Connection:
|
218
250
|
- keep-alive
|
251
|
+
Set-Cookie:
|
252
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
219
253
|
body:
|
220
254
|
encoding: ASCII-8BIT
|
221
|
-
string: '{"type":"http://
|
222
|
-
Not Found","status":404,"detail":"The requested resource could not be found.","instance":"
|
223
|
-
http_version:
|
224
|
-
recorded_at:
|
255
|
+
string: '{"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Resource
|
256
|
+
Not Found","status":404,"detail":"The requested resource could not be found.","instance":""}'
|
257
|
+
http_version:
|
258
|
+
recorded_at: Thu, 04 Aug 2016 14:46:58 GMT
|
225
259
|
- request:
|
226
260
|
method: post
|
227
|
-
uri: https
|
261
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members
|
228
262
|
body:
|
229
263
|
encoding: UTF-8
|
230
264
|
string: '{"merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"email_address":"cat@sayers.cc","status":"subscribed"}'
|
@@ -233,12 +267,14 @@ http_interactions:
|
|
233
267
|
- "*/*; q=0.5, application/xml"
|
234
268
|
Accept-Encoding:
|
235
269
|
- gzip, deflate
|
236
|
-
Authorization:
|
237
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
238
270
|
User-Agent:
|
239
271
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
272
|
+
Authorization:
|
273
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
240
274
|
Content-Length:
|
241
275
|
- '103'
|
276
|
+
Host:
|
277
|
+
- us11.api.mailchimp.com
|
242
278
|
response:
|
243
279
|
status:
|
244
280
|
code: 200
|
@@ -249,25 +285,28 @@ http_interactions:
|
|
249
285
|
Content-Type:
|
250
286
|
- application/json; charset=utf-8
|
251
287
|
Content-Length:
|
252
|
-
- '
|
288
|
+
- '2390'
|
253
289
|
X-Request-Id:
|
254
|
-
-
|
290
|
+
- c71e73e2-925b-40a8-94f8-dd83c56663b1
|
255
291
|
Link:
|
256
|
-
- <https
|
292
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
|
293
|
+
<https://us11.admin.mailchimp.com/lists/members/view?id=66329425>; rel="dashboard"
|
257
294
|
Vary:
|
258
295
|
- Accept-Encoding
|
259
296
|
Date:
|
260
|
-
-
|
297
|
+
- Thu, 04 Aug 2016 14:56:19 GMT
|
261
298
|
Connection:
|
262
299
|
- keep-alive
|
300
|
+
Set-Cookie:
|
301
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
263
302
|
body:
|
264
303
|
encoding: ASCII-8BIT
|
265
|
-
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"
|
266
|
-
http_version:
|
267
|
-
recorded_at:
|
304
|
+
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:19+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca","_links":[{"rel":"self","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"parent","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PATCH","schema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"upsert","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PUT","schema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"delete","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"DELETE"},{"rel":"activity","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/activity","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json"},{"rel":"goals","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/goals","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json"},{"rel":"notes","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/notes","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
|
305
|
+
http_version:
|
306
|
+
recorded_at: Thu, 04 Aug 2016 14:56:19 GMT
|
268
307
|
- request:
|
269
308
|
method: get
|
270
|
-
uri: https
|
309
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
271
310
|
body:
|
272
311
|
encoding: US-ASCII
|
273
312
|
string: ''
|
@@ -276,10 +315,12 @@ http_interactions:
|
|
276
315
|
- "*/*; q=0.5, application/xml"
|
277
316
|
Accept-Encoding:
|
278
317
|
- gzip, deflate
|
279
|
-
Authorization:
|
280
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
281
318
|
User-Agent:
|
282
319
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
320
|
+
Authorization:
|
321
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
322
|
+
Host:
|
323
|
+
- us11.api.mailchimp.com
|
283
324
|
response:
|
284
325
|
status:
|
285
326
|
code: 200
|
@@ -290,26 +331,28 @@ http_interactions:
|
|
290
331
|
Content-Type:
|
291
332
|
- application/json; charset=utf-8
|
292
333
|
Content-Length:
|
293
|
-
- '
|
334
|
+
- '1863'
|
294
335
|
X-Request-Id:
|
295
|
-
-
|
336
|
+
- 1114920a-17e1-4f45-b3e7-63673d137871
|
296
337
|
Link:
|
297
|
-
- <https
|
338
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
298
339
|
rel="describedBy"
|
299
340
|
Vary:
|
300
341
|
- Accept-Encoding
|
301
342
|
Date:
|
302
|
-
-
|
343
|
+
- Thu, 04 Aug 2016 14:56:20 GMT
|
303
344
|
Connection:
|
304
345
|
- keep-alive
|
346
|
+
Set-Cookie:
|
347
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
305
348
|
body:
|
306
349
|
encoding: ASCII-8BIT
|
307
|
-
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"
|
308
|
-
http_version:
|
309
|
-
recorded_at:
|
350
|
+
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:19+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
|
351
|
+
http_version:
|
352
|
+
recorded_at: Thu, 04 Aug 2016 14:56:20 GMT
|
310
353
|
- request:
|
311
354
|
method: get
|
312
|
-
uri: https
|
355
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
313
356
|
body:
|
314
357
|
encoding: US-ASCII
|
315
358
|
string: ''
|
@@ -318,10 +361,12 @@ http_interactions:
|
|
318
361
|
- "*/*; q=0.5, application/xml"
|
319
362
|
Accept-Encoding:
|
320
363
|
- gzip, deflate
|
321
|
-
Authorization:
|
322
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
323
364
|
User-Agent:
|
324
365
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
366
|
+
Authorization:
|
367
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
368
|
+
Host:
|
369
|
+
- us11.api.mailchimp.com
|
325
370
|
response:
|
326
371
|
status:
|
327
372
|
code: 200
|
@@ -332,26 +377,28 @@ http_interactions:
|
|
332
377
|
Content-Type:
|
333
378
|
- application/json; charset=utf-8
|
334
379
|
Content-Length:
|
335
|
-
- '
|
380
|
+
- '1863'
|
336
381
|
X-Request-Id:
|
337
|
-
-
|
382
|
+
- 29335c59-5741-4131-a73a-f373ccb856a6
|
338
383
|
Link:
|
339
|
-
- <https
|
384
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
340
385
|
rel="describedBy"
|
341
386
|
Vary:
|
342
387
|
- Accept-Encoding
|
343
388
|
Date:
|
344
|
-
-
|
389
|
+
- Thu, 04 Aug 2016 14:56:20 GMT
|
345
390
|
Connection:
|
346
391
|
- keep-alive
|
392
|
+
Set-Cookie:
|
393
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
347
394
|
body:
|
348
395
|
encoding: ASCII-8BIT
|
349
|
-
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"
|
350
|
-
http_version:
|
351
|
-
recorded_at:
|
396
|
+
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:19+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
|
397
|
+
http_version:
|
398
|
+
recorded_at: Thu, 04 Aug 2016 14:56:20 GMT
|
352
399
|
- request:
|
353
400
|
method: get
|
354
|
-
uri: https
|
401
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb
|
355
402
|
body:
|
356
403
|
encoding: US-ASCII
|
357
404
|
string: ''
|
@@ -360,10 +407,12 @@ http_interactions:
|
|
360
407
|
- "*/*; q=0.5, application/xml"
|
361
408
|
Accept-Encoding:
|
362
409
|
- gzip, deflate
|
363
|
-
Authorization:
|
364
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
365
410
|
User-Agent:
|
366
411
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
412
|
+
Authorization:
|
413
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
414
|
+
Host:
|
415
|
+
- us11.api.mailchimp.com
|
367
416
|
response:
|
368
417
|
status:
|
369
418
|
code: 200
|
@@ -374,25 +423,28 @@ http_interactions:
|
|
374
423
|
Content-Type:
|
375
424
|
- application/json; charset=utf-8
|
376
425
|
Content-Length:
|
377
|
-
- '
|
426
|
+
- '2390'
|
378
427
|
X-Request-Id:
|
379
|
-
-
|
428
|
+
- 4569d003-acff-4f7e-989b-10fc9a9e8745
|
380
429
|
Link:
|
381
|
-
- <https
|
430
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
|
431
|
+
<https://us11.admin.mailchimp.com/lists/members/view?id=66329425>; rel="dashboard"
|
382
432
|
Vary:
|
383
433
|
- Accept-Encoding
|
384
434
|
Date:
|
385
|
-
-
|
435
|
+
- Thu, 04 Aug 2016 14:56:20 GMT
|
386
436
|
Connection:
|
387
437
|
- keep-alive
|
438
|
+
Set-Cookie:
|
439
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
388
440
|
body:
|
389
441
|
encoding: ASCII-8BIT
|
390
|
-
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"
|
391
|
-
http_version:
|
392
|
-
recorded_at:
|
442
|
+
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:19+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca","_links":[{"rel":"self","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"parent","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PATCH","schema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"upsert","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PUT","schema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"delete","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"DELETE"},{"rel":"activity","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/activity","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json"},{"rel":"goals","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/goals","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json"},{"rel":"notes","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/notes","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
|
443
|
+
http_version:
|
444
|
+
recorded_at: Thu, 04 Aug 2016 14:56:20 GMT
|
393
445
|
- request:
|
394
446
|
method: patch
|
395
|
-
uri: https
|
447
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb
|
396
448
|
body:
|
397
449
|
encoding: UTF-8
|
398
450
|
string: '{"merge_fields":{"FNAME":"Catherine"},"email_address":"cat@sayers.cc","status":"subscribed"}'
|
@@ -401,12 +453,14 @@ http_interactions:
|
|
401
453
|
- "*/*; q=0.5, application/xml"
|
402
454
|
Accept-Encoding:
|
403
455
|
- gzip, deflate
|
404
|
-
Authorization:
|
405
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
406
456
|
User-Agent:
|
407
457
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
458
|
+
Authorization:
|
459
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
408
460
|
Content-Length:
|
409
461
|
- '92'
|
462
|
+
Host:
|
463
|
+
- us11.api.mailchimp.com
|
410
464
|
response:
|
411
465
|
status:
|
412
466
|
code: 200
|
@@ -417,25 +471,28 @@ http_interactions:
|
|
417
471
|
Content-Type:
|
418
472
|
- application/json; charset=utf-8
|
419
473
|
Content-Length:
|
420
|
-
- '
|
474
|
+
- '2396'
|
421
475
|
X-Request-Id:
|
422
|
-
-
|
476
|
+
- be1b06b4-df78-45c9-8703-f3216c58c30e
|
423
477
|
Link:
|
424
|
-
- <https
|
478
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
|
479
|
+
<https://us11.admin.mailchimp.com/lists/members/view?id=66329425>; rel="dashboard"
|
425
480
|
Vary:
|
426
481
|
- Accept-Encoding
|
427
482
|
Date:
|
428
|
-
-
|
483
|
+
- Thu, 04 Aug 2016 14:56:20 GMT
|
429
484
|
Connection:
|
430
485
|
- keep-alive
|
486
|
+
Set-Cookie:
|
487
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
431
488
|
body:
|
432
489
|
encoding: ASCII-8BIT
|
433
|
-
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"
|
434
|
-
http_version:
|
435
|
-
recorded_at:
|
490
|
+
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:20+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca","_links":[{"rel":"self","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"parent","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PATCH","schema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"upsert","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PUT","schema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"delete","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"DELETE"},{"rel":"activity","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/activity","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json"},{"rel":"goals","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/goals","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json"},{"rel":"notes","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/notes","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
|
491
|
+
http_version:
|
492
|
+
recorded_at: Thu, 04 Aug 2016 14:56:20 GMT
|
436
493
|
- request:
|
437
494
|
method: get
|
438
|
-
uri: https
|
495
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
439
496
|
body:
|
440
497
|
encoding: US-ASCII
|
441
498
|
string: ''
|
@@ -444,10 +501,12 @@ http_interactions:
|
|
444
501
|
- "*/*; q=0.5, application/xml"
|
445
502
|
Accept-Encoding:
|
446
503
|
- gzip, deflate
|
447
|
-
Authorization:
|
448
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
449
504
|
User-Agent:
|
450
505
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
506
|
+
Authorization:
|
507
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
508
|
+
Host:
|
509
|
+
- us11.api.mailchimp.com
|
451
510
|
response:
|
452
511
|
status:
|
453
512
|
code: 200
|
@@ -458,26 +517,28 @@ http_interactions:
|
|
458
517
|
Content-Type:
|
459
518
|
- application/json; charset=utf-8
|
460
519
|
Content-Length:
|
461
|
-
- '
|
520
|
+
- '1869'
|
462
521
|
X-Request-Id:
|
463
|
-
-
|
522
|
+
- 617c4f5f-4195-444f-b4b5-185ab2a21bbb
|
464
523
|
Link:
|
465
|
-
- <https
|
524
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
466
525
|
rel="describedBy"
|
467
526
|
Vary:
|
468
527
|
- Accept-Encoding
|
469
528
|
Date:
|
470
|
-
-
|
529
|
+
- Thu, 04 Aug 2016 14:56:21 GMT
|
471
530
|
Connection:
|
472
531
|
- keep-alive
|
532
|
+
Set-Cookie:
|
533
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
473
534
|
body:
|
474
535
|
encoding: ASCII-8BIT
|
475
|
-
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"
|
476
|
-
http_version:
|
477
|
-
recorded_at:
|
536
|
+
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:20+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
|
537
|
+
http_version:
|
538
|
+
recorded_at: Thu, 04 Aug 2016 14:56:21 GMT
|
478
539
|
- request:
|
479
540
|
method: get
|
480
|
-
uri: https
|
541
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb
|
481
542
|
body:
|
482
543
|
encoding: US-ASCII
|
483
544
|
string: ''
|
@@ -486,10 +547,12 @@ http_interactions:
|
|
486
547
|
- "*/*; q=0.5, application/xml"
|
487
548
|
Accept-Encoding:
|
488
549
|
- gzip, deflate
|
489
|
-
Authorization:
|
490
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
491
550
|
User-Agent:
|
492
551
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
552
|
+
Authorization:
|
553
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
554
|
+
Host:
|
555
|
+
- us11.api.mailchimp.com
|
493
556
|
response:
|
494
557
|
status:
|
495
558
|
code: 200
|
@@ -500,25 +563,28 @@ http_interactions:
|
|
500
563
|
Content-Type:
|
501
564
|
- application/json; charset=utf-8
|
502
565
|
Content-Length:
|
503
|
-
- '
|
566
|
+
- '2396'
|
504
567
|
X-Request-Id:
|
505
|
-
-
|
568
|
+
- 095fb9db-5fa4-4e78-a9c2-059bf0ac647f
|
506
569
|
Link:
|
507
|
-
- <https
|
570
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
|
571
|
+
<https://us11.admin.mailchimp.com/lists/members/view?id=66329425>; rel="dashboard"
|
508
572
|
Vary:
|
509
573
|
- Accept-Encoding
|
510
574
|
Date:
|
511
|
-
-
|
575
|
+
- Thu, 04 Aug 2016 14:56:21 GMT
|
512
576
|
Connection:
|
513
577
|
- keep-alive
|
578
|
+
Set-Cookie:
|
579
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
514
580
|
body:
|
515
581
|
encoding: ASCII-8BIT
|
516
|
-
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"
|
517
|
-
http_version:
|
518
|
-
recorded_at:
|
582
|
+
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:20+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca","_links":[{"rel":"self","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"parent","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PATCH","schema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"upsert","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PUT","schema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"delete","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"DELETE"},{"rel":"activity","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/activity","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json"},{"rel":"goals","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/goals","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json"},{"rel":"notes","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/notes","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
|
583
|
+
http_version:
|
584
|
+
recorded_at: Thu, 04 Aug 2016 14:56:21 GMT
|
519
585
|
- request:
|
520
586
|
method: patch
|
521
|
-
uri: https
|
587
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb
|
522
588
|
body:
|
523
589
|
encoding: UTF-8
|
524
590
|
string: '{"merge_fields":{"FNAME":"Catherine"},"email_address":"cat@sayers.cc","status":"subscribed"}'
|
@@ -527,12 +593,14 @@ http_interactions:
|
|
527
593
|
- "*/*; q=0.5, application/xml"
|
528
594
|
Accept-Encoding:
|
529
595
|
- gzip, deflate
|
530
|
-
Authorization:
|
531
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
532
596
|
User-Agent:
|
533
597
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
598
|
+
Authorization:
|
599
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
534
600
|
Content-Length:
|
535
601
|
- '92'
|
602
|
+
Host:
|
603
|
+
- us11.api.mailchimp.com
|
536
604
|
response:
|
537
605
|
status:
|
538
606
|
code: 200
|
@@ -543,25 +611,28 @@ http_interactions:
|
|
543
611
|
Content-Type:
|
544
612
|
- application/json; charset=utf-8
|
545
613
|
Content-Length:
|
546
|
-
- '
|
614
|
+
- '2396'
|
547
615
|
X-Request-Id:
|
548
|
-
-
|
616
|
+
- e1855c25-6a14-4042-8aa8-4e5e1bf1c081
|
549
617
|
Link:
|
550
|
-
- <https
|
618
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
|
619
|
+
<https://us11.admin.mailchimp.com/lists/members/view?id=66329425>; rel="dashboard"
|
551
620
|
Vary:
|
552
621
|
- Accept-Encoding
|
553
622
|
Date:
|
554
|
-
-
|
623
|
+
- Thu, 04 Aug 2016 14:56:21 GMT
|
555
624
|
Connection:
|
556
625
|
- keep-alive
|
626
|
+
Set-Cookie:
|
627
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
557
628
|
body:
|
558
629
|
encoding: ASCII-8BIT
|
559
|
-
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"
|
560
|
-
http_version:
|
561
|
-
recorded_at:
|
630
|
+
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:21+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca","_links":[{"rel":"self","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"parent","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PATCH","schema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"upsert","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PUT","schema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"delete","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"DELETE"},{"rel":"activity","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/activity","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json"},{"rel":"goals","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/goals","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json"},{"rel":"notes","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/notes","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
|
631
|
+
http_version:
|
632
|
+
recorded_at: Thu, 04 Aug 2016 14:56:21 GMT
|
562
633
|
- request:
|
563
634
|
method: get
|
564
|
-
uri: https
|
635
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
565
636
|
body:
|
566
637
|
encoding: US-ASCII
|
567
638
|
string: ''
|
@@ -570,10 +641,12 @@ http_interactions:
|
|
570
641
|
- "*/*; q=0.5, application/xml"
|
571
642
|
Accept-Encoding:
|
572
643
|
- gzip, deflate
|
573
|
-
Authorization:
|
574
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
575
644
|
User-Agent:
|
576
645
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
646
|
+
Authorization:
|
647
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
648
|
+
Host:
|
649
|
+
- us11.api.mailchimp.com
|
577
650
|
response:
|
578
651
|
status:
|
579
652
|
code: 200
|
@@ -584,26 +657,28 @@ http_interactions:
|
|
584
657
|
Content-Type:
|
585
658
|
- application/json; charset=utf-8
|
586
659
|
Content-Length:
|
587
|
-
- '
|
660
|
+
- '1869'
|
588
661
|
X-Request-Id:
|
589
|
-
-
|
662
|
+
- 25ac2a02-e9e4-4e6a-9e7a-81064a0e9aed
|
590
663
|
Link:
|
591
|
-
- <https
|
664
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
592
665
|
rel="describedBy"
|
593
666
|
Vary:
|
594
667
|
- Accept-Encoding
|
595
668
|
Date:
|
596
|
-
-
|
669
|
+
- Thu, 04 Aug 2016 14:56:21 GMT
|
597
670
|
Connection:
|
598
671
|
- keep-alive
|
672
|
+
Set-Cookie:
|
673
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
599
674
|
body:
|
600
675
|
encoding: ASCII-8BIT
|
601
|
-
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"
|
602
|
-
http_version:
|
603
|
-
recorded_at:
|
676
|
+
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:21+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
|
677
|
+
http_version:
|
678
|
+
recorded_at: Thu, 04 Aug 2016 14:56:21 GMT
|
604
679
|
- request:
|
605
680
|
method: get
|
606
|
-
uri: https
|
681
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
607
682
|
body:
|
608
683
|
encoding: US-ASCII
|
609
684
|
string: ''
|
@@ -612,10 +687,12 @@ http_interactions:
|
|
612
687
|
- "*/*; q=0.5, application/xml"
|
613
688
|
Accept-Encoding:
|
614
689
|
- gzip, deflate
|
615
|
-
Authorization:
|
616
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
617
690
|
User-Agent:
|
618
691
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
692
|
+
Authorization:
|
693
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
694
|
+
Host:
|
695
|
+
- us11.api.mailchimp.com
|
619
696
|
response:
|
620
697
|
status:
|
621
698
|
code: 200
|
@@ -626,26 +703,28 @@ http_interactions:
|
|
626
703
|
Content-Type:
|
627
704
|
- application/json; charset=utf-8
|
628
705
|
Content-Length:
|
629
|
-
- '
|
706
|
+
- '1869'
|
630
707
|
X-Request-Id:
|
631
|
-
-
|
708
|
+
- 6ecce3f8-be2a-41e5-a9c0-8cc81667d256
|
632
709
|
Link:
|
633
|
-
- <https
|
710
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
634
711
|
rel="describedBy"
|
635
712
|
Vary:
|
636
713
|
- Accept-Encoding
|
637
714
|
Date:
|
638
|
-
-
|
715
|
+
- Thu, 04 Aug 2016 14:56:21 GMT
|
639
716
|
Connection:
|
640
717
|
- keep-alive
|
718
|
+
Set-Cookie:
|
719
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
641
720
|
body:
|
642
721
|
encoding: ASCII-8BIT
|
643
|
-
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"
|
644
|
-
http_version:
|
645
|
-
recorded_at:
|
722
|
+
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:21+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
|
723
|
+
http_version:
|
724
|
+
recorded_at: Thu, 04 Aug 2016 14:56:21 GMT
|
646
725
|
- request:
|
647
726
|
method: get
|
648
|
-
uri: https
|
727
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
649
728
|
body:
|
650
729
|
encoding: US-ASCII
|
651
730
|
string: ''
|
@@ -654,10 +733,12 @@ http_interactions:
|
|
654
733
|
- "*/*; q=0.5, application/xml"
|
655
734
|
Accept-Encoding:
|
656
735
|
- gzip, deflate
|
657
|
-
Authorization:
|
658
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
659
736
|
User-Agent:
|
660
737
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
738
|
+
Authorization:
|
739
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
740
|
+
Host:
|
741
|
+
- us11.api.mailchimp.com
|
661
742
|
response:
|
662
743
|
status:
|
663
744
|
code: 200
|
@@ -668,26 +749,28 @@ http_interactions:
|
|
668
749
|
Content-Type:
|
669
750
|
- application/json; charset=utf-8
|
670
751
|
Content-Length:
|
671
|
-
- '
|
752
|
+
- '1869'
|
672
753
|
X-Request-Id:
|
673
|
-
-
|
754
|
+
- 6c3b0410-bc5b-443d-850a-665b66cd50b0
|
674
755
|
Link:
|
675
|
-
- <https
|
756
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
676
757
|
rel="describedBy"
|
677
758
|
Vary:
|
678
759
|
- Accept-Encoding
|
679
760
|
Date:
|
680
|
-
-
|
761
|
+
- Thu, 04 Aug 2016 14:56:22 GMT
|
681
762
|
Connection:
|
682
763
|
- keep-alive
|
764
|
+
Set-Cookie:
|
765
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
683
766
|
body:
|
684
767
|
encoding: ASCII-8BIT
|
685
|
-
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"
|
686
|
-
http_version:
|
687
|
-
recorded_at:
|
768
|
+
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:21+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
|
769
|
+
http_version:
|
770
|
+
recorded_at: Thu, 04 Aug 2016 14:56:22 GMT
|
688
771
|
- request:
|
689
772
|
method: get
|
690
|
-
uri: https
|
773
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
691
774
|
body:
|
692
775
|
encoding: US-ASCII
|
693
776
|
string: ''
|
@@ -696,10 +779,12 @@ http_interactions:
|
|
696
779
|
- "*/*; q=0.5, application/xml"
|
697
780
|
Accept-Encoding:
|
698
781
|
- gzip, deflate
|
699
|
-
Authorization:
|
700
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
701
782
|
User-Agent:
|
702
783
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
784
|
+
Authorization:
|
785
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
786
|
+
Host:
|
787
|
+
- us11.api.mailchimp.com
|
703
788
|
response:
|
704
789
|
status:
|
705
790
|
code: 200
|
@@ -710,21 +795,23 @@ http_interactions:
|
|
710
795
|
Content-Type:
|
711
796
|
- application/json; charset=utf-8
|
712
797
|
Content-Length:
|
713
|
-
- '
|
798
|
+
- '1869'
|
714
799
|
X-Request-Id:
|
715
|
-
-
|
800
|
+
- c4cba757-8ea6-4f8d-8ab2-99722aa14a34
|
716
801
|
Link:
|
717
|
-
- <https
|
802
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
718
803
|
rel="describedBy"
|
719
804
|
Vary:
|
720
805
|
- Accept-Encoding
|
721
806
|
Date:
|
722
|
-
-
|
807
|
+
- Thu, 04 Aug 2016 14:56:22 GMT
|
723
808
|
Connection:
|
724
809
|
- keep-alive
|
810
|
+
Set-Cookie:
|
811
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
725
812
|
body:
|
726
813
|
encoding: ASCII-8BIT
|
727
|
-
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"
|
728
|
-
http_version:
|
729
|
-
recorded_at:
|
730
|
-
recorded_with: VCR
|
814
|
+
string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:21+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
|
815
|
+
http_version:
|
816
|
+
recorded_at: Thu, 04 Aug 2016 14:56:22 GMT
|
817
|
+
recorded_with: VCR 3.0.3
|