--- http_interactions: - request: method: get uri: https://token-demo.adcrws.com/v1/tokens/941 body: encoding: US-ASCII string: '' headers: Access-Token: - token_without_limit Content-Type: - application/json Accept: - application/json response: status: code: 422 message: Unprocessable Entity 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: - no-cache Content-Type: - application/json Date: - Fri, 07 Aug 2015 16:34:02 GMT Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 16d445f1-8383-46da-b02a-75849536b08b X-Runtime: - '0.014046' X-Xss-Protection: - 1; mode=block Content-Length: - '56' Connection: - keep-alive body: encoding: UTF-8 string: |- { "message": "Token not found: 941", "status": 422 } http_version: recorded_at: Fri, 07 Aug 2015 16:34:02 GMT - request: method: get uri: https://token-demo.adcrws.com/v1/tokens/ec394658d69d9aea0d6de68a51b801523dac578caf91ae4d9fbc5fe9a1ffcd33 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, 07 Aug 2015 16:56:22 GMT Etag: - '"2e3fd95c8eccb9e493ba6f48dfd991e3"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - ea7fd0cf-b13f-4f3a-8cb2-5f1d52c8c687 X-Runtime: - '0.011826' X-Xss-Protection: - 1; mode=block Content-Length: - '1473' Connection: - keep-alive body: encoding: UTF-8 string: |- { "oauth_token": { "application_id": 824, "token": "ec394658d69d9aea0d6de68a51b801523dac578caf91ae4d9fbc5fe9a1ffcd33", "expires_in": null, "revoked_at": null, "created_at": "2015-08-04T10:14:54.011-06:00", "oauth_access_token_id": 941, "application_name": "Savings.com (pcid:200089)", "application_owner_id": 235589788, "application_owner_type": "Program", "program_id": 235589788, "program_name": "Savings.com", "program_customer_identifier": "200089", "program_start_dts": "2015-08-04T10:15:40.012-06:00", "program_end_dts": "2018-08-04T10:15:40.012-06:00", "organization_id": 2002086, "organization_name": "Savings.com", "organization_customer_identifier": "2002086", "filter_id": 38, "filter_name": "All Categories except EDUCATION ONLY", "filter": "{\"offers\":[{\"not\":{\"or\":[{\"terms\":{\"categories.category_key\":[1113]}},{\"terms\":{\"categories.category_parent_key\":[1113]}}]}}],\"categories\":[{\"not\":{\"or\":[{\"terms\":{\"category_key\":[1113]}},{\"terms\":{\"category_parent_key\":[1113]}}]}}],\"stores\":[{\"not\":{\"or\":[{\"terms\":{\"store_categories.category_key\":[1113]}},{\"terms\":{\"store_categories.category_parent_key\":[1113]}}]}}]}", "program_filter_id": 157, "domains": [ "*.showitandsave.com" ], "application_scopes": [ "api", "docs" ], "indexed_at": "2015-08-04T19:20:08.365Z", "token_status": "valid" } } http_version: recorded_at: Fri, 07 Aug 2015 16:56:23 GMT - request: method: get uri: https://token-demo.adcrws.com/v1/tokens/fcf4e7ee693a61155d1a40a0ca7577cc95ec785742a0ca295503185e290711e4 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: - Wed, 12 Aug 2015 17:46:36 GMT Etag: - '"459e7da3098aceaf5599a480d73ceccd"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 867adab5-e81f-455d-8b52-c010560664c7 X-Runtime: - '0.014934' X-Xss-Protection: - 1; mode=block Content-Length: - '1530' Connection: - keep-alive body: encoding: UTF-8 string: |- { "oauth_token": { "application_id": 825, "token": "fcf4e7ee693a61155d1a40a0ca7577cc95ec785742a0ca295503185e290711e4", "expires_in": null, "revoked_at": null, "created_at": "2015-08-11T15:54:04.086-06:00", "oauth_access_token_id": 942, "application_name": "Loylogic (pcid:200090)", "application_owner_id": 235589794, "application_owner_type": "Program", "program_id": 235589794, "program_name": "Loylogic", "program_customer_identifier": "200090", "program_start_dts": "2015-08-11T15:54:45.783-06:00", "program_end_dts": "2018-08-11T15:54:45.783-06:00", "organization_id": 2001157, "organization_name": "Loylogic", "organization_customer_identifier": "2001157", "filter_id": 35, "filter_name": "Dining, Entertainment, Health/Beauty, Hotel, Services, Shopping", "filter": "{\"offers\":[{\"or\":[{\"terms\":{\"categories.category_key\":[39,59,53,44,50,45]}},{\"terms\":{\"categories.category_parent_key\":[39,59,53,44,50,45]}}]}],\"categories\":[{\"or\":[{\"terms\":{\"category_key\":[39,59,53,44,50,45]}},{\"terms\":{\"category_parent_key\":[39,59,53,44,50,45]}}]}],\"stores\":[{\"or\":[{\"terms\":{\"store_categories.category_key\":[39,59,53,44,50,45]}},{\"terms\":{\"store_categories.category_parent_key\":[39,59,53,44,50,45]}}]}]}", "program_filter_id": 158, "domains": [ ], "application_scopes": [ "api", "docs", "internal" ], "indexed_at": "2015-08-12T14:08:41.744Z", "token_status": "valid" } } http_version: recorded_at: Wed, 12 Aug 2015 17:46:36 GMT recorded_with: VCR 2.9.3