access 2.0.41 → 2.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/access/campaign.rb +2 -0
- data/lib/access/filter.rb +0 -7
- data/lib/access/response.rb +4 -4
- data/lib/access/version.rb +1 -1
- data/test/access/campaign_test.rb +11 -9
- data/test/access/channel_test.rb +1 -0
- data/test/access/filter_test.rb +0 -4
- data/test/access/spot_test.rb +4 -7
- data/test/vcr/cassettes/all_usage.yml +36 -44
- data/test/vcr/cassettes/autocomplete_search.yml +49 -48
- data/test/vcr/cassettes/autocomplete_search_categories.yml +26 -26
- data/test/vcr/cassettes/autocomplete_search_locations.yml +26 -26
- data/test/vcr/cassettes/autocomplete_search_offers.yml +29 -29
- data/test/vcr/cassettes/autocomplete_search_stores.yml +27 -27
- data/test/vcr/cassettes/campaign_find.yml +182 -5526
- data/test/vcr/cassettes/campaign_search.yml +1206 -5525
- data/test/vcr/cassettes/category_find.yml +32 -26
- data/test/vcr/cassettes/category_search.yml +51 -51
- data/test/vcr/cassettes/category_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/channel_find.yml +7 -4
- data/test/vcr/cassettes/channel_search.yml +17 -15
- data/test/vcr/cassettes/filter_find.yml +131 -25
- data/test/vcr/cassettes/filter_search.yml +29 -31
- data/test/vcr/cassettes/find_redemption_by_member_key.yml +34 -34
- data/test/vcr/cassettes/location_find.yml +459 -438
- data/test/vcr/cassettes/location_search.yml +93 -84
- data/test/vcr/cassettes/location_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/member_location_recent.yml +4 -8
- data/test/vcr/cassettes/member_query_frequent.yml +4 -8
- data/test/vcr/cassettes/member_query_recent.yml +4 -8
- data/test/vcr/cassettes/member_show_failure.yml +3 -3
- data/test/vcr/cassettes/member_show_success.yml +4 -4
- data/test/vcr/cassettes/member_update_success.yml +4 -139
- data/test/vcr/cassettes/national_stores.yml +1775 -1827
- data/test/vcr/cassettes/oauth_application_find.yml +34 -35
- data/test/vcr/cassettes/oauth_application_search.yml +36 -37
- data/test/vcr/cassettes/oauth_application_token_find.yml +46 -47
- data/test/vcr/cassettes/oauth_application_token_search.yml +47 -48
- data/test/vcr/cassettes/offer_find.yml +117 -108
- data/test/vcr/cassettes/offer_find_uses_remaining.yml +8 -8
- data/test/vcr/cassettes/offer_find_with_offer_uses_remaining.yml +97 -95
- data/test/vcr/cassettes/offer_search.yml +113 -113
- data/test/vcr/cassettes/offer_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/offer_with_aggregations.yml +843 -844
- data/test/vcr/cassettes/redeem_offer_no_redeem_type.yml +4 -4
- data/test/vcr/cassettes/redeem_offer_with_redeem_type.yml +6 -6
- data/test/vcr/cassettes/redeem_offer_with_redeem_type_for_uses_remaining_test.yml +5 -5
- data/test/vcr/cassettes/search_redemption_by_member_key.yml +101 -101
- data/test/vcr/cassettes/search_redemption_by_member_key_without_redemptions.yml +27 -27
- data/test/vcr/cassettes/spot_find.yml +9 -7
- data/test/vcr/cassettes/spot_search_by_campaign.yml +2901 -235
- data/test/vcr/cassettes/spot_search_by_channel.yml +1142 -238
- data/test/vcr/cassettes/store_find.yml +32 -26
- data/test/vcr/cassettes/store_search.yml +28 -28
- data/test/vcr/cassettes/store_search_fail_member_key.yml +24 -24
- data/test/vcr/cassettes/subcategory_find.yml +32 -26
- data/test/vcr/cassettes/token_find.yml +54 -48
- data/test/vcr/cassettes/token_get_first_token.yml +56 -50
- data/test/vcr/cassettes/token_search.yml +56 -50
- data/test/vcr/cassettes/usage.yml +36 -44
- data/test/vcr/cassettes/usage_other.yml +36 -44
- data/test/vcr/cassettes/user_register_failure.yml +3 -3
- data/test/vcr/cassettes/user_update_success.yml +4 -4
- data/test/vcr/cassettes/verify_filter.yml +37 -37
- data/test/vcr/cassettes/verify_token.yml +31 -27
- metadata +2 -4
- data/test/vcr/cassettes/offer_uses_remaining.yml +0 -307
@@ -18,42 +18,48 @@ http_interactions:
|
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Server:
|
22
|
+
- nginx/1.8.0
|
23
|
+
Date:
|
24
|
+
- Thu, 21 Jan 2016 18:34:25 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
X-Xss-Protection:
|
34
|
+
- 1; mode=block
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
23
37
|
Access-Control-Allow-Methods:
|
24
38
|
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
39
|
Access-Control-Request-Method:
|
28
40
|
- GET
|
41
|
+
Access-Control-Allow-Headers:
|
42
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
|
+
Access-Control-Max-Age:
|
44
|
+
- '1728000'
|
45
|
+
Etag:
|
46
|
+
- '"254d43724379e83b58b071a76bdb18e8"'
|
29
47
|
Cache-Control:
|
30
48
|
- max-age=0, private, must-revalidate
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Date:
|
34
|
-
- Tue, 06 Oct 2015 20:04:57 GMT
|
35
|
-
Etag:
|
36
|
-
- '"0fe213433a276874bf810f082f4986c3"'
|
37
|
-
Server:
|
38
|
-
- nginx/1.6.2
|
39
|
-
X-Content-Type-Options:
|
40
|
-
- nosniff
|
41
|
-
X-Frame-Options:
|
42
|
-
- SAMEORIGIN
|
43
49
|
X-Request-Id:
|
44
|
-
-
|
50
|
+
- d9fe1892-41d0-4933-8769-1be59bb3851d
|
45
51
|
X-Runtime:
|
46
|
-
- '0.
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
Transfer-Encoding:
|
50
|
-
- chunked
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
52
|
+
- '0.021267'
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
55
|
string: |-
|
56
56
|
{
|
57
|
+
"info": {
|
58
|
+
"total_results": 1,
|
59
|
+
"current_page": 1,
|
60
|
+
"total_pages": 1,
|
61
|
+
"results_per_page": 1
|
62
|
+
},
|
57
63
|
"categories": [
|
58
64
|
{
|
59
65
|
"category_name": "Automotive",
|
@@ -154,5 +160,5 @@ http_interactions:
|
|
154
160
|
]
|
155
161
|
}
|
156
162
|
http_version:
|
157
|
-
recorded_at:
|
158
|
-
recorded_with: VCR
|
163
|
+
recorded_at: Thu, 21 Jan 2016 18:34:30 GMT
|
164
|
+
recorded_with: VCR 3.0.0
|
@@ -18,38 +18,38 @@ http_interactions:
|
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Server:
|
22
|
+
- nginx/1.8.0
|
23
|
+
Date:
|
24
|
+
- Thu, 21 Jan 2016 18:34:23 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
X-Xss-Protection:
|
34
|
+
- 1; mode=block
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
23
37
|
Access-Control-Allow-Methods:
|
24
38
|
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
39
|
Access-Control-Request-Method:
|
28
40
|
- GET
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
-
|
33
|
-
Date:
|
34
|
-
- Tue, 06 Oct 2015 20:04:56 GMT
|
41
|
+
Access-Control-Allow-Headers:
|
42
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
|
+
Access-Control-Max-Age:
|
44
|
+
- '1728000'
|
35
45
|
Etag:
|
36
46
|
- '"f25d5336588168ac71a1178f08a0cf9f"'
|
37
|
-
|
38
|
-
-
|
39
|
-
X-Content-Type-Options:
|
40
|
-
- nosniff
|
41
|
-
X-Frame-Options:
|
42
|
-
- SAMEORIGIN
|
47
|
+
Cache-Control:
|
48
|
+
- max-age=0, private, must-revalidate
|
43
49
|
X-Request-Id:
|
44
|
-
-
|
50
|
+
- 3facad54-a590-4043-9a44-7775726173c2
|
45
51
|
X-Runtime:
|
46
|
-
- '0.
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
Transfer-Encoding:
|
50
|
-
- chunked
|
51
|
-
Connection:
|
52
|
-
- keep-alive
|
52
|
+
- '0.134681'
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
55
|
string: |-
|
@@ -1608,7 +1608,7 @@ http_interactions:
|
|
1608
1608
|
]
|
1609
1609
|
}
|
1610
1610
|
http_version:
|
1611
|
-
recorded_at:
|
1611
|
+
recorded_at: Thu, 21 Jan 2016 18:34:28 GMT
|
1612
1612
|
- request:
|
1613
1613
|
method: get
|
1614
1614
|
uri: https://offer-demo.adcrws.com/v1/categories?member_key=API_RUBY_GEM_TEST
|
@@ -1627,38 +1627,38 @@ http_interactions:
|
|
1627
1627
|
code: 200
|
1628
1628
|
message: OK
|
1629
1629
|
headers:
|
1630
|
-
|
1631
|
-
-
|
1630
|
+
Server:
|
1631
|
+
- nginx/1.8.0
|
1632
|
+
Date:
|
1633
|
+
- Thu, 21 Jan 2016 18:34:24 GMT
|
1634
|
+
Content-Type:
|
1635
|
+
- application/json
|
1636
|
+
Transfer-Encoding:
|
1637
|
+
- chunked
|
1638
|
+
Connection:
|
1639
|
+
- keep-alive
|
1640
|
+
X-Frame-Options:
|
1641
|
+
- SAMEORIGIN
|
1642
|
+
X-Xss-Protection:
|
1643
|
+
- 1; mode=block
|
1644
|
+
X-Content-Type-Options:
|
1645
|
+
- nosniff
|
1632
1646
|
Access-Control-Allow-Methods:
|
1633
1647
|
- POST, GET, PUT, DELETE, OPTIONS
|
1634
|
-
Access-Control-Max-Age:
|
1635
|
-
- '1728000'
|
1636
1648
|
Access-Control-Request-Method:
|
1637
1649
|
- GET
|
1638
|
-
|
1639
|
-
-
|
1640
|
-
|
1641
|
-
-
|
1642
|
-
Date:
|
1643
|
-
- Tue, 06 Oct 2015 20:04:57 GMT
|
1650
|
+
Access-Control-Allow-Headers:
|
1651
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
1652
|
+
Access-Control-Max-Age:
|
1653
|
+
- '1728000'
|
1644
1654
|
Etag:
|
1645
1655
|
- '"f25d5336588168ac71a1178f08a0cf9f"'
|
1646
|
-
|
1647
|
-
-
|
1648
|
-
X-Content-Type-Options:
|
1649
|
-
- nosniff
|
1650
|
-
X-Frame-Options:
|
1651
|
-
- SAMEORIGIN
|
1656
|
+
Cache-Control:
|
1657
|
+
- max-age=0, private, must-revalidate
|
1652
1658
|
X-Request-Id:
|
1653
|
-
-
|
1659
|
+
- 5afec8c1-eb2a-4c3a-bdfd-e786b2ff339b
|
1654
1660
|
X-Runtime:
|
1655
|
-
- '0.
|
1656
|
-
X-Xss-Protection:
|
1657
|
-
- 1; mode=block
|
1658
|
-
Content-Length:
|
1659
|
-
- '65534'
|
1660
|
-
Connection:
|
1661
|
-
- keep-alive
|
1661
|
+
- '0.133767'
|
1662
1662
|
body:
|
1663
1663
|
encoding: UTF-8
|
1664
1664
|
string: |-
|
@@ -3217,5 +3217,5 @@ http_interactions:
|
|
3217
3217
|
]
|
3218
3218
|
}
|
3219
3219
|
http_version:
|
3220
|
-
recorded_at:
|
3221
|
-
recorded_with: VCR
|
3220
|
+
recorded_at: Thu, 21 Jan 2016 18:34:29 GMT
|
3221
|
+
recorded_with: VCR 3.0.0
|
@@ -18,36 +18,36 @@ http_interactions:
|
|
18
18
|
code: 401
|
19
19
|
message: Unauthorized
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Server:
|
22
|
+
- nginx/1.8.0
|
23
|
+
Date:
|
24
|
+
- Thu, 21 Jan 2016 18:34:26 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
X-Xss-Protection:
|
34
|
+
- 1; mode=block
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
23
37
|
Access-Control-Allow-Methods:
|
24
38
|
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
39
|
Access-Control-Request-Method:
|
28
40
|
- GET
|
41
|
+
Access-Control-Allow-Headers:
|
42
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
|
+
Access-Control-Max-Age:
|
44
|
+
- '1728000'
|
29
45
|
Cache-Control:
|
30
46
|
- no-cache
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Date:
|
34
|
-
- Tue, 06 Oct 2015 20:04:56 GMT
|
35
|
-
Server:
|
36
|
-
- nginx/1.6.2
|
37
|
-
X-Content-Type-Options:
|
38
|
-
- nosniff
|
39
|
-
X-Frame-Options:
|
40
|
-
- SAMEORIGIN
|
41
47
|
X-Request-Id:
|
42
|
-
-
|
48
|
+
- 378a88ca-2f3b-4ddb-b58a-fba7e669f260
|
43
49
|
X-Runtime:
|
44
|
-
- '0.
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
47
|
-
Content-Length:
|
48
|
-
- '77'
|
49
|
-
Connection:
|
50
|
-
- keep-alive
|
50
|
+
- '0.007543'
|
51
51
|
body:
|
52
52
|
encoding: UTF-8
|
53
53
|
string: |-
|
@@ -56,5 +56,5 @@ http_interactions:
|
|
56
56
|
"status": 401
|
57
57
|
}
|
58
58
|
http_version:
|
59
|
-
recorded_at:
|
60
|
-
recorded_with: VCR
|
59
|
+
recorded_at: Thu, 21 Jan 2016 18:34:31 GMT
|
60
|
+
recorded_with: VCR 3.0.0
|
@@ -40,15 +40,18 @@ http_interactions:
|
|
40
40
|
- '3600'
|
41
41
|
Access-Control-Allow-Headers:
|
42
42
|
- x-requested-with
|
43
|
+
X-Application-Context:
|
44
|
+
- application:stage:10110
|
43
45
|
Content-Type:
|
44
46
|
- application/json;charset=UTF-8
|
45
47
|
Transfer-Encoding:
|
46
48
|
- chunked
|
47
49
|
Date:
|
48
|
-
-
|
50
|
+
- Thu, 21 Jan 2016 18:31:56 GMT
|
49
51
|
body:
|
50
52
|
encoding: UTF-8
|
51
|
-
string: '{"
|
53
|
+
string: '{"channels":[{"key":20888894,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20888894"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20888894"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20888894"}],"channel_name":"Web
|
54
|
+
Site","channel_type":"WEBSITE","channel_identifier":"0001","channel_description":null}]}'
|
52
55
|
http_version:
|
53
|
-
recorded_at:
|
54
|
-
recorded_with: VCR
|
56
|
+
recorded_at: Thu, 21 Jan 2016 18:34:27 GMT
|
57
|
+
recorded_with: VCR 3.0.0
|
@@ -40,32 +40,34 @@ http_interactions:
|
|
40
40
|
- '3600'
|
41
41
|
Access-Control-Allow-Headers:
|
42
42
|
- x-requested-with
|
43
|
+
X-Application-Context:
|
44
|
+
- application:stage:10120
|
43
45
|
Content-Type:
|
44
46
|
- application/json;charset=UTF-8
|
45
47
|
Transfer-Encoding:
|
46
48
|
- chunked
|
47
49
|
Date:
|
48
|
-
-
|
50
|
+
- Thu, 21 Jan 2016 18:31:56 GMT
|
49
51
|
body:
|
50
52
|
encoding: UTF-8
|
51
|
-
string: '{"channels":[{"key":20888894,"
|
52
|
-
|
53
|
-
Mailer","channel_type":"PAPER_MAILER","channel_identifier":"0004","channel_description":null,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/
|
54
|
-
Application","channel_type":"MOBILE","channel_identifier":"0005","channel_description":null,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/
|
55
|
-
Featured Deal","channel_type":"AWP_FEATURED_DEAL","channel_identifier":"0006","channel_description":null,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20889898"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20889898"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20889898"}]},{"key":20889899,"channel_name":"Email
|
56
|
-
Featured Deal","channel_type":"EMAIL_FEATURED_DEAL","channel_identifier":"0007","channel_description":null,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20889899"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20889899"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20889899"}]},{"key":20889900,"channel_name":"Featured
|
53
|
+
string: '{"channels":[{"key":20888894,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20888894"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20888894"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20888894"}],"channel_name":"Web
|
54
|
+
Site","channel_type":"WEBSITE","channel_identifier":"0001","channel_description":null},{"key":20888895,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20888895"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20888895"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20888895"}],"channel_name":"EMail","channel_type":"EMAIL","channel_identifier":"0002","channel_description":null},{"key":20888897,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20888897"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20888897"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20888897"}],"channel_name":"Paper
|
55
|
+
Mailer","channel_type":"PAPER_MAILER","channel_identifier":"0004","channel_description":null},{"key":20888898,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20888898"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20888898"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20888898"}],"channel_name":"Mobile
|
56
|
+
Application","channel_type":"MOBILE","channel_identifier":"0005","channel_description":null},{"key":20889900,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20889900"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20889900"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20889900"}],"channel_name":"Featured
|
57
57
|
Brands","channel_type":"AWP_FEATURED_BRANDS","channel_identifier":"0008","channel_description":"AWP
|
58
|
-
Featured Brands Channel","links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/
|
58
|
+
Featured Brands Channel"},{"key":20889901,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20889901"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20889901"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20889901"}],"channel_name":"Selected
|
59
59
|
Brands","channel_type":"AWP_SELECTED_BRANDS","channel_identifier":"0009","channel_description":"AWP
|
60
|
-
Selected Brands Channel","links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/
|
60
|
+
Selected Brands Channel"},{"key":20889902,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20889902"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20889902"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20889902"}],"channel_name":"Home
|
61
61
|
Page Banner","channel_type":"HOME_PAGE_BANNER","channel_identifier":"0010","channel_description":"Appears
|
62
|
-
on the home page of AWP with larger real estate for ad campaigns","links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/
|
62
|
+
on the home page of AWP with larger real estate for ad campaigns"},{"key":20889903,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20889903"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20889903"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20889903"}],"channel_name":"ACS
|
63
63
|
Group 1","channel_type":"ACS_GROUP_1","channel_identifier":"0011","channel_description":"Appears
|
64
|
-
on the first tab on the landing page of All City Savings Application","links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/
|
64
|
+
on the first tab on the landing page of All City Savings Application"},{"key":20889904,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20889904"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20889904"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20889904"}],"channel_name":"ACS
|
65
65
|
Group 2","channel_type":"ACS_GROUP_2","channel_identifier":"0012","channel_description":"Appears
|
66
|
-
on the second tab on the landing page of All City Savings Application","links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/
|
66
|
+
on the second tab on the landing page of All City Savings Application"},{"key":20889905,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20889905"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20889905"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20889905"}],"channel_name":"ACS
|
67
67
|
Group 3","channel_type":"ACS_GROUP_3","channel_identifier":"0013","channel_description":"Appears
|
68
|
-
on the third tab on the landing page of All City Savings Application","links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/
|
68
|
+
on the third tab on the landing page of All City Savings Application"},{"key":20889898,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20889898"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20889898"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20889898"}],"channel_name":"Mobile
|
69
|
+
Banner","channel_type":"MOBILE_BANNER","channel_identifier":"0006","channel_description":null},{"key":20889899,"links":[{"rel":"self","href":"http://campaign-stage.adcrws.com/v1/channels/20889899"},{"rel":"campaigns","href":"http://campaign-stage.adcrws.com/v1/campaigns?channel_key=20889899"},{"rel":"spots","href":"http://campaign-stage.adcrws.com/v1/spots/channel/20889899"}],"channel_name":"Seasonal
|
70
|
+
Offers","channel_type":"SEASONAL_OFFERS","channel_identifier":"0007","channel_description":null}]}'
|
69
71
|
http_version:
|
70
|
-
recorded_at:
|
71
|
-
recorded_with: VCR
|
72
|
+
recorded_at: Thu, 21 Jan 2016 18:34:27 GMT
|
73
|
+
recorded_with: VCR 3.0.0
|
@@ -18,51 +18,157 @@ http_interactions:
|
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
|
-
|
22
|
-
-
|
21
|
+
Server:
|
22
|
+
- nginx/1.8.0
|
23
|
+
Date:
|
24
|
+
- Thu, 21 Jan 2016 18:34:21 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Frame-Options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
X-Xss-Protection:
|
34
|
+
- 1; mode=block
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
23
37
|
Access-Control-Allow-Methods:
|
24
38
|
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
39
|
Access-Control-Request-Method:
|
28
40
|
- GET
|
41
|
+
Access-Control-Allow-Headers:
|
42
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
43
|
+
Access-Control-Max-Age:
|
44
|
+
- '1728000'
|
45
|
+
Etag:
|
46
|
+
- '"dbeaa97c2ab3b9cf9e0da663dc19aa1c"'
|
29
47
|
Cache-Control:
|
30
48
|
- max-age=0, private, must-revalidate
|
49
|
+
X-Request-Id:
|
50
|
+
- ddd59c3a-a078-4aff-a378-45bcdd66fcdd
|
51
|
+
X-Runtime:
|
52
|
+
- '0.046515'
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: |-
|
56
|
+
{
|
57
|
+
"filters": [
|
58
|
+
{
|
59
|
+
"filter_id": 69,
|
60
|
+
"filter_name": "aazk test"
|
61
|
+
}
|
62
|
+
]
|
63
|
+
}
|
64
|
+
http_version:
|
65
|
+
recorded_at: Thu, 21 Jan 2016 18:34:26 GMT
|
66
|
+
- request:
|
67
|
+
method: get
|
68
|
+
uri: https://token-demo.adcrws.com/v1/filters
|
69
|
+
body:
|
70
|
+
encoding: US-ASCII
|
71
|
+
string: ''
|
72
|
+
headers:
|
73
|
+
Access-Token:
|
74
|
+
- ACCESS_TOKEN
|
31
75
|
Content-Type:
|
32
76
|
- application/json
|
33
|
-
|
34
|
-
-
|
35
|
-
|
36
|
-
|
77
|
+
Accept:
|
78
|
+
- application/json
|
79
|
+
response:
|
80
|
+
status:
|
81
|
+
code: 200
|
82
|
+
message: OK
|
83
|
+
headers:
|
37
84
|
Server:
|
38
|
-
- nginx/1.
|
39
|
-
|
40
|
-
-
|
85
|
+
- nginx/1.8.0
|
86
|
+
Date:
|
87
|
+
- Thu, 21 Jan 2016 18:42:59 GMT
|
88
|
+
Content-Type:
|
89
|
+
- application/json
|
90
|
+
Transfer-Encoding:
|
91
|
+
- chunked
|
92
|
+
Connection:
|
93
|
+
- keep-alive
|
41
94
|
X-Frame-Options:
|
42
95
|
- SAMEORIGIN
|
43
|
-
X-Request-Id:
|
44
|
-
- 65cb868a-ab61-4f14-9eb5-25bdb96b7b76
|
45
|
-
X-Runtime:
|
46
|
-
- '0.174010'
|
47
96
|
X-Xss-Protection:
|
48
97
|
- 1; mode=block
|
49
|
-
Content-
|
50
|
-
-
|
51
|
-
|
52
|
-
-
|
98
|
+
X-Content-Type-Options:
|
99
|
+
- nosniff
|
100
|
+
Access-Control-Allow-Methods:
|
101
|
+
- POST, GET, PUT, DELETE, OPTIONS
|
102
|
+
Access-Control-Request-Method:
|
103
|
+
- GET
|
104
|
+
Access-Control-Allow-Headers:
|
105
|
+
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
106
|
+
Access-Control-Max-Age:
|
107
|
+
- '1728000'
|
108
|
+
Etag:
|
109
|
+
- '"39adfe43ff766dc7905d07156de1214b"'
|
110
|
+
Cache-Control:
|
111
|
+
- max-age=0, private, must-revalidate
|
112
|
+
X-Request-Id:
|
113
|
+
- f923553d-68ea-49a3-a1fb-72fe83157b5f
|
114
|
+
X-Runtime:
|
115
|
+
- '0.047546'
|
53
116
|
body:
|
54
117
|
encoding: UTF-8
|
55
118
|
string: |-
|
56
119
|
{
|
120
|
+
"info": {
|
121
|
+
"total_results": 65,
|
122
|
+
"results_per_page": 10,
|
123
|
+
"current_page": 1,
|
124
|
+
"total_pages": 7
|
125
|
+
},
|
57
126
|
"filters": [
|
58
127
|
{
|
59
128
|
"filter_id": 69,
|
60
|
-
"filter_name": "aazk test"
|
61
|
-
|
62
|
-
|
129
|
+
"filter_name": "aazk test"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"filter_id": 44,
|
133
|
+
"filter_name": "ACCESS PLANS - (All Dining, NATIONAL: Auto, Car Rental, Condo, Cruise, Entertainment, Health/Beauty, Home/Garden, Movies, Services, Shopping, Travel)"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"filter_id": 94,
|
137
|
+
"filter_name": "Access Plans Washington (all auto, dining, entertainment, shopping, national other categories, no CORT, no Rent-A-Center)"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"filter_id": 38,
|
141
|
+
"filter_name": "All Categories except EDUCATION ONLY"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"filter_id": 46,
|
145
|
+
"filter_name": "All Categories except EDUCATION ONLY and NO limited use offers"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"filter_id": 90,
|
149
|
+
"filter_name": "All City Savings TEST"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"filter_id": 17,
|
153
|
+
"filter_name": "All Content (No Filters)"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"filter_id": 85,
|
157
|
+
"filter_name": "AR Test"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"filter_id": 88,
|
161
|
+
"filter_name": "Auto, Car Rental, Cruise, Dining, Entertainment, Golf, Health/Beauty, Home/Garden, Hotel, Movies, Services, Shopping, Ski, Travel (No Condo, Education Only)"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"filter_id": 33,
|
165
|
+
"filter_name": "Auto, Car Rental, Cruise, Dining, Entertainment, Golf, Health/Beauty, Home/Garden, Hotel, Movies, Services, Shopping, Travel"
|
63
166
|
}
|
64
|
-
]
|
167
|
+
],
|
168
|
+
"links": {
|
169
|
+
"next_page": "https://report-demo.adcrws.com/v1/filters?page=2"
|
170
|
+
}
|
65
171
|
}
|
66
172
|
http_version:
|
67
|
-
recorded_at:
|
68
|
-
recorded_with: VCR
|
173
|
+
recorded_at: Thu, 21 Jan 2016 18:43:04 GMT
|
174
|
+
recorded_with: VCR 3.0.0
|