access 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/access.rb +1 -0
- data/lib/access/geolocation.rb +11 -0
- data/lib/access/location.rb +2 -0
- data/lib/access/version.rb +1 -1
- data/test/access/location_test.rb +2 -0
- data/test/access/offer_test.rb +1 -0
- data/test/fixtures/autocomplete_search.yml +30 -149
- data/test/fixtures/autocomplete_search_categories.yml +15 -120
- data/test/fixtures/autocomplete_search_locations.yml +9 -110
- data/test/fixtures/autocomplete_search_offers.yml +14 -119
- data/test/fixtures/autocomplete_search_stores.yml +16 -123
- data/test/fixtures/category_find.yml +9 -155
- data/test/fixtures/category_search.yml +18 -3588
- data/test/fixtures/category_search_fail_member_key.yml +9 -45
- data/test/fixtures/filter_find.yml +14 -77
- data/test/fixtures/filter_search.yml +16 -128
- data/test/fixtures/location_find.yml +414 -891
- data/test/fixtures/location_search.yml +69 -327
- data/test/fixtures/location_search_fail_member_key.yml +9 -310
- data/test/fixtures/national_stores.yml +1717 -3854
- data/test/fixtures/oauth_application_find.yml +9 -85
- data/test/fixtures/oauth_application_search.yml +12 -48
- data/test/fixtures/oauth_application_token_find.yml +9 -159
- data/test/fixtures/oauth_application_token_search.yml +9 -5
- data/test/fixtures/offer_find.yml +12 -555
- data/test/fixtures/offer_search.yml +12 -189
- data/test/fixtures/offer_search_fail_member_key.yml +9 -45
- data/test/fixtures/redeem_offer_no_redeem_type.yml +9 -359
- data/test/fixtures/store_find.yml +9 -501
- data/test/fixtures/store_search.yml +9 -135
- data/test/fixtures/store_search_fail_member_key.yml +9 -45
- data/test/fixtures/subcategory_find.yml +9 -145
- data/test/fixtures/token_find.yml +27 -356
- data/test/fixtures/token_search.yml +35 -224
- data/test/fixtures/verify_filter.yml +9 -5
- data/test/fixtures/verify_token.yml +13 -9
- metadata +2 -3
- data/test/fixtures/oauth_application_search_fail_member_key.yml +0 -268
@@ -1,197 +1,5 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://token-demo.adcrws.com/v1/oauth_applications?per_page=1
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Access-Token:
|
11
|
-
- token_without_limit
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept:
|
15
|
-
- application/json
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Access-Control-Allow-Headers:
|
22
|
-
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
23
|
-
Access-Control-Allow-Methods:
|
24
|
-
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
|
-
Access-Control-Request-Method:
|
28
|
-
- GET
|
29
|
-
Cache-Control:
|
30
|
-
- max-age=0, private, must-revalidate
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Date:
|
34
|
-
- Tue, 04 Aug 2015 21:50:51 GMT
|
35
|
-
Etag:
|
36
|
-
- '"8fa469d403d7fcb9d329bd7519c95141"'
|
37
|
-
Server:
|
38
|
-
- nginx/1.6.2
|
39
|
-
Strict-Transport-Security:
|
40
|
-
- max-age=31536000
|
41
|
-
X-Content-Type-Options:
|
42
|
-
- nosniff
|
43
|
-
X-Frame-Options:
|
44
|
-
- SAMEORIGIN
|
45
|
-
X-Request-Id:
|
46
|
-
- 241554ee-0024-41e3-961f-54373b0c8e21
|
47
|
-
X-Runtime:
|
48
|
-
- '0.043381'
|
49
|
-
X-Xss-Protection:
|
50
|
-
- 1; mode=block
|
51
|
-
Content-Length:
|
52
|
-
- '778'
|
53
|
-
Connection:
|
54
|
-
- keep-alive
|
55
|
-
body:
|
56
|
-
encoding: UTF-8
|
57
|
-
string: |-
|
58
|
-
{
|
59
|
-
"info": {
|
60
|
-
"total_results": 702,
|
61
|
-
"results_per_page": 1,
|
62
|
-
"current_page": 1,
|
63
|
-
"total_pages": 702
|
64
|
-
},
|
65
|
-
"oauth_applications": [
|
66
|
-
{
|
67
|
-
"id": 22,
|
68
|
-
"name": "American Grandparents Association",
|
69
|
-
"owner_id": 235308134,
|
70
|
-
"owner_type": "Program",
|
71
|
-
"domain_urls": null,
|
72
|
-
"scopes": [
|
73
|
-
"api",
|
74
|
-
"docs"
|
75
|
-
],
|
76
|
-
"active_tokens": [
|
77
|
-
"e4db3fb9a054e78807c431e837c49a59553c73204de91d404fe43d12c247f805"
|
78
|
-
],
|
79
|
-
"filter": {
|
80
|
-
"filter_id": 18,
|
81
|
-
"filter_name": "Grandparents"
|
82
|
-
},
|
83
|
-
"links": {
|
84
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/22"
|
85
|
-
}
|
86
|
-
}
|
87
|
-
],
|
88
|
-
"links": {
|
89
|
-
"next_page": "https://report-demo.adcrws.com/v1/oauth_applications?page=2"
|
90
|
-
}
|
91
|
-
}
|
92
|
-
http_version:
|
93
|
-
recorded_at: Tue, 04 Aug 2015 21:50:51 GMT
|
94
|
-
- request:
|
95
|
-
method: get
|
96
|
-
uri: https://token-demo.adcrws.com/v1/oauth_applications/22/access_tokens?per_page=1
|
97
|
-
body:
|
98
|
-
encoding: US-ASCII
|
99
|
-
string: ''
|
100
|
-
headers:
|
101
|
-
Access-Token:
|
102
|
-
- token_without_limit
|
103
|
-
Content-Type:
|
104
|
-
- application/json
|
105
|
-
Accept:
|
106
|
-
- application/json
|
107
|
-
response:
|
108
|
-
status:
|
109
|
-
code: 200
|
110
|
-
message: OK
|
111
|
-
headers:
|
112
|
-
Access-Control-Allow-Headers:
|
113
|
-
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
114
|
-
Access-Control-Allow-Methods:
|
115
|
-
- POST, GET, PUT, DELETE, OPTIONS
|
116
|
-
Access-Control-Max-Age:
|
117
|
-
- '1728000'
|
118
|
-
Access-Control-Request-Method:
|
119
|
-
- GET
|
120
|
-
Cache-Control:
|
121
|
-
- max-age=0, private, must-revalidate
|
122
|
-
Content-Type:
|
123
|
-
- application/json
|
124
|
-
Date:
|
125
|
-
- Wed, 05 Aug 2015 20:13:10 GMT
|
126
|
-
Etag:
|
127
|
-
- '"146748ca69664715e70d06b5a2a46e80"'
|
128
|
-
Server:
|
129
|
-
- nginx/1.6.2
|
130
|
-
Strict-Transport-Security:
|
131
|
-
- max-age=31536000
|
132
|
-
X-Content-Type-Options:
|
133
|
-
- nosniff
|
134
|
-
X-Frame-Options:
|
135
|
-
- SAMEORIGIN
|
136
|
-
X-Request-Id:
|
137
|
-
- dd4fc36f-292c-4e7a-8257-1803a56ae929
|
138
|
-
X-Runtime:
|
139
|
-
- '0.062111'
|
140
|
-
X-Xss-Protection:
|
141
|
-
- 1; mode=block
|
142
|
-
Content-Length:
|
143
|
-
- '2806'
|
144
|
-
Connection:
|
145
|
-
- keep-alive
|
146
|
-
body:
|
147
|
-
encoding: UTF-8
|
148
|
-
string: |-
|
149
|
-
{
|
150
|
-
"access_tokens": [
|
151
|
-
{
|
152
|
-
"application_id": 22,
|
153
|
-
"token": "e4db3fb9a054e78807c431e837c49a59553c73204de91d404fe43d12c247f805",
|
154
|
-
"expires_in": null,
|
155
|
-
"revoked_at": null,
|
156
|
-
"created_at": "2015-01-21T22:43:31.006Z",
|
157
|
-
"oauth_access_token_id": 43,
|
158
|
-
"application_name": "American Grandparents Association",
|
159
|
-
"application_owner_id": 22,
|
160
|
-
"application_owner_type": "Program",
|
161
|
-
"program_id": 235308134,
|
162
|
-
"program_name": "American Grandparents Association",
|
163
|
-
"program_customer_identifier": "102149",
|
164
|
-
"program_start_dts": "2015-01-21T15:12:55.570Z",
|
165
|
-
"program_end_dts": "2018-01-21T15:12:56.000Z",
|
166
|
-
"organization_id": 2001959,
|
167
|
-
"organization_name": "American Grandparents Association",
|
168
|
-
"organization_customer_identifier": "2001923",
|
169
|
-
"filter_id": 18,
|
170
|
-
"filter_name": "Grandparents",
|
171
|
-
"filter": "{\"offers\":[{\"or\":[{\"terms\":{\"categories.category_key\":[39,44,48,59,1039,54,45,50]}},{\"terms\":{\"categories.category_parent_key\":[39,44,48,59,1039,54,45,50]}}]}],\"categories\":[{\"or\":[{\"terms\":{\"category_key\":[39,44,48,59,1039,54,45,50]}},{\"terms\":{\"category_parent_key\":[39,44,48,59,1039,54,45,50]}}]}],\"stores\":[{\"or\":[{\"terms\":{\"store_categories.category_key\":[39,44,48,59,1039,54,45,50]}},{\"terms\":{\"store_categories.category_parent_key\":[39,44,48,59,1039,54,45,50]}}]}]}",
|
172
|
-
"program_filter_id": {
|
173
|
-
"filter_id": 18,
|
174
|
-
"filter_name": "Grandparents",
|
175
|
-
"filter": "---\noffers:\n- or:\n - terms:\n categories.category_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\n - terms:\n categories.category_parent_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\ncategories:\n- or:\n - terms:\n category_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\n - terms:\n category_parent_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\nstores:\n- or:\n - terms:\n store_categories.category_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\n - terms:\n store_categories.category_parent_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\n",
|
176
|
-
"modified_dts": "2015-06-03T17:31:13.774Z",
|
177
|
-
"created_dts": "2015-02-26T13:18:12.299Z"
|
178
|
-
},
|
179
|
-
"domains": [
|
180
|
-
|
181
|
-
],
|
182
|
-
"application_scopes": [
|
183
|
-
"api",
|
184
|
-
"docs"
|
185
|
-
],
|
186
|
-
"token_status": "valid",
|
187
|
-
"links": {
|
188
|
-
"show_token": "https://token-demo.adcrws.com/v1/oauth_applications/22/access_tokens/43"
|
189
|
-
}
|
190
|
-
}
|
191
|
-
]
|
192
|
-
}
|
193
|
-
http_version:
|
194
|
-
recorded_at: Wed, 05 Aug 2015 20:13:09 GMT
|
195
3
|
- request:
|
196
4
|
method: get
|
197
5
|
uri: https://token-demo.adcrws.com/v1/tokens?per_page=1
|
@@ -200,7 +8,7 @@ http_interactions:
|
|
200
8
|
string: ''
|
201
9
|
headers:
|
202
10
|
Access-Token:
|
203
|
-
-
|
11
|
+
- token_without_filters
|
204
12
|
Content-Type:
|
205
13
|
- application/json
|
206
14
|
Accept:
|
@@ -223,23 +31,27 @@ http_interactions:
|
|
223
31
|
Content-Type:
|
224
32
|
- application/json
|
225
33
|
Date:
|
226
|
-
-
|
34
|
+
- Wed, 16 Sep 2015 19:54:10 GMT
|
227
35
|
Etag:
|
228
|
-
- '"
|
36
|
+
- '"dc31789028a2cb115aeaeb41f2eebd52"'
|
229
37
|
Server:
|
230
38
|
- nginx/1.6.2
|
231
39
|
X-Content-Type-Options:
|
232
40
|
- nosniff
|
233
41
|
X-Frame-Options:
|
234
42
|
- SAMEORIGIN
|
43
|
+
X-Ratelimit-Limit:
|
44
|
+
- '1000'
|
45
|
+
X-Ratelimit-Remaining:
|
46
|
+
- '959'
|
235
47
|
X-Request-Id:
|
236
|
-
-
|
48
|
+
- 343f042d-c35b-446b-8f82-46c48cfc717c
|
237
49
|
X-Runtime:
|
238
|
-
- '0.
|
50
|
+
- '0.017972'
|
239
51
|
X-Xss-Protection:
|
240
52
|
- 1; mode=block
|
241
|
-
|
242
|
-
-
|
53
|
+
Content-Length:
|
54
|
+
- '1417'
|
243
55
|
Connection:
|
244
56
|
- keep-alive
|
245
57
|
body:
|
@@ -247,45 +59,44 @@ http_interactions:
|
|
247
59
|
string: |-
|
248
60
|
{
|
249
61
|
"info": {
|
250
|
-
"total_results":
|
62
|
+
"total_results": 552,
|
251
63
|
"results_per_page": 1,
|
252
64
|
"current_page": 1,
|
253
|
-
"total_pages":
|
65
|
+
"total_pages": 552
|
254
66
|
},
|
255
67
|
"oauth_tokens": [
|
256
68
|
{
|
257
|
-
"application_id":
|
258
|
-
"token": "
|
69
|
+
"application_id": 837,
|
70
|
+
"token": "6a83e8e361cdd3eba145ccbabf05e65e8f3fa15544f808caa44aaf7f43e13e1f",
|
259
71
|
"expires_in": null,
|
260
72
|
"revoked_at": null,
|
261
|
-
"created_at": "2015-09-
|
262
|
-
"oauth_access_token_id":
|
263
|
-
"application_name": "
|
264
|
-
"application_owner_id":
|
73
|
+
"created_at": "2015-09-16T11:50:27.755-06:00",
|
74
|
+
"oauth_access_token_id": 959,
|
75
|
+
"application_name": "Breakaway Loyalty (pcid: 8983)",
|
76
|
+
"application_owner_id": 487,
|
265
77
|
"application_owner_type": "Program",
|
266
|
-
"program_id":
|
267
|
-
"program_name": "
|
268
|
-
"program_customer_identifier": "
|
269
|
-
"program_start_dts": "
|
270
|
-
"program_end_dts": "2018-
|
271
|
-
"organization_id":
|
272
|
-
"organization_name": "
|
273
|
-
"organization_customer_identifier": "
|
274
|
-
"filter_id":
|
275
|
-
"filter_name":
|
276
|
-
"filter":
|
277
|
-
"program_filter_id":
|
78
|
+
"program_id": 487,
|
79
|
+
"program_name": "Breakaway Loyalty",
|
80
|
+
"program_customer_identifier": "8983",
|
81
|
+
"program_start_dts": "2012-04-12T15:10:31.634-06:00",
|
82
|
+
"program_end_dts": "2018-12-30T17:00:00.000-07:00",
|
83
|
+
"organization_id": 2000153,
|
84
|
+
"organization_name": "BreakawaLoyalty",
|
85
|
+
"organization_customer_identifier": "WEivv",
|
86
|
+
"filter_id": null,
|
87
|
+
"filter_name": null,
|
88
|
+
"filter": null,
|
89
|
+
"program_filter_id": null,
|
278
90
|
"domains": [
|
279
91
|
|
280
92
|
],
|
281
93
|
"application_scopes": [
|
282
|
-
|
283
|
-
"docs"
|
94
|
+
|
284
95
|
],
|
285
|
-
"indexed_at": "2015-09-
|
96
|
+
"indexed_at": "2015-09-16T17:50:06.034Z",
|
286
97
|
"token_status": "valid",
|
287
98
|
"links": {
|
288
|
-
"show_oauth_token": "http://token-demo.adcrws.com/v1/tokens/
|
99
|
+
"show_oauth_token": "http://token-demo.adcrws.com/v1/tokens/6a83e8e361cdd3eba145ccbabf05e65e8f3fa15544f808caa44aaf7f43e13e1f"
|
289
100
|
}
|
290
101
|
}
|
291
102
|
],
|
@@ -294,5 +105,5 @@ http_interactions:
|
|
294
105
|
}
|
295
106
|
}
|
296
107
|
http_version:
|
297
|
-
recorded_at:
|
108
|
+
recorded_at: Wed, 16 Sep 2015 19:54:10 GMT
|
298
109
|
recorded_with: VCR 2.9.3
|
@@ -12,7 +12,7 @@ http_interactions:
|
|
12
12
|
] } }'
|
13
13
|
headers:
|
14
14
|
Access-Token:
|
15
|
-
-
|
15
|
+
- token_without_filters
|
16
16
|
Content-Type:
|
17
17
|
- application/json
|
18
18
|
Accept:
|
@@ -35,7 +35,7 @@ http_interactions:
|
|
35
35
|
Content-Type:
|
36
36
|
- application/json
|
37
37
|
Date:
|
38
|
-
-
|
38
|
+
- Wed, 16 Sep 2015 19:54:10 GMT
|
39
39
|
Etag:
|
40
40
|
- '"50ad65b96243debff98324e9ecb617e1"'
|
41
41
|
Server:
|
@@ -44,10 +44,14 @@ http_interactions:
|
|
44
44
|
- nosniff
|
45
45
|
X-Frame-Options:
|
46
46
|
- SAMEORIGIN
|
47
|
+
X-Ratelimit-Limit:
|
48
|
+
- '1000'
|
49
|
+
X-Ratelimit-Remaining:
|
50
|
+
- '958'
|
47
51
|
X-Request-Id:
|
48
|
-
-
|
52
|
+
- 4ebaf761-a497-4cf0-80b3-d1653192676d
|
49
53
|
X-Runtime:
|
50
|
-
- '0.
|
54
|
+
- '0.088566'
|
51
55
|
X-Xss-Protection:
|
52
56
|
- 1; mode=block
|
53
57
|
Content-Length:
|
@@ -284,5 +288,5 @@ http_interactions:
|
|
284
288
|
}
|
285
289
|
}
|
286
290
|
http_version:
|
287
|
-
recorded_at:
|
291
|
+
recorded_at: Wed, 16 Sep 2015 19:54:10 GMT
|
288
292
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Access-Token:
|
11
|
-
-
|
11
|
+
- token_without_filters
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
Accept:
|
@@ -31,23 +31,27 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/json
|
33
33
|
Date:
|
34
|
-
-
|
34
|
+
- Wed, 16 Sep 2015 19:54:10 GMT
|
35
35
|
Etag:
|
36
|
-
- '"
|
36
|
+
- '"90c204e1632c23c7317046214172edb5"'
|
37
37
|
Server:
|
38
38
|
- nginx/1.6.2
|
39
39
|
X-Content-Type-Options:
|
40
40
|
- nosniff
|
41
41
|
X-Frame-Options:
|
42
42
|
- SAMEORIGIN
|
43
|
+
X-Ratelimit-Limit:
|
44
|
+
- '1000'
|
45
|
+
X-Ratelimit-Remaining:
|
46
|
+
- '957'
|
43
47
|
X-Request-Id:
|
44
|
-
-
|
48
|
+
- b399abae-0e66-479d-89fc-fdb58cd4dc96
|
45
49
|
X-Runtime:
|
46
|
-
- '0.
|
50
|
+
- '0.009539'
|
47
51
|
X-Xss-Protection:
|
48
52
|
- 1; mode=block
|
49
53
|
Content-Length:
|
50
|
-
- '
|
54
|
+
- '571'
|
51
55
|
Connection:
|
52
56
|
- keep-alive
|
53
57
|
body:
|
@@ -55,11 +59,11 @@ http_interactions:
|
|
55
59
|
string: |-
|
56
60
|
{
|
57
61
|
"oauth_access_token": {
|
58
|
-
"token": "
|
62
|
+
"token": "token_without_filters",
|
59
63
|
"domains": [
|
60
64
|
|
61
65
|
],
|
62
|
-
"created_at": "2015-08-25T14:
|
66
|
+
"created_at": "2015-08-25T14:06:53.316-06:00",
|
63
67
|
"revoked_at": null,
|
64
68
|
"expires_in": null,
|
65
69
|
"application_name": "RWS API - No Filters No Limit (pcid:200156)",
|
@@ -72,5 +76,5 @@ http_interactions:
|
|
72
76
|
}
|
73
77
|
}
|
74
78
|
http_version:
|
75
|
-
recorded_at:
|
79
|
+
recorded_at: Wed, 16 Sep 2015 19:54:10 GMT
|
76
80
|
recorded_with: VCR 2.9.3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: access
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Eggett
|
@@ -227,6 +227,7 @@ files:
|
|
227
227
|
- lib/access/config.rb
|
228
228
|
- lib/access/error.rb
|
229
229
|
- lib/access/filter.rb
|
230
|
+
- lib/access/geolocation.rb
|
230
231
|
- lib/access/info.rb
|
231
232
|
- lib/access/link.rb
|
232
233
|
- lib/access/location.rb
|
@@ -272,7 +273,6 @@ files:
|
|
272
273
|
- test/fixtures/national_stores.yml
|
273
274
|
- test/fixtures/oauth_application_find.yml
|
274
275
|
- test/fixtures/oauth_application_search.yml
|
275
|
-
- test/fixtures/oauth_application_search_fail_member_key.yml
|
276
276
|
- test/fixtures/oauth_application_token_find.yml
|
277
277
|
- test/fixtures/oauth_application_token_search.yml
|
278
278
|
- test/fixtures/offer_find.yml
|
@@ -343,7 +343,6 @@ test_files:
|
|
343
343
|
- test/fixtures/national_stores.yml
|
344
344
|
- test/fixtures/oauth_application_find.yml
|
345
345
|
- test/fixtures/oauth_application_search.yml
|
346
|
-
- test/fixtures/oauth_application_search_fail_member_key.yml
|
347
346
|
- test/fixtures/oauth_application_token_find.yml
|
348
347
|
- test/fixtures/oauth_application_token_search.yml
|
349
348
|
- test/fixtures/offer_find.yml
|
@@ -1,268 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://token-demo.adcrws.com/v1/oauth_applications?query=pizza
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Access-Token:
|
11
|
-
- token_without_limit
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept:
|
15
|
-
- application/json
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Access-Control-Allow-Headers:
|
22
|
-
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
|
23
|
-
Access-Control-Allow-Methods:
|
24
|
-
- POST, GET, PUT, DELETE, OPTIONS
|
25
|
-
Access-Control-Max-Age:
|
26
|
-
- '1728000'
|
27
|
-
Access-Control-Request-Method:
|
28
|
-
- GET
|
29
|
-
Cache-Control:
|
30
|
-
- max-age=0, private, must-revalidate
|
31
|
-
Content-Type:
|
32
|
-
- application/json
|
33
|
-
Date:
|
34
|
-
- Tue, 04 Aug 2015 21:29:35 GMT
|
35
|
-
Etag:
|
36
|
-
- '"1155942a67e5ead77b51209eff6ac9e9"'
|
37
|
-
Server:
|
38
|
-
- nginx/1.6.2
|
39
|
-
Strict-Transport-Security:
|
40
|
-
- max-age=31536000
|
41
|
-
X-Content-Type-Options:
|
42
|
-
- nosniff
|
43
|
-
X-Frame-Options:
|
44
|
-
- SAMEORIGIN
|
45
|
-
X-Request-Id:
|
46
|
-
- b9896696-7c23-4459-a515-af993bf3f130
|
47
|
-
X-Runtime:
|
48
|
-
- '0.063198'
|
49
|
-
X-Xss-Protection:
|
50
|
-
- 1; mode=block
|
51
|
-
Content-Length:
|
52
|
-
- '5397'
|
53
|
-
Connection:
|
54
|
-
- keep-alive
|
55
|
-
body:
|
56
|
-
encoding: UTF-8
|
57
|
-
string: |-
|
58
|
-
{
|
59
|
-
"info": {
|
60
|
-
"total_results": 702,
|
61
|
-
"results_per_page": 10,
|
62
|
-
"current_page": 1,
|
63
|
-
"total_pages": 71
|
64
|
-
},
|
65
|
-
"oauth_applications": [
|
66
|
-
{
|
67
|
-
"id": 22,
|
68
|
-
"name": "American Grandparents Association",
|
69
|
-
"owner_id": 235308134,
|
70
|
-
"owner_type": "Program",
|
71
|
-
"domain_urls": null,
|
72
|
-
"scopes": [
|
73
|
-
"api",
|
74
|
-
"docs"
|
75
|
-
],
|
76
|
-
"active_tokens": [
|
77
|
-
"e4db3fb9a054e78807c431e837c49a59553c73204de91d404fe43d12c247f805"
|
78
|
-
],
|
79
|
-
"filter": {
|
80
|
-
"filter_id": 18,
|
81
|
-
"filter_name": "Grandparents"
|
82
|
-
},
|
83
|
-
"links": {
|
84
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/22"
|
85
|
-
}
|
86
|
-
},
|
87
|
-
{
|
88
|
-
"id": 31,
|
89
|
-
"name": "IGIFT Back",
|
90
|
-
"owner_id": 234482199,
|
91
|
-
"owner_type": "Program",
|
92
|
-
"domain_urls": "localhost, plus.igiftback.org, plus.igiftback.net",
|
93
|
-
"scopes": [
|
94
|
-
"api"
|
95
|
-
],
|
96
|
-
"active_tokens": [
|
97
|
-
"50e34a00a8a0a7468c2d408b3564c78416c7397fda95fcd391d2e0f139152f2c"
|
98
|
-
],
|
99
|
-
"filter": {
|
100
|
-
"filter_id": 39,
|
101
|
-
"filter_name": "iGiftBack - Auto, Dining, Entertainment, Golf, Home/Garden, Movies, Services, Shopping, Instore Print ONLY"
|
102
|
-
},
|
103
|
-
"links": {
|
104
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/31"
|
105
|
-
}
|
106
|
-
},
|
107
|
-
{
|
108
|
-
"id": 649,
|
109
|
-
"name": "amt-test",
|
110
|
-
"owner_id": 230907234,
|
111
|
-
"owner_type": "Program",
|
112
|
-
"domain_urls": null,
|
113
|
-
"scopes": [
|
114
|
-
"amt"
|
115
|
-
],
|
116
|
-
"active_tokens": [
|
117
|
-
"7a044e366ee35284cc57dd02f5468f2f96f411e0df09ea37dad36a3581e64510"
|
118
|
-
],
|
119
|
-
"filter": {
|
120
|
-
"filter_id": 16,
|
121
|
-
"filter_name": "No Content Filter"
|
122
|
-
},
|
123
|
-
"links": {
|
124
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/649"
|
125
|
-
}
|
126
|
-
},
|
127
|
-
{
|
128
|
-
"id": 32,
|
129
|
-
"name": "Rewards for Recycling",
|
130
|
-
"owner_id": 1090,
|
131
|
-
"owner_type": "Program",
|
132
|
-
"domain_urls": "www.rizzorewards.com,www.emterrarewards.com,r4rnet.com",
|
133
|
-
"scopes": [
|
134
|
-
|
135
|
-
],
|
136
|
-
"active_tokens": [
|
137
|
-
"fab2e7ffa62f0059929fa8296ae0f82d96f33ec0aa51905d31fcb805e5d6fc5c",
|
138
|
-
"b33f6659908758aee9132f7fac7f39ec93a4b6ee92f8201e06d5e39691ae20e2"
|
139
|
-
],
|
140
|
-
"filter": {
|
141
|
-
"filter_id": 33,
|
142
|
-
"filter_name": "Auto, Car Rental, Cruise, Dining, Entertainment, Golf, Health/Beauty, Home/Garden, Hotel, Movies, Services, Shopping, Travel"
|
143
|
-
},
|
144
|
-
"links": {
|
145
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/32"
|
146
|
-
}
|
147
|
-
},
|
148
|
-
{
|
149
|
-
"id": 653,
|
150
|
-
"name": "DreamWorld",
|
151
|
-
"owner_id": 339,
|
152
|
-
"owner_type": "Program",
|
153
|
-
"domain_urls": null,
|
154
|
-
"scopes": [
|
155
|
-
|
156
|
-
],
|
157
|
-
"active_tokens": [
|
158
|
-
"2c863bc19218e8ad834b53b2c322c861ba0923173c082f8a83143a1cb33cc71c"
|
159
|
-
],
|
160
|
-
"filter": {
|
161
|
-
"filter_id": 38,
|
162
|
-
"filter_name": "All Categories except EDUCATION ONLY"
|
163
|
-
},
|
164
|
-
"links": {
|
165
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/653"
|
166
|
-
}
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"id": 15,
|
170
|
-
"name": "RetailMeNot",
|
171
|
-
"owner_id": 191718123,
|
172
|
-
"owner_type": "Program",
|
173
|
-
"domain_urls": null,
|
174
|
-
"scopes": [
|
175
|
-
|
176
|
-
],
|
177
|
-
"active_tokens": [
|
178
|
-
"d9bf1c1741f07b96389fae9377f54de3b237e0b64a1e3dc07f2615bd7fa5874d"
|
179
|
-
],
|
180
|
-
"filter": {
|
181
|
-
"filter_id": 14,
|
182
|
-
"filter_name": "Retail Me Not"
|
183
|
-
},
|
184
|
-
"links": {
|
185
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/15"
|
186
|
-
}
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"id": 14,
|
190
|
-
"name": "Viggle",
|
191
|
-
"owner_id": 2192,
|
192
|
-
"owner_type": "Program",
|
193
|
-
"domain_urls": null,
|
194
|
-
"scopes": [
|
195
|
-
"api"
|
196
|
-
],
|
197
|
-
"active_tokens": [
|
198
|
-
"3ad8453fbb347995e648d8925c6582073d043b2dff2332082be90e5b9c23b440"
|
199
|
-
],
|
200
|
-
"filter": {
|
201
|
-
"filter_id": 13,
|
202
|
-
"filter_name": "VIGGLE"
|
203
|
-
},
|
204
|
-
"links": {
|
205
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/14"
|
206
|
-
}
|
207
|
-
},
|
208
|
-
{
|
209
|
-
"id": 18,
|
210
|
-
"name": "SaveOn Resorts",
|
211
|
-
"owner_id": 215,
|
212
|
-
"owner_type": "Program",
|
213
|
-
"domain_urls": null,
|
214
|
-
"scopes": [
|
215
|
-
|
216
|
-
],
|
217
|
-
"active_tokens": [
|
218
|
-
"cec4ead0e094d3b27e2d82e8684503a6c2ccb2a01e27c3e8df107fc76cc4c372"
|
219
|
-
],
|
220
|
-
"filter": null,
|
221
|
-
"links": {
|
222
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/18"
|
223
|
-
}
|
224
|
-
},
|
225
|
-
{
|
226
|
-
"id": 654,
|
227
|
-
"name": "API CREATE TEST",
|
228
|
-
"owner_id": 161,
|
229
|
-
"owner_type": "Program",
|
230
|
-
"domain_urls": null,
|
231
|
-
"scopes": [
|
232
|
-
"admin",
|
233
|
-
"api",
|
234
|
-
"public"
|
235
|
-
],
|
236
|
-
"active_tokens": [
|
237
|
-
"42502aed0cb85ed4df362ccb60ec431c70201bd51aa68afaf5570b5fcff3cc42"
|
238
|
-
],
|
239
|
-
"filter": null,
|
240
|
-
"links": {
|
241
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/654"
|
242
|
-
}
|
243
|
-
},
|
244
|
-
{
|
245
|
-
"id": 655,
|
246
|
-
"name": "TEST TEST",
|
247
|
-
"owner_id": 1234,
|
248
|
-
"owner_type": "Program",
|
249
|
-
"domain_urls": null,
|
250
|
-
"scopes": [
|
251
|
-
"api"
|
252
|
-
],
|
253
|
-
"active_tokens": [
|
254
|
-
"7d584cd25a6ff1477d135d61e8132ef576b4da90cabed63b8bf1e3e98078db49"
|
255
|
-
],
|
256
|
-
"filter": null,
|
257
|
-
"links": {
|
258
|
-
"show_application": "https://token-demo.adcrws.com/v1/oauth_applications/655"
|
259
|
-
}
|
260
|
-
}
|
261
|
-
],
|
262
|
-
"links": {
|
263
|
-
"next_page": "https://report-demo.adcrws.com/v1/oauth_applications?page=2"
|
264
|
-
}
|
265
|
-
}
|
266
|
-
http_version:
|
267
|
-
recorded_at: Tue, 04 Aug 2015 21:29:35 GMT
|
268
|
-
recorded_with: VCR 2.9.3
|