--- http_interactions: - request: method: get uri: https://token-demo.adcrws.com/v1/tokens?per_page=1 body: encoding: US-ASCII string: '' headers: Access-Token: - ACCESS_TOKEN Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: 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-Request-Method: - GET Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Max-Age: - '1728000' Etag: - '"38db106c4024306cf87b6749fe0db93e"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - ea4b18c1-2aac-4e25-94fc-7a368fc99803 X-Runtime: - '0.017168' body: encoding: UTF-8 string: |- { "info": { "total_results": 500, "results_per_page": 1, "current_page": 1, "total_pages": 500 }, "oauth_tokens": [ { "application_id": 892, "token": "c149adfd4e61ca38301cb0ef4e5a28a653790fdc638e24917e61759ee267e793", "expires_in": null, "revoked_at": null, "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": 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": [ ], "application_scopes": [ "api", "docs", "internal" ], "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", "links": { "show_oauth_token": "http://token-demo.adcrws.com/v1/tokens/c149adfd4e61ca38301cb0ef4e5a28a653790fdc638e24917e61759ee267e793" } } ], "links": { "next_page": "https://token-demo.adcrws.com/v1/tokens?page=2&per_page=1" } } http_version: recorded_at: Thu, 21 Jan 2016 18:34:33 GMT recorded_with: VCR 3.0.0