test/fixtures/token_find.yml in access-2.0.3 vs test/fixtures/token_find.yml in access-2.0.4

- old
+ new

@@ -330,6 +330,95 @@ "token_status": "valid" } } http_version: recorded_at: Thu, 27 Aug 2015 20:17:44 GMT +- request: + method: get + uri: https://token-demo.adcrws.com/v1/tokens/fb6e8034ec9970144e4e68eb3c8c7e84041695626eb3bbeac53a8335bf4cba68 + body: + encoding: US-ASCII + string: '' + headers: + Access-Token: + - token_without_limit + Content-Type: + - application/json + Accept: + - application/json + response: + status: + code: 200 + message: OK + headers: + Access-Control-Allow-Headers: + - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token + Access-Control-Allow-Methods: + - POST, GET, PUT, DELETE, OPTIONS + Access-Control-Max-Age: + - '1728000' + Access-Control-Request-Method: + - GET + Cache-Control: + - max-age=0, private, must-revalidate + Content-Type: + - application/json + Date: + - Fri, 11 Sep 2015 20:33:08 GMT + Etag: + - '"93cb5c6783a6c532d926e52e793451af"' + Server: + - nginx/1.6.2 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-Request-Id: + - 9eb7291d-261f-41db-a4a3-777a44a5809e + X-Runtime: + - '0.016039' + X-Xss-Protection: + - 1; mode=block + Transfer-Encoding: + - chunked + Connection: + - keep-alive + body: + encoding: UTF-8 + string: |- + { + "oauth_token": { + "application_id": 836, + "token": "fb6e8034ec9970144e4e68eb3c8c7e84041695626eb3bbeac53a8335bf4cba68", + "expires_in": null, + "revoked_at": null, + "created_at": "2015-09-08T11:02:21.256-06:00", + "oauth_access_token_id": 958, + "application_name": "Essenza Software (pcid:200110)", + "application_owner_id": 235589831, + "application_owner_type": "Program", + "program_id": 235589831, + "program_name": "Essenza Software", + "program_customer_identifier": "200110", + "program_start_dts": "2015-09-08T11:02:45.215-06:00", + "program_end_dts": "2018-09-08T11:02:45.215-06:00", + "organization_id": 2002090, + "organization_name": "Essenza Software", + "organization_customer_identifier": "147852", + "filter_id": 82, + "filter_name": "Auto, Dining, Entertainment, Golf, Health/Beauty, Home/Garden, Hotel, Movies, Services, Shopping, Travel", + "filter": "{\"offers\":[{\"terms\":{\"offer_set\":[\"DISCOUNT\"]}},{\"or\":[{\"terms\":{\"categories.category_key\":[51,39,59,48,53,1039,44,56,50,45,38]}},{\"terms\":{\"categories.category_parent_key\":[51,39,59,48,53,1039,44,56,50,45,38]}}]}],\"categories\":[{\"or\":[{\"terms\":{\"category_key\":[51,39,59,48,53,1039,44,56,50,45,38]}},{\"terms\":{\"category_parent_key\":[51,39,59,48,53,1039,44,56,50,45,38]}}]}],\"stores\":[{\"or\":[{\"terms\":{\"store_categories.category_key\":[51,39,59,48,53,1039,44,56,50,45,38]}},{\"terms\":{\"store_categories.category_parent_key\":[51,39,59,48,53,1039,44,56,50,45,38]}}]}],\"locations\":[{\"or\":[{\"terms\":{\"location_categories.category_key\":[51,39,59,48,53,1039,44,56,50,45,38]}},{\"terms\":{\"location_categories.category_parent_key\":[51,39,59,48,53,1039,44,56,50,45,38]}}]}]}", + "program_filter_id": 168, + "domains": [ + + ], + "application_scopes": [ + "api", + "docs" + ], + "indexed_at": "2015-09-08T17:06:31.036Z", + "token_status": "valid" + } + } + http_version: + recorded_at: Fri, 11 Sep 2015 20:33:08 GMT recorded_with: VCR 2.9.3