--- http_interactions: - request: method: get uri: https://token-demo.adcrws.com/v1/tokens?per_page=1 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, 16 Sep 2015 20:13:59 GMT Etag: - '"5992f26524404981212c22eaf981a568"' Server: - nginx/1.6.2 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 56ef32f3-5361-4814-818c-b1ef54dee1f2 X-Runtime: - '0.018595' X-Xss-Protection: - 1; mode=block Content-Length: - '2181' Connection: - keep-alive body: encoding: UTF-8 string: |- { "info": { "total_results": 546, "results_per_page": 1, "current_page": 1, "total_pages": 546 }, "oauth_tokens": [ { "application_id": 837, "token": "6a83e8e361cdd3eba145ccbabf05e65e8f3fa15544f808caa44aaf7f43e13e1f", "expires_in": null, "revoked_at": null, "created_at": "2015-09-16T11:50:27.755-06:00", "oauth_access_token_id": 959, "application_name": "Breakaway Loyalty (pcid: 8983)", "application_owner_id": 487, "application_owner_type": "Program", "program_id": 487, "program_name": "Breakaway Loyalty", "program_customer_identifier": "8983", "program_start_dts": "2012-04-12T15:10:31.634-06:00", "program_end_dts": "2018-12-30T17:00:00.000-07:00", "organization_id": 2000153, "organization_name": "BreakawaLoyalty", "organization_customer_identifier": "WEivv", "filter_id": 35, "filter_name": "Dining, Entertainment, Health/Beauty, Hotel, Services, Shopping", "filter": "{\"offers\":[{\"terms\":{\"offer_set\":[\"DISCOUNT\"]}},{\"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]}}]}],\"locations\":[{\"or\":[{\"terms\":{\"location_categories.category_key\":[39,59,53,44,50,45]}},{\"terms\":{\"location_categories.category_parent_key\":[39,59,53,44,50,45]}}]}]}", "program_filter_id": 169, "domains": [ ], "application_scopes": [ "api", "docs" ], "indexed_at": "2015-09-16T20:12:03.020Z", "token_status": "valid", "links": { "show_oauth_token": "http://token-demo.adcrws.com/v1/tokens/6a83e8e361cdd3eba145ccbabf05e65e8f3fa15544f808caa44aaf7f43e13e1f" } } ], "links": { "next_page": "https://token-demo.adcrws.com/v1/tokens?page=2&per_page=1" } } http_version: recorded_at: Wed, 16 Sep 2015 20:13:59 GMT recorded_with: VCR 2.9.3