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
|
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: 301
|
@@ -27,9 +29,9 @@ http_interactions:
|
|
27
29
|
Content-Length:
|
28
30
|
- '242'
|
29
31
|
Location:
|
30
|
-
- http
|
32
|
+
- http://us11.api.mailchimp.com/3.0/
|
31
33
|
Date:
|
32
|
-
-
|
34
|
+
- Thu, 04 Aug 2016 14:57:20 GMT
|
33
35
|
Connection:
|
34
36
|
- keep-alive
|
35
37
|
body:
|
@@ -40,13 +42,13 @@ http_interactions:
|
|
40
42
|
<title>301 Moved Permanently</title>
|
41
43
|
</head><body>
|
42
44
|
<h1>Moved Permanently</h1>
|
43
|
-
<p>The document has moved <a href="http
|
45
|
+
<p>The document has moved <a href="http://us11.api.mailchimp.com/3.0/">here</a>.</p>
|
44
46
|
</body></html>
|
45
|
-
http_version:
|
46
|
-
recorded_at:
|
47
|
+
http_version:
|
48
|
+
recorded_at: Thu, 04 Aug 2016 14:57:20 GMT
|
47
49
|
- request:
|
48
50
|
method: get
|
49
|
-
uri: http
|
51
|
+
uri: http://us11.api.mailchimp.com/3.0/
|
50
52
|
body:
|
51
53
|
encoding: US-ASCII
|
52
54
|
string: ''
|
@@ -55,12 +57,12 @@ http_interactions:
|
|
55
57
|
- "*/*; q=0.5, application/xml"
|
56
58
|
Accept-Encoding:
|
57
59
|
- gzip, deflate
|
58
|
-
Authorization:
|
59
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
60
60
|
User-Agent:
|
61
61
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
62
|
-
|
63
|
-
-
|
62
|
+
Authorization:
|
63
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
64
|
+
Host:
|
65
|
+
- us11.api.mailchimp.com
|
64
66
|
response:
|
65
67
|
status:
|
66
68
|
code: 200
|
@@ -71,22 +73,24 @@ http_interactions:
|
|
71
73
|
Content-Type:
|
72
74
|
- application/json; charset=utf-8
|
73
75
|
Content-Length:
|
74
|
-
- '
|
76
|
+
- '3270'
|
75
77
|
X-Request-Id:
|
76
|
-
-
|
78
|
+
- 3cda2989-c364-4dee-bdd0-94bf46bd3c4e
|
77
79
|
Link:
|
78
|
-
- <https
|
80
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Root.json>; rel="describedBy"
|
79
81
|
Vary:
|
80
82
|
- Accept-Encoding
|
81
83
|
Date:
|
82
|
-
-
|
84
|
+
- Thu, 04 Aug 2016 14:57:20 GMT
|
83
85
|
Connection:
|
84
86
|
- keep-alive
|
87
|
+
Set-Cookie:
|
88
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
85
89
|
body:
|
86
90
|
encoding: ASCII-8BIT
|
87
|
-
string: '{"account_id":"1dbca289fd41b54838bcbb501","account_name":"InSite Arts","contact":{"company":"InSite
|
91
|
+
string: '{"account_id":"1dbca289fd41b54838bcbb501","account_name":"InSite Arts","email":"sam@sayers.cc","username":"samsayers","role":"owner","contact":{"company":"InSite
|
88
92
|
Arts","addr1":"300 Burdett Road","addr2":"London","city":"London","state":"","zip":"E14
|
89
|
-
7DQ","country":"GB"},"last_login":"
|
90
|
-
http_version:
|
91
|
-
recorded_at:
|
92
|
-
recorded_with: VCR
|
93
|
+
7DQ","country":"GB"},"pro_enabled":false,"last_login":"2016-08-04T14:25:25+00:00","total_subscribers":27,"industry_stats":{"open_rate":0.21842484737161,"bounce_rate":0.015938935487191,"click_rate":0.020519217237966},"_links":[{"rel":"self","href":"https://us11.api.mailchimp.com/3.0/","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Root.json"},{"rel":"lists","href":"https://us11.api.mailchimp.com/3.0/lists","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Lists.json"},{"rel":"reports","href":"https://us11.api.mailchimp.com/3.0/reports","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Reports/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Reports.json"},{"rel":"conversations","href":"https://us11.api.mailchimp.com/3.0/conversations","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Conversations/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Conversations.json"},{"rel":"campaigns","href":"https://us11.api.mailchimp.com/3.0/campaigns","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Campaigns/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Campaigns.json"},{"rel":"automations","href":"https://us11.api.mailchimp.com/3.0/automations","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Automations/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Automations.json"},{"rel":"templates","href":"https://us11.api.mailchimp.com/3.0/templates","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Templates/Collection.json","schema":"https://us11.api.mailchimp.com/schema/3.0/CollectionLinks/Templates.json"},{"rel":"file-manager","href":"https://us11.api.mailchimp.com/3.0/file-manager","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/FileManager/Namespace.json"},{"rel":"authorized-apps","href":"https://us11.api.mailchimp.com/3.0/authorized-apps","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/AuthorizedApps/Collection.json"},{"rel":"batches","href":"https://us11.api.mailchimp.com/3.0/batches","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Batches/Collection.json"},{"rel":"template-folders","href":"https://us11.api.mailchimp.com/3.0/template-folders","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/TemplateFolders/Collection.json"},{"rel":"campaign-folders","href":"https://us11.api.mailchimp.com/3.0/campaign-folders","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/CampaignFolders/Collection.json"},{"rel":"ecommerce","href":"https://us11.api.mailchimp.com/3.0/ecommerce","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Ecommerce/Namespace.json"}]}'
|
94
|
+
http_version:
|
95
|
+
recorded_at: Thu, 04 Aug 2016 14:57:20 GMT
|
96
|
+
recorded_with: VCR 3.0.3
|
@@ -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,28 +27,41 @@ http_interactions:
|
|
25
27
|
Content-Type:
|
26
28
|
- application/json; charset=utf-8
|
27
29
|
Content-Length:
|
28
|
-
- '
|
30
|
+
- '4702'
|
29
31
|
X-Request-Id:
|
30
|
-
-
|
32
|
+
- cbb0b337-5618-4b63-8ae0-cfa75c7b3b77
|
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:57:21 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
45
|
string: '{"lists":[{"id":"e73f5910ca","name":"My first list","contact":{"company":"InSite
|
42
46
|
Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"","zip":"E14
|
43
|
-
7DQ","country":"
|
44
|
-
|
45
|
-
|
46
|
-
|
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-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=e73f5910ca","beamer_address":"us11-6692a2b3c3-bcd2a8b144@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":3,"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":"2016-08-04T14:56:19+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
|
51
|
+
list for Xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
|
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-manage1.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-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
|
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:57:21 GMT
|
47
62
|
- request:
|
48
63
|
method: get
|
49
|
-
uri: https
|
64
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
50
65
|
body:
|
51
66
|
encoding: US-ASCII
|
52
67
|
string: ''
|
@@ -55,10 +70,12 @@ http_interactions:
|
|
55
70
|
- "*/*; q=0.5, application/xml"
|
56
71
|
Accept-Encoding:
|
57
72
|
- gzip, deflate
|
58
|
-
Authorization:
|
59
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
60
73
|
User-Agent:
|
61
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
|
62
79
|
response:
|
63
80
|
status:
|
64
81
|
code: 200
|
@@ -69,28 +86,28 @@ http_interactions:
|
|
69
86
|
Content-Type:
|
70
87
|
- application/json; charset=utf-8
|
71
88
|
Content-Length:
|
72
|
-
- '
|
89
|
+
- '1869'
|
73
90
|
X-Request-Id:
|
74
|
-
-
|
91
|
+
- c2afd1d7-0e8c-4c01-b125-5a3e5c48dfb5
|
75
92
|
Link:
|
76
|
-
- <https
|
93
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
77
94
|
rel="describedBy"
|
78
95
|
Vary:
|
79
96
|
- Accept-Encoding
|
80
97
|
Date:
|
81
|
-
-
|
98
|
+
- Thu, 04 Aug 2016 14:57:22 GMT
|
82
99
|
Connection:
|
83
100
|
- keep-alive
|
101
|
+
Set-Cookie:
|
102
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
84
103
|
body:
|
85
104
|
encoding: ASCII-8BIT
|
86
|
-
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":{"
|
87
|
-
|
88
|
-
|
89
|
-
http_version:
|
90
|
-
recorded_at: Tue, 07 Jul 2015 12:05:36 GMT
|
105
|
+
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}'
|
106
|
+
http_version:
|
107
|
+
recorded_at: Thu, 04 Aug 2016 14:57:22 GMT
|
91
108
|
- request:
|
92
109
|
method: get
|
93
|
-
uri: https
|
110
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
94
111
|
body:
|
95
112
|
encoding: US-ASCII
|
96
113
|
string: ''
|
@@ -99,10 +116,12 @@ http_interactions:
|
|
99
116
|
- "*/*; q=0.5, application/xml"
|
100
117
|
Accept-Encoding:
|
101
118
|
- gzip, deflate
|
102
|
-
Authorization:
|
103
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
104
119
|
User-Agent:
|
105
120
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
121
|
+
Authorization:
|
122
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
123
|
+
Host:
|
124
|
+
- us11.api.mailchimp.com
|
106
125
|
response:
|
107
126
|
status:
|
108
127
|
code: 200
|
@@ -113,42 +132,44 @@ http_interactions:
|
|
113
132
|
Content-Type:
|
114
133
|
- application/json; charset=utf-8
|
115
134
|
Content-Length:
|
116
|
-
- '
|
135
|
+
- '1869'
|
117
136
|
X-Request-Id:
|
118
|
-
-
|
137
|
+
- 5c1f07dd-5983-4ad4-ac13-15f6eeadb232
|
119
138
|
Link:
|
120
|
-
- <https
|
139
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
121
140
|
rel="describedBy"
|
122
141
|
Vary:
|
123
142
|
- Accept-Encoding
|
124
143
|
Date:
|
125
|
-
-
|
144
|
+
- Thu, 04 Aug 2016 14:57:22 GMT
|
126
145
|
Connection:
|
127
146
|
- keep-alive
|
147
|
+
Set-Cookie:
|
148
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
128
149
|
body:
|
129
150
|
encoding: ASCII-8BIT
|
130
|
-
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":{"
|
131
|
-
|
132
|
-
|
133
|
-
http_version:
|
134
|
-
recorded_at: Tue, 07 Jul 2015 12:05:37 GMT
|
151
|
+
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}'
|
152
|
+
http_version:
|
153
|
+
recorded_at: Thu, 04 Aug 2016 14:57:22 GMT
|
135
154
|
- request:
|
136
155
|
method: patch
|
137
|
-
uri: https
|
156
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151
|
138
157
|
body:
|
139
158
|
encoding: UTF-8
|
140
|
-
string: '{"merge_fields":{"FNAME":"
|
159
|
+
string: '{"merge_fields":{"FNAME":"Ann","LNAME":"Example"}}'
|
141
160
|
headers:
|
142
161
|
Accept:
|
143
162
|
- "*/*; q=0.5, application/xml"
|
144
163
|
Accept-Encoding:
|
145
164
|
- gzip, deflate
|
146
|
-
Authorization:
|
147
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
148
165
|
User-Agent:
|
149
166
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
167
|
+
Authorization:
|
168
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
150
169
|
Content-Length:
|
151
|
-
- '
|
170
|
+
- '50'
|
171
|
+
Host:
|
172
|
+
- us11.api.mailchimp.com
|
152
173
|
response:
|
153
174
|
status:
|
154
175
|
code: 200
|
@@ -159,40 +180,44 @@ http_interactions:
|
|
159
180
|
Content-Type:
|
160
181
|
- application/json; charset=utf-8
|
161
182
|
Content-Length:
|
162
|
-
- '
|
183
|
+
- '2391'
|
163
184
|
X-Request-Id:
|
164
|
-
-
|
185
|
+
- af4c67d1-b7b1-4f19-8f73-0c83c2569612
|
165
186
|
Link:
|
166
|
-
- <https
|
187
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
|
188
|
+
<https://us11.admin.mailchimp.com/lists/members/view?id=53829821>; rel="dashboard"
|
167
189
|
Vary:
|
168
190
|
- Accept-Encoding
|
169
191
|
Date:
|
170
|
-
-
|
192
|
+
- Thu, 04 Aug 2016 14:57:22 GMT
|
171
193
|
Connection:
|
172
194
|
- keep-alive
|
195
|
+
Set-Cookie:
|
196
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
173
197
|
body:
|
174
198
|
encoding: ASCII-8BIT
|
175
|
-
string: '{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"
|
176
|
-
|
177
|
-
|
178
|
-
recorded_at: Tue, 07 Jul 2015 12:05:57 GMT
|
199
|
+
string: '{"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":"2016-08-04T14:57:22+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/140b91c107d2058dee730e75be0b1151","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/140b91c107d2058dee730e75be0b1151","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/140b91c107d2058dee730e75be0b1151","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/140b91c107d2058dee730e75be0b1151","method":"DELETE"},{"rel":"activity","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/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/140b91c107d2058dee730e75be0b1151/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/140b91c107d2058dee730e75be0b1151/notes","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
|
200
|
+
http_version:
|
201
|
+
recorded_at: Thu, 04 Aug 2016 14:57:22 GMT
|
179
202
|
- request:
|
180
203
|
method: patch
|
181
|
-
uri: https
|
204
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151
|
182
205
|
body:
|
183
206
|
encoding: UTF-8
|
184
|
-
string: '{"merge_fields":{"FNAME":"
|
207
|
+
string: '{"merge_fields":{"FNAME":"Billy","LNAME":"Bonkers"}}'
|
185
208
|
headers:
|
186
209
|
Accept:
|
187
210
|
- "*/*; q=0.5, application/xml"
|
188
211
|
Accept-Encoding:
|
189
212
|
- gzip, deflate
|
190
|
-
Authorization:
|
191
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
192
213
|
User-Agent:
|
193
214
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
215
|
+
Authorization:
|
216
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
194
217
|
Content-Length:
|
195
|
-
- '
|
218
|
+
- '52'
|
219
|
+
Host:
|
220
|
+
- us11.api.mailchimp.com
|
196
221
|
response:
|
197
222
|
status:
|
198
223
|
code: 200
|
@@ -203,40 +228,44 @@ http_interactions:
|
|
203
228
|
Content-Type:
|
204
229
|
- application/json; charset=utf-8
|
205
230
|
Content-Length:
|
206
|
-
- '
|
231
|
+
- '2393'
|
207
232
|
X-Request-Id:
|
208
|
-
-
|
233
|
+
- 9acf856c-e380-41dc-93f0-66b27924f5ee
|
209
234
|
Link:
|
210
|
-
- <https
|
235
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
|
236
|
+
<https://us11.admin.mailchimp.com/lists/members/view?id=53829821>; rel="dashboard"
|
211
237
|
Vary:
|
212
238
|
- Accept-Encoding
|
213
239
|
Date:
|
214
|
-
-
|
240
|
+
- Thu, 04 Aug 2016 14:57:22 GMT
|
215
241
|
Connection:
|
216
242
|
- keep-alive
|
243
|
+
Set-Cookie:
|
244
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
217
245
|
body:
|
218
246
|
encoding: ASCII-8BIT
|
219
|
-
string: '{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"
|
220
|
-
|
221
|
-
|
222
|
-
recorded_at: Tue, 07 Jul 2015 12:05:57 GMT
|
247
|
+
string: '{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Billy","LNAME":"Bonkers"},"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":"2016-08-04T14:57:22+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/140b91c107d2058dee730e75be0b1151","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/140b91c107d2058dee730e75be0b1151","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/140b91c107d2058dee730e75be0b1151","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/140b91c107d2058dee730e75be0b1151","method":"DELETE"},{"rel":"activity","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/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/140b91c107d2058dee730e75be0b1151/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/140b91c107d2058dee730e75be0b1151/notes","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
|
248
|
+
http_version:
|
249
|
+
recorded_at: Thu, 04 Aug 2016 14:57:22 GMT
|
223
250
|
- request:
|
224
251
|
method: patch
|
225
|
-
uri: https
|
252
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151
|
226
253
|
body:
|
227
254
|
encoding: UTF-8
|
228
|
-
string: '{"merge_fields":{"FNAME":"
|
255
|
+
string: '{"merge_fields":{"FNAME":"William"}}'
|
229
256
|
headers:
|
230
257
|
Accept:
|
231
258
|
- "*/*; q=0.5, application/xml"
|
232
259
|
Accept-Encoding:
|
233
260
|
- gzip, deflate
|
234
|
-
Authorization:
|
235
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
236
261
|
User-Agent:
|
237
262
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
263
|
+
Authorization:
|
264
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
238
265
|
Content-Length:
|
239
|
-
- '
|
266
|
+
- '36'
|
267
|
+
Host:
|
268
|
+
- us11.api.mailchimp.com
|
240
269
|
response:
|
241
270
|
status:
|
242
271
|
code: 200
|
@@ -247,21 +276,23 @@ http_interactions:
|
|
247
276
|
Content-Type:
|
248
277
|
- application/json; charset=utf-8
|
249
278
|
Content-Length:
|
250
|
-
- '
|
279
|
+
- '2395'
|
251
280
|
X-Request-Id:
|
252
|
-
-
|
281
|
+
- 40c32c27-d128-4e08-94a7-08e3464c3eb9
|
253
282
|
Link:
|
254
|
-
- <https
|
283
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
|
284
|
+
<https://us11.admin.mailchimp.com/lists/members/view?id=53829821>; rel="dashboard"
|
255
285
|
Vary:
|
256
286
|
- Accept-Encoding
|
257
287
|
Date:
|
258
|
-
-
|
288
|
+
- Thu, 04 Aug 2016 14:57:23 GMT
|
259
289
|
Connection:
|
260
290
|
- keep-alive
|
291
|
+
Set-Cookie:
|
292
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
261
293
|
body:
|
262
294
|
encoding: ASCII-8BIT
|
263
|
-
string: '{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
recorded_with: VCR 2.9.3
|
295
|
+
string: '{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"William","LNAME":"Bonkers"},"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":"2016-08-04T14:57:23+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/140b91c107d2058dee730e75be0b1151","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/140b91c107d2058dee730e75be0b1151","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/140b91c107d2058dee730e75be0b1151","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/140b91c107d2058dee730e75be0b1151","method":"DELETE"},{"rel":"activity","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/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/140b91c107d2058dee730e75be0b1151/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/140b91c107d2058dee730e75be0b1151/notes","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
|
296
|
+
http_version:
|
297
|
+
recorded_at: Thu, 04 Aug 2016 14:57:23 GMT
|
298
|
+
recorded_with: VCR 3.0.3
|
@@ -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
|
+
- '4702'
|
29
31
|
X-Request-Id:
|
30
|
-
-
|
32
|
+
- 709c72ea-d093-4ea6-8135-fb29d2da7cab
|
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
|
-
- Thu,
|
38
|
+
- Thu, 04 Aug 2016 14:43:52 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-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
|
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:52 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
|
+
- '4703'
|
77
90
|
X-Request-Id:
|
78
|
-
-
|
91
|
+
- 0b84ca4b-d69c-45a4-ab89-ae996994b07b
|
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
|
-
- Thu,
|
97
|
+
- Thu, 04 Aug 2016 14:43:53 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-manage1.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-manage1.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:53 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
|
+
- b965a8f4-8bdb-43ba-921e-93fcad9a6e9a
|
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
|
-
- Thu,
|
157
|
+
- Thu, 04 Aug 2016 14:43:53 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: Thu,
|
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:53 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
|
+
- 99c3a824-e7e5-4246-a53f-3972bf26a3bb
|
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
|
-
- Thu,
|
203
|
+
- Thu, 04 Aug 2016 14:43:53 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: Thu,
|
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:53 GMT
|
183
213
|
- request:
|
184
214
|
method: post
|
185
|
-
uri: https
|
215
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members
|
186
216
|
body:
|
187
217
|
encoding: UTF-8
|
188
218
|
string: '{"merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"email_address":"cat@sayers.cc","status":"subscribed"}'
|
@@ -191,12 +221,14 @@ 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
|
198
228
|
Content-Length:
|
199
229
|
- '103'
|
230
|
+
Host:
|
231
|
+
- us11.api.mailchimp.com
|
200
232
|
response:
|
201
233
|
status:
|
202
234
|
code: 200
|
@@ -207,25 +239,28 @@ http_interactions:
|
|
207
239
|
Content-Type:
|
208
240
|
- application/json; charset=utf-8
|
209
241
|
Content-Length:
|
210
|
-
- '
|
242
|
+
- '2390'
|
211
243
|
X-Request-Id:
|
212
|
-
-
|
244
|
+
- 9833c053-64a1-40c8-bb57-e6d507b3f5d4
|
213
245
|
Link:
|
214
|
-
- <https
|
246
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
|
247
|
+
<https://us11.admin.mailchimp.com/lists/members/view?id=66329425>; rel="dashboard"
|
215
248
|
Vary:
|
216
249
|
- Accept-Encoding
|
217
250
|
Date:
|
218
|
-
- Thu,
|
251
|
+
- Thu, 04 Aug 2016 14:43:53 GMT
|
219
252
|
Connection:
|
220
253
|
- keep-alive
|
254
|
+
Set-Cookie:
|
255
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
221
256
|
body:
|
222
257
|
encoding: ASCII-8BIT
|
223
|
-
string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"
|
224
|
-
http_version:
|
225
|
-
recorded_at: Thu,
|
258
|
+
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:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+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"}]}'
|
259
|
+
http_version:
|
260
|
+
recorded_at: Thu, 04 Aug 2016 14:43:53 GMT
|
226
261
|
- request:
|
227
262
|
method: get
|
228
|
-
uri: https
|
263
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
229
264
|
body:
|
230
265
|
encoding: US-ASCII
|
231
266
|
string: ''
|
@@ -234,10 +269,12 @@ http_interactions:
|
|
234
269
|
- "*/*; q=0.5, application/xml"
|
235
270
|
Accept-Encoding:
|
236
271
|
- gzip, deflate
|
237
|
-
Authorization:
|
238
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
239
272
|
User-Agent:
|
240
273
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
274
|
+
Authorization:
|
275
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
276
|
+
Host:
|
277
|
+
- us11.api.mailchimp.com
|
241
278
|
response:
|
242
279
|
status:
|
243
280
|
code: 200
|
@@ -250,24 +287,26 @@ http_interactions:
|
|
250
287
|
Content-Length:
|
251
288
|
- '1863'
|
252
289
|
X-Request-Id:
|
253
|
-
-
|
290
|
+
- 830d635a-63ac-4c36-81f4-03c6184e0cac
|
254
291
|
Link:
|
255
|
-
- <https
|
292
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
256
293
|
rel="describedBy"
|
257
294
|
Vary:
|
258
295
|
- Accept-Encoding
|
259
296
|
Date:
|
260
|
-
- Thu,
|
297
|
+
- Thu, 04 Aug 2016 14:43:54 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: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"
|
266
|
-
http_version:
|
267
|
-
recorded_at: Thu,
|
304
|
+
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:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+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}'
|
305
|
+
http_version:
|
306
|
+
recorded_at: Thu, 04 Aug 2016 14:43:54 GMT
|
268
307
|
- request:
|
269
308
|
method: post
|
270
|
-
uri: https
|
309
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members
|
271
310
|
body:
|
272
311
|
encoding: UTF-8
|
273
312
|
string: '{"merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"email_address":"cat@sayers.cc","status":"subscribed"}'
|
@@ -276,12 +315,14 @@ 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
|
283
322
|
Content-Length:
|
284
323
|
- '103'
|
324
|
+
Host:
|
325
|
+
- us11.api.mailchimp.com
|
285
326
|
response:
|
286
327
|
status:
|
287
328
|
code: 400
|
@@ -292,27 +333,29 @@ http_interactions:
|
|
292
333
|
Content-Type:
|
293
334
|
- application/problem+json; charset=utf-8
|
294
335
|
Content-Length:
|
295
|
-
- '
|
336
|
+
- '219'
|
296
337
|
X-Request-Id:
|
297
|
-
-
|
338
|
+
- 9e412445-899b-4341-85c0-0907ee2a7c0f
|
298
339
|
Link:
|
299
|
-
- <https
|
340
|
+
- <https://us11.api.mailchimp.com/schema/3.0/ProblemDetailDocument.json>; rel="describedBy"
|
300
341
|
Vary:
|
301
342
|
- Accept-Encoding
|
302
343
|
Date:
|
303
|
-
- Thu,
|
344
|
+
- Thu, 04 Aug 2016 14:43:54 GMT
|
304
345
|
Connection:
|
305
346
|
- close
|
347
|
+
Set-Cookie:
|
348
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
306
349
|
body:
|
307
350
|
encoding: ASCII-8BIT
|
308
|
-
string: '{"type":"http://
|
309
|
-
|
310
|
-
|
311
|
-
http_version:
|
312
|
-
recorded_at: Thu,
|
351
|
+
string: '{"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Member
|
352
|
+
Exists","status":400,"detail":" is already a list member. Use PUT to insert
|
353
|
+
or update list members.","instance":""}'
|
354
|
+
http_version:
|
355
|
+
recorded_at: Thu, 04 Aug 2016 14:43:54 GMT
|
313
356
|
- request:
|
314
357
|
method: get
|
315
|
-
uri: https
|
358
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
316
359
|
body:
|
317
360
|
encoding: US-ASCII
|
318
361
|
string: ''
|
@@ -321,10 +364,12 @@ http_interactions:
|
|
321
364
|
- "*/*; q=0.5, application/xml"
|
322
365
|
Accept-Encoding:
|
323
366
|
- gzip, deflate
|
324
|
-
Authorization:
|
325
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
326
367
|
User-Agent:
|
327
368
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
369
|
+
Authorization:
|
370
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
371
|
+
Host:
|
372
|
+
- us11.api.mailchimp.com
|
328
373
|
response:
|
329
374
|
status:
|
330
375
|
code: 200
|
@@ -337,24 +382,26 @@ http_interactions:
|
|
337
382
|
Content-Length:
|
338
383
|
- '1863'
|
339
384
|
X-Request-Id:
|
340
|
-
-
|
385
|
+
- 6d3c2431-c2e7-4ecb-91ca-0ddda78cfbdf
|
341
386
|
Link:
|
342
|
-
- <https
|
387
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
343
388
|
rel="describedBy"
|
344
389
|
Vary:
|
345
390
|
- Accept-Encoding
|
346
391
|
Date:
|
347
|
-
- Thu,
|
392
|
+
- Thu, 04 Aug 2016 14:43:54 GMT
|
348
393
|
Connection:
|
349
394
|
- keep-alive
|
395
|
+
Set-Cookie:
|
396
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
350
397
|
body:
|
351
398
|
encoding: ASCII-8BIT
|
352
|
-
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":{"
|
353
|
-
http_version:
|
354
|
-
recorded_at: Thu,
|
399
|
+
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:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+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}'
|
400
|
+
http_version:
|
401
|
+
recorded_at: Thu, 04 Aug 2016 14:43:54 GMT
|
355
402
|
- request:
|
356
403
|
method: get
|
357
|
-
uri: https
|
404
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
358
405
|
body:
|
359
406
|
encoding: US-ASCII
|
360
407
|
string: ''
|
@@ -363,10 +410,12 @@ http_interactions:
|
|
363
410
|
- "*/*; q=0.5, application/xml"
|
364
411
|
Accept-Encoding:
|
365
412
|
- gzip, deflate
|
366
|
-
Authorization:
|
367
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
368
413
|
User-Agent:
|
369
414
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
415
|
+
Authorization:
|
416
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
417
|
+
Host:
|
418
|
+
- us11.api.mailchimp.com
|
370
419
|
response:
|
371
420
|
status:
|
372
421
|
code: 200
|
@@ -379,24 +428,26 @@ http_interactions:
|
|
379
428
|
Content-Length:
|
380
429
|
- '1863'
|
381
430
|
X-Request-Id:
|
382
|
-
-
|
431
|
+
- 23f55636-0e8f-4c19-b5ae-79cd6603c66e
|
383
432
|
Link:
|
384
|
-
- <https
|
433
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
385
434
|
rel="describedBy"
|
386
435
|
Vary:
|
387
436
|
- Accept-Encoding
|
388
437
|
Date:
|
389
|
-
- Thu,
|
438
|
+
- Thu, 04 Aug 2016 14:43:54 GMT
|
390
439
|
Connection:
|
391
440
|
- keep-alive
|
441
|
+
Set-Cookie:
|
442
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
392
443
|
body:
|
393
444
|
encoding: ASCII-8BIT
|
394
|
-
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":{"
|
395
|
-
http_version:
|
396
|
-
recorded_at: Thu,
|
445
|
+
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:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+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}'
|
446
|
+
http_version:
|
447
|
+
recorded_at: Thu, 04 Aug 2016 14:43:54 GMT
|
397
448
|
- request:
|
398
449
|
method: get
|
399
|
-
uri: https
|
450
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
400
451
|
body:
|
401
452
|
encoding: US-ASCII
|
402
453
|
string: ''
|
@@ -405,10 +456,12 @@ http_interactions:
|
|
405
456
|
- "*/*; q=0.5, application/xml"
|
406
457
|
Accept-Encoding:
|
407
458
|
- gzip, deflate
|
408
|
-
Authorization:
|
409
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
410
459
|
User-Agent:
|
411
460
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
461
|
+
Authorization:
|
462
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
463
|
+
Host:
|
464
|
+
- us11.api.mailchimp.com
|
412
465
|
response:
|
413
466
|
status:
|
414
467
|
code: 200
|
@@ -421,24 +474,26 @@ http_interactions:
|
|
421
474
|
Content-Length:
|
422
475
|
- '1863'
|
423
476
|
X-Request-Id:
|
424
|
-
-
|
477
|
+
- a86d56b8-8b43-4c05-9434-d8c97dfd3684
|
425
478
|
Link:
|
426
|
-
- <https
|
479
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
427
480
|
rel="describedBy"
|
428
481
|
Vary:
|
429
482
|
- Accept-Encoding
|
430
483
|
Date:
|
431
|
-
- Thu,
|
484
|
+
- Thu, 04 Aug 2016 14:43:55 GMT
|
432
485
|
Connection:
|
433
486
|
- keep-alive
|
487
|
+
Set-Cookie:
|
488
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
434
489
|
body:
|
435
490
|
encoding: ASCII-8BIT
|
436
|
-
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":{"
|
437
|
-
http_version:
|
438
|
-
recorded_at: Thu,
|
491
|
+
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:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+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}'
|
492
|
+
http_version:
|
493
|
+
recorded_at: Thu, 04 Aug 2016 14:43:55 GMT
|
439
494
|
- request:
|
440
495
|
method: get
|
441
|
-
uri: https
|
496
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
442
497
|
body:
|
443
498
|
encoding: US-ASCII
|
444
499
|
string: ''
|
@@ -447,10 +502,12 @@ http_interactions:
|
|
447
502
|
- "*/*; q=0.5, application/xml"
|
448
503
|
Accept-Encoding:
|
449
504
|
- gzip, deflate
|
450
|
-
Authorization:
|
451
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
452
505
|
User-Agent:
|
453
506
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
507
|
+
Authorization:
|
508
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
509
|
+
Host:
|
510
|
+
- us11.api.mailchimp.com
|
454
511
|
response:
|
455
512
|
status:
|
456
513
|
code: 200
|
@@ -463,24 +520,26 @@ http_interactions:
|
|
463
520
|
Content-Length:
|
464
521
|
- '1863'
|
465
522
|
X-Request-Id:
|
466
|
-
-
|
523
|
+
- 876e2102-2568-4b9c-b87c-e8b4a06c2ce2
|
467
524
|
Link:
|
468
|
-
- <https
|
525
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
469
526
|
rel="describedBy"
|
470
527
|
Vary:
|
471
528
|
- Accept-Encoding
|
472
529
|
Date:
|
473
|
-
- Thu,
|
530
|
+
- Thu, 04 Aug 2016 14:43:55 GMT
|
474
531
|
Connection:
|
475
532
|
- keep-alive
|
533
|
+
Set-Cookie:
|
534
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
476
535
|
body:
|
477
536
|
encoding: ASCII-8BIT
|
478
|
-
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":{"
|
479
|
-
http_version:
|
480
|
-
recorded_at: Thu,
|
537
|
+
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:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+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}'
|
538
|
+
http_version:
|
539
|
+
recorded_at: Thu, 04 Aug 2016 14:43:55 GMT
|
481
540
|
- request:
|
482
541
|
method: get
|
483
|
-
uri: https
|
542
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
484
543
|
body:
|
485
544
|
encoding: US-ASCII
|
486
545
|
string: ''
|
@@ -489,10 +548,12 @@ http_interactions:
|
|
489
548
|
- "*/*; q=0.5, application/xml"
|
490
549
|
Accept-Encoding:
|
491
550
|
- gzip, deflate
|
492
|
-
Authorization:
|
493
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
494
551
|
User-Agent:
|
495
552
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
553
|
+
Authorization:
|
554
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
555
|
+
Host:
|
556
|
+
- us11.api.mailchimp.com
|
496
557
|
response:
|
497
558
|
status:
|
498
559
|
code: 200
|
@@ -505,24 +566,26 @@ http_interactions:
|
|
505
566
|
Content-Length:
|
506
567
|
- '1863'
|
507
568
|
X-Request-Id:
|
508
|
-
-
|
569
|
+
- 00677a37-0460-4485-98c8-93dd24f98665
|
509
570
|
Link:
|
510
|
-
- <https
|
571
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
511
572
|
rel="describedBy"
|
512
573
|
Vary:
|
513
574
|
- Accept-Encoding
|
514
575
|
Date:
|
515
|
-
- Thu,
|
576
|
+
- Thu, 04 Aug 2016 14:43:55 GMT
|
516
577
|
Connection:
|
517
578
|
- keep-alive
|
579
|
+
Set-Cookie:
|
580
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
518
581
|
body:
|
519
582
|
encoding: ASCII-8BIT
|
520
|
-
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":{"
|
521
|
-
http_version:
|
522
|
-
recorded_at: Thu,
|
583
|
+
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:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+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}'
|
584
|
+
http_version:
|
585
|
+
recorded_at: Thu, 04 Aug 2016 14:43:55 GMT
|
523
586
|
- request:
|
524
587
|
method: delete
|
525
|
-
uri: https
|
588
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb
|
526
589
|
body:
|
527
590
|
encoding: US-ASCII
|
528
591
|
string: ''
|
@@ -531,10 +594,12 @@ http_interactions:
|
|
531
594
|
- "*/*; q=0.5, application/xml"
|
532
595
|
Accept-Encoding:
|
533
596
|
- gzip, deflate
|
534
|
-
Authorization:
|
535
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
536
597
|
User-Agent:
|
537
598
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
599
|
+
Authorization:
|
600
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
601
|
+
Host:
|
602
|
+
- us11.api.mailchimp.com
|
538
603
|
response:
|
539
604
|
status:
|
540
605
|
code: 204
|
@@ -545,21 +610,23 @@ http_interactions:
|
|
545
610
|
Content-Type:
|
546
611
|
- application/json; charset=utf-8
|
547
612
|
Content-Length:
|
548
|
-
- '
|
613
|
+
- '0'
|
549
614
|
X-Request-Id:
|
550
|
-
-
|
615
|
+
- 317df8c1-63fb-4faf-8d9b-5aa025cdfb61
|
551
616
|
Date:
|
552
|
-
- Thu,
|
617
|
+
- Thu, 04 Aug 2016 14:43:55 GMT
|
553
618
|
Connection:
|
554
619
|
- keep-alive
|
620
|
+
Set-Cookie:
|
621
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
555
622
|
body:
|
556
623
|
encoding: UTF-8
|
557
624
|
string: ''
|
558
|
-
http_version:
|
559
|
-
recorded_at: Thu,
|
625
|
+
http_version:
|
626
|
+
recorded_at: Thu, 04 Aug 2016 14:43:55 GMT
|
560
627
|
- request:
|
561
628
|
method: get
|
562
|
-
uri: https
|
629
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
563
630
|
body:
|
564
631
|
encoding: US-ASCII
|
565
632
|
string: ''
|
@@ -568,10 +635,12 @@ http_interactions:
|
|
568
635
|
- "*/*; q=0.5, application/xml"
|
569
636
|
Accept-Encoding:
|
570
637
|
- gzip, deflate
|
571
|
-
Authorization:
|
572
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
573
638
|
User-Agent:
|
574
639
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
640
|
+
Authorization:
|
641
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
642
|
+
Host:
|
643
|
+
- us11.api.mailchimp.com
|
575
644
|
response:
|
576
645
|
status:
|
577
646
|
code: 200
|
@@ -584,24 +653,26 @@ http_interactions:
|
|
584
653
|
Content-Length:
|
585
654
|
- '1260'
|
586
655
|
X-Request-Id:
|
587
|
-
-
|
656
|
+
- 383127e2-76ff-4f6b-aaa8-1fdc359b0fd8
|
588
657
|
Link:
|
589
|
-
- <https
|
658
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
590
659
|
rel="describedBy"
|
591
660
|
Vary:
|
592
661
|
- Accept-Encoding
|
593
662
|
Date:
|
594
|
-
- Thu,
|
663
|
+
- Thu, 04 Aug 2016 14:43:56 GMT
|
595
664
|
Connection:
|
596
665
|
- keep-alive
|
666
|
+
Set-Cookie:
|
667
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
597
668
|
body:
|
598
669
|
encoding: ASCII-8BIT
|
599
|
-
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":{"
|
600
|
-
http_version:
|
601
|
-
recorded_at: Thu,
|
670
|
+
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}'
|
671
|
+
http_version:
|
672
|
+
recorded_at: Thu, 04 Aug 2016 14:43:56 GMT
|
602
673
|
- request:
|
603
674
|
method: get
|
604
|
-
uri: https
|
675
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
|
605
676
|
body:
|
606
677
|
encoding: US-ASCII
|
607
678
|
string: ''
|
@@ -610,10 +681,12 @@ http_interactions:
|
|
610
681
|
- "*/*; q=0.5, application/xml"
|
611
682
|
Accept-Encoding:
|
612
683
|
- gzip, deflate
|
613
|
-
Authorization:
|
614
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
615
684
|
User-Agent:
|
616
685
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
686
|
+
Authorization:
|
687
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
688
|
+
Host:
|
689
|
+
- us11.api.mailchimp.com
|
617
690
|
response:
|
618
691
|
status:
|
619
692
|
code: 200
|
@@ -626,24 +699,26 @@ http_interactions:
|
|
626
699
|
Content-Length:
|
627
700
|
- '1260'
|
628
701
|
X-Request-Id:
|
629
|
-
-
|
702
|
+
- aa66419b-a893-4424-a5d0-71f972ca21a0
|
630
703
|
Link:
|
631
|
-
- <https
|
704
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
|
632
705
|
rel="describedBy"
|
633
706
|
Vary:
|
634
707
|
- Accept-Encoding
|
635
708
|
Date:
|
636
|
-
- Thu,
|
709
|
+
- Thu, 04 Aug 2016 14:43:56 GMT
|
637
710
|
Connection:
|
638
711
|
- keep-alive
|
712
|
+
Set-Cookie:
|
713
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
639
714
|
body:
|
640
715
|
encoding: ASCII-8BIT
|
641
|
-
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":{"
|
642
|
-
http_version:
|
643
|
-
recorded_at: Thu,
|
716
|
+
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}'
|
717
|
+
http_version:
|
718
|
+
recorded_at: Thu, 04 Aug 2016 14:43:56 GMT
|
644
719
|
- request:
|
645
720
|
method: post
|
646
|
-
uri: https
|
721
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members
|
647
722
|
body:
|
648
723
|
encoding: UTF-8
|
649
724
|
string: '{"merge_fields":{"FNAME":"Dan","LNAME":"Sayers"},"email_address":"dan@sayers.cc","status":"subscribed"}'
|
@@ -652,12 +727,14 @@ http_interactions:
|
|
652
727
|
- "*/*; q=0.5, application/xml"
|
653
728
|
Accept-Encoding:
|
654
729
|
- gzip, deflate
|
655
|
-
Authorization:
|
656
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
657
730
|
User-Agent:
|
658
731
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
732
|
+
Authorization:
|
733
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
659
734
|
Content-Length:
|
660
735
|
- '103'
|
736
|
+
Host:
|
737
|
+
- us11.api.mailchimp.com
|
661
738
|
response:
|
662
739
|
status:
|
663
740
|
code: 200
|
@@ -668,25 +745,28 @@ http_interactions:
|
|
668
745
|
Content-Type:
|
669
746
|
- application/json; charset=utf-8
|
670
747
|
Content-Length:
|
671
|
-
- '
|
748
|
+
- '2390'
|
672
749
|
X-Request-Id:
|
673
|
-
-
|
750
|
+
- 38f638cb-16d8-44d8-ac2a-c96381417004
|
674
751
|
Link:
|
675
|
-
- <https
|
752
|
+
- <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
|
753
|
+
<https://us11.admin.mailchimp.com/lists/members/view?id=180041613>; rel="dashboard"
|
676
754
|
Vary:
|
677
755
|
- Accept-Encoding
|
678
756
|
Date:
|
679
|
-
- Thu,
|
757
|
+
- Thu, 04 Aug 2016 14:43:56 GMT
|
680
758
|
Connection:
|
681
759
|
- keep-alive
|
760
|
+
Set-Cookie:
|
761
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
682
762
|
body:
|
683
763
|
encoding: ASCII-8BIT
|
684
|
-
string: '{"id":"f13a19513506757bac3b57e4c01a68fe","email_address":"dan@sayers.cc","unique_email_id":"4e8808dbf8","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Dan","LNAME":"Sayers"},"interests":{"
|
685
|
-
http_version:
|
686
|
-
recorded_at: Thu,
|
764
|
+
string: '{"id":"f13a19513506757bac3b57e4c01a68fe","email_address":"dan@sayers.cc","unique_email_id":"4e8808dbf8","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Dan","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:43:56+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:56+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/f13a19513506757bac3b57e4c01a68fe","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/f13a19513506757bac3b57e4c01a68fe","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/f13a19513506757bac3b57e4c01a68fe","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/f13a19513506757bac3b57e4c01a68fe","method":"DELETE"},{"rel":"activity","href":"https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/f13a19513506757bac3b57e4c01a68fe/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/f13a19513506757bac3b57e4c01a68fe/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/f13a19513506757bac3b57e4c01a68fe/notes","method":"GET","targetSchema":"https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
|
765
|
+
http_version:
|
766
|
+
recorded_at: Thu, 04 Aug 2016 14:43:56 GMT
|
687
767
|
- request:
|
688
768
|
method: delete
|
689
|
-
uri: https
|
769
|
+
uri: https://us11.api.mailchimp.com/3.0/lists/e73f5910ca/members/f13a19513506757bac3b57e4c01a68fe
|
690
770
|
body:
|
691
771
|
encoding: US-ASCII
|
692
772
|
string: ''
|
@@ -695,10 +775,12 @@ http_interactions:
|
|
695
775
|
- "*/*; q=0.5, application/xml"
|
696
776
|
Accept-Encoding:
|
697
777
|
- gzip, deflate
|
698
|
-
Authorization:
|
699
|
-
- apikey <%= ENV['MAILCHIMP_API_KEY'] %>
|
700
778
|
User-Agent:
|
701
779
|
- Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
|
780
|
+
Authorization:
|
781
|
+
- apikey 4e17ffe30d01da94c1615c4b587b3732-us11
|
782
|
+
Host:
|
783
|
+
- us11.api.mailchimp.com
|
702
784
|
response:
|
703
785
|
status:
|
704
786
|
code: 204
|
@@ -709,16 +791,18 @@ http_interactions:
|
|
709
791
|
Content-Type:
|
710
792
|
- application/json; charset=utf-8
|
711
793
|
Content-Length:
|
712
|
-
- '
|
794
|
+
- '0'
|
713
795
|
X-Request-Id:
|
714
|
-
-
|
796
|
+
- 6bd368a8-aa47-4fa7-ba37-14641abbed9c
|
715
797
|
Date:
|
716
|
-
- Thu,
|
798
|
+
- Thu, 04 Aug 2016 14:43:56 GMT
|
717
799
|
Connection:
|
718
800
|
- keep-alive
|
801
|
+
Set-Cookie:
|
802
|
+
- _AVESTA_ENVIRONMENT=prod; path=/
|
719
803
|
body:
|
720
804
|
encoding: UTF-8
|
721
805
|
string: ''
|
722
|
-
http_version:
|
723
|
-
recorded_at: Thu,
|
724
|
-
recorded_with: VCR
|
806
|
+
http_version:
|
807
|
+
recorded_at: Thu, 04 Aug 2016 14:43:56 GMT
|
808
|
+
recorded_with: VCR 3.0.3
|