test/vcr/cassettes/oauth_application/token_find.yml in access-2.2.0 vs test/vcr/cassettes/oauth_application/token_find.yml in access-2.3.0.pre.rc1
- old
+ new
@@ -1,10 +1,10 @@
---
http_interactions:
- request:
method: get
- uri: https://token-stage.adcrws.com/v1/oauth_applications/9/access_tokens/11
+ uri: https://token-stage.adcrws.com/v1/oauth_applications/503/access_tokens/523
body:
encoding: US-ASCII
string: ''
headers:
Access-Token:
@@ -17,19 +17,17 @@
status:
code: 200
message: OK
headers:
Server:
- - nginx/1.8.0
+ - nginx/1.12.2
Date:
- - Mon, 22 Feb 2016 23:26:13 GMT
+ - Sun, 01 Jul 2018 04:24:22 GMT
Content-Type:
- application/json
Transfer-Encoding:
- chunked
- Connection:
- - keep-alive
X-Frame-Options:
- SAMEORIGIN
X-Xss-Protection:
- 1; mode=block
X-Content-Type-Options:
@@ -40,56 +38,57 @@
- GET
Access-Control-Allow-Headers:
- Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token
Access-Control-Max-Age:
- '1728000'
+ X-Ratelimit-Limit:
+ - '10000'
+ X-Ratelimit-Remaining:
+ - '9894'
Etag:
- - '"14461abf8ef3aeb8b2435ee3f8ec97b1"'
+ - '"a3eaeb3f4c748351ef4534faf035f123"'
Cache-Control:
- max-age=0, private, must-revalidate
X-Request-Id:
- - 8d4509a4-e9b6-4622-85ab-d4f0b77f4c07
+ - 02bf8405-1481-4a8c-9c82-d41a61668fc9
X-Runtime:
- - '0.048897'
+ - '0.041966'
body:
encoding: UTF-8
string: |-
{
"access_tokens": [
{
- "application_id": 9,
- "token": "68214283dc396fcb2f5c6442dae8c461718be2df77a19cc822f1f4f2953e13f3",
+ "application_id": 503,
+ "token": "c30f1d24a8c10e0fd3e36bc4fe79631025e890849b7deb6dc830e31a3c571393",
"expires_in": null,
- "revoked_at": "2015-04-07T20:51:38.223Z",
- "created_at": "2015-04-02T22:35:55.225Z",
- "oauth_access_token_id": 11,
- "application_name": "Great FUN - Connexions",
- "application_owner_id": 9,
+ "revoked_at": null,
+ "created_at": "2015-05-04T18:51:26.621Z",
+ "oauth_access_token_id": 523,
+ "application_name": "TCICP Travel Services (pcid:200073)",
+ "application_owner_id": 503,
"application_owner_type": "Program",
- "program_id": 106,
- "program_name": "Great FUN",
- "program_customer_identifier": "10792",
- "program_start_dts": "2012-04-12T21:10:31.633Z",
- "program_end_dts": "2025-12-31T00:00:00.000Z",
- "organization_id": 100,
- "organization_name": "AFFINION",
- "organization_customer_identifier": "100",
- "filter_id": 3,
- "filter_name": "All Categories except EDUCATION ONLY",
- "filter": "{\"offers\":[{\"terms\":{\"offer_set\":[\"DISCOUNT\"]}},{\"or\":[{\"terms\":{\"categories.category_key\":[51,58,54,60,39,59,48,53,1039,44,56,50,45,55,38]}},{\"terms\":{\"categories.category_parent_key\":[51,58,54,60,39,59,48,53,1039,44,56,50,45,55,38]}}]}],\"categories\":[{\"or\":[{\"terms\":{\"category_key\":[51,58,54,60,39,59,48,53,1039,44,56,50,45,55,38]}},{\"terms\":{\"category_parent_key\":[51,58,54,60,39,59,48,53,1039,44,56,50,45,55,38]}}]}],\"stores\":[{\"or\":[{\"terms\":{\"store_categories.category_key\":[51,58,54,60,39,59,48,53,1039,44,56,50,45,55,38]}},{\"terms\":{\"store_categories.category_parent_key\":[51,58,54,60,39,59,48,53,1039,44,56,50,45,55,38]}}]}],\"locations\":[{\"or\":[{\"terms\":{\"location_categories.category_key\":[51,58,54,60,39,59,48,53,1039,44,56,50,45,55,38]}},{\"terms\":{\"location_categories.category_parent_key\":[51,58,54,60,39,59,48,53,1039,44,56,50,45,55,38]}}]}]}",
- "program_filter_id": 2,
+ "program_id": 253970117,
+ "program_name": "TCICP Travel Services",
+ "program_customer_identifier": "200073",
+ "program_start_dts": "2015-05-04T12:51:07.219Z",
+ "program_end_dts": "2015-12-04T00:00:00.000Z",
+ "organization_id": 2001964,
+ "organization_name": "TCICP Travel Services",
+ "organization_customer_identifier": "2001964",
+ "filter_id": 23,
+ "filter_name": "ACCESS PERKS - PROFESSIONAL (auto, car rental, dining, entertainment/rec, health/beauty, hotel, shopping)",
+ "filter": "{\"offers\":[{\"term\":{\"offer_set\":\"DISCOUNT\"}},{\"bool\":{\"should\":[{\"terms\":{\"categories.category_key\":[51,58,39,59,53,44,45]}},{\"terms\":{\"categories.category_parent_key\":[51,58,39,59,53,44,45]}}]}}],\"categories\":[{\"bool\":{\"should\":[{\"terms\":{\"category_key\":[51,58,39,59,53,44,45]}},{\"terms\":{\"category_parent_key\":[51,58,39,59,53,44,45]}}]}}],\"stores\":[{\"bool\":{\"should\":[{\"terms\":{\"store_categories.category_key\":[51,58,39,59,53,44,45]}},{\"terms\":{\"store_categories.category_parent_key\":[51,58,39,59,53,44,45]}}]}}],\"locations\":[{\"bool\":{\"should\":[{\"terms\":{\"location_categories.category_key\":[51,58,39,59,53,44,45]}},{\"terms\":{\"location_categories.category_parent_key\":[51,58,39,59,53,44,45]}}]}}]}",
+ "program_filter_id": 502,
"domains": [
],
"application_scopes": [
- "api",
- "amt",
- "docs",
- "internal"
+ "api"
],
- "token_status": "revoked"
+ "token_status": "inactive"
}
]
}
http_version:
- recorded_at: Mon, 22 Feb 2016 23:26:16 GMT
-recorded_with: VCR 3.0.1
+ recorded_at: Sun, 01 Jul 2018 04:24:22 GMT
+recorded_with: VCR 4.0.0