test/vcr/cassettes/token_find.yml in access-2.0.41 vs test/vcr/cassettes/token_find.yml in access-2.0.42

- old
+ new

@@ -1,10 +1,10 @@ --- http_interactions: - request: method: get - uri: https://token-demo.adcrws.com/v1/tokens/8e4a1810f9c5b63596f239b1d9ce23cbed89c720f36b3e3f6b364a4c6f655834 + uri: https://token-demo.adcrws.com/v1/tokens/c149adfd4e61ca38301cb0ef4e5a28a653790fdc638e24917e61759ee267e793 body: encoding: US-ASCII string: '' headers: Access-Token: @@ -16,78 +16,84 @@ response: status: code: 200 message: OK headers: - Access-Control-Allow-Headers: - - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token + Server: + - nginx/1.8.0 + Date: + - Thu, 21 Jan 2016 18:34:28 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: + - nosniff Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS - Access-Control-Max-Age: - - '1728000' Access-Control-Request-Method: - GET + Access-Control-Allow-Headers: + - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token + Access-Control-Max-Age: + - '1728000' + Etag: + - '"196469218886809c88975deb6b28c785"' Cache-Control: - max-age=0, private, must-revalidate - Content-Type: - - application/json - Date: - - Tue, 06 Oct 2015 20:05:00 GMT - Etag: - - '"004c710ab43109a642e53925eb679657"' - Server: - - nginx/1.6.2 - X-Content-Type-Options: - - nosniff - X-Frame-Options: - - SAMEORIGIN X-Request-Id: - - 32f226d3-e978-4e78-8c90-d9d4748db931 + - 9f5cc9a7-b3d6-410b-9f86-86433df919e0 X-Runtime: - - '0.015083' - X-Xss-Protection: - - 1; mode=block - Content-Length: - - '2100' - Connection: - - keep-alive + - '0.016711' body: encoding: UTF-8 string: |- { "oauth_token": { - "application_id": 851, - "token": "8e4a1810f9c5b63596f239b1d9ce23cbed89c720f36b3e3f6b364a4c6f655834", + "application_id": 892, + "token": "c149adfd4e61ca38301cb0ef4e5a28a653790fdc638e24917e61759ee267e793", "expires_in": null, "revoked_at": null, - "created_at": "2015-10-05T16:16:29.788-06:00", - "oauth_access_token_id": 977, - "application_name": "World Discovery Club (pcid 4485)", - "application_owner_id": 374, + "created_at": "2016-01-21T09:02:12.021-07:00", + "oauth_access_token_id": 1023, + "application_name": "American Saver (pcid:200214)", + "application_owner_id": 235590205, "application_owner_type": "Program", - "program_id": 374, - "program_name": "World Discovery Club", - "program_customer_identifier": "4485", - "program_start_dts": "2012-04-12T15:10:31.634-06:00", - "program_end_dts": "2018-12-30T17:00:00.000-07:00", - "organization_id": 2000140, - "organization_name": "WORLD DISCOVERY, LLC", - "organization_customer_identifier": "ps3gr", - "filter_id": 88, - "filter_name": "Auto, Car Rental, Cruise, Dining, Entertainment, Golf, Health/Beauty, Home/Garden, Hotel, Movies, Services, Shopping, Ski, Travel (No Condo, Education Only)", - "filter": "{\"offers\":[{\"terms\":{\"offer_set\":[\"DISCOUNT\"]}},{\"or\":[{\"terms\":{\"categories.category_key\":[51,58,60,39,59,48,53,1039,44,56,50,45,55,38]}},{\"terms\":{\"categories.category_parent_key\":[51,58,60,39,59,48,53,1039,44,56,50,45,55,38]}}]}],\"categories\":[{\"or\":[{\"terms\":{\"category_key\":[51,58,60,39,59,48,53,1039,44,56,50,45,55,38]}},{\"terms\":{\"category_parent_key\":[51,58,60,39,59,48,53,1039,44,56,50,45,55,38]}}]}],\"stores\":[{\"or\":[{\"terms\":{\"store_categories.category_key\":[51,58,60,39,59,48,53,1039,44,56,50,45,55,38]}},{\"terms\":{\"store_categories.category_parent_key\":[51,58,60,39,59,48,53,1039,44,56,50,45,55,38]}}]}],\"locations\":[{\"or\":[{\"terms\":{\"location_categories.category_key\":[51,58,60,39,59,48,53,1039,44,56,50,45,55,38]}},{\"terms\":{\"location_categories.category_parent_key\":[51,58,60,39,59,48,53,1039,44,56,50,45,55,38]}}]}]}", - "program_filter_id": 184, + "program_id": 235590205, + "program_name": "American Saver", + "program_customer_identifier": "200214", + "program_start_dts": "2016-01-21T08:56:00.731-07:00", + "program_end_dts": "2019-01-21T08:56:00.731-07:00", + "organization_id": 2000703, + "organization_name": "TriQuest LLc", + "organization_customer_identifier": "1176", + "filter_id": 93, + "filter_name": " Demo API filter - SLC Shopping", + "filter": "{\"offers\":[{\"terms\":{\"offer_set\":[\"DISCOUNT\"]}},{\"terms\":{\"offer_store.physical_location.postal_code\":[84029,84096,84133,84141,84020,84105,84129,84152,84009,84071,84108,84119,84134,84148,84170,84090,84101,84111,84121,84124,84189,84069,84093,84115,84125,84095,84128,84143,84184,84047,84080,84083,84118,84126,84147,84165,84084,84094,84104,84112,84158,84120,84136,84199,84034,84114,84139,84145,84190,84006,84091,84102,84113,84130,84138,84151,84065,84092,84103,84117,84122,84180,84107,84116,84044,84070,84109,84127,84157,84106,84123,84131,84150,84171,84022,84074,84081,84088,84110,84132]}},{\"or\":[{\"terms\":{\"categories.category_parent_key\":[45]}}]}],\"categories\":[{\"not\":{\"or\":[{\"terms\":{\"category_parent_key\":[39,51,58,44,54,60,1113,59,48,53,1039,56,50,55,38]}}]}}],\"stores\":[{\"or\":[{\"terms\":{\"store_categories.category_parent_key\":[45]}}]}],\"locations\":[{\"terms\":{\"physical_location.postal_code\":[84029,84096,84133,84141,84020,84105,84129,84152,84009,84071,84108,84119,84134,84148,84170,84090,84101,84111,84121,84124,84189,84069,84093,84115,84125,84095,84128,84143,84184,84047,84080,84083,84118,84126,84147,84165,84084,84094,84104,84112,84158,84120,84136,84199,84034,84114,84139,84145,84190,84006,84091,84102,84113,84130,84138,84151,84065,84092,84103,84117,84122,84180,84107,84116,84044,84070,84109,84127,84157,84106,84123,84131,84150,84171,84022,84074,84081,84088,84110,84132]}},{\"or\":[{\"terms\":{\"location_categories.category_parent_key\":[45]}}]}]}", + "program_filter_id": 218, "domains": [ - "*.worlddiscoveryclub.com" + ], "application_scopes": [ - "amt", + "api", "docs", "internal" ], - "indexed_at": "2015-10-06T15:49:13.970Z", + "help_phone_number": "1-800-331-8867", + "program_info_id": 235590205, + "default_distance": 25, + "force_update": false, + "color_theme": "default", + "email_opt_out": false, + "indexed_at": "2016-01-21T17:27:34.106Z", "token_status": "valid" } } http_version: - recorded_at: Tue, 06 Oct 2015 20:05:00 GMT -recorded_with: VCR 2.9.3 + recorded_at: Thu, 21 Jan 2016 18:34:32 GMT +recorded_with: VCR 3.0.0