test/fixtures/token_search.yml in access-2.0.9 vs test/fixtures/token_search.yml in access-2.0.10

- old
+ new

@@ -6,11 +6,11 @@ body: encoding: US-ASCII string: '' headers: Access-Token: - - token_without_filters + - token_without_limit Content-Type: - application/json Accept: - application/json response: @@ -29,42 +29,38 @@ Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json Date: - - Wed, 16 Sep 2015 19:54:10 GMT + - Wed, 16 Sep 2015 20:13:59 GMT Etag: - - '"dc31789028a2cb115aeaeb41f2eebd52"' + - '"5992f26524404981212c22eaf981a568"' Server: - nginx/1.6.2 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN - X-Ratelimit-Limit: - - '1000' - X-Ratelimit-Remaining: - - '959' X-Request-Id: - - 343f042d-c35b-446b-8f82-46c48cfc717c + - 56ef32f3-5361-4814-818c-b1ef54dee1f2 X-Runtime: - - '0.017972' + - '0.018595' X-Xss-Protection: - 1; mode=block Content-Length: - - '1417' + - '2181' Connection: - keep-alive body: encoding: UTF-8 string: |- { "info": { - "total_results": 552, + "total_results": 546, "results_per_page": 1, "current_page": 1, - "total_pages": 552 + "total_pages": 546 }, "oauth_tokens": [ { "application_id": 837, "token": "6a83e8e361cdd3eba145ccbabf05e65e8f3fa15544f808caa44aaf7f43e13e1f", @@ -81,21 +77,22 @@ "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": null, - "filter_name": null, - "filter": null, - "program_filter_id": null, + "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-16T17:50:06.034Z", + "indexed_at": "2015-09-16T20:12:03.020Z", "token_status": "valid", "links": { "show_oauth_token": "http://token-demo.adcrws.com/v1/tokens/6a83e8e361cdd3eba145ccbabf05e65e8f3fa15544f808caa44aaf7f43e13e1f" } } @@ -103,7 +100,7 @@ "links": { "next_page": "https://token-demo.adcrws.com/v1/tokens?page=2&per_page=1" } } http_version: - recorded_at: Wed, 16 Sep 2015 19:54:10 GMT + recorded_at: Wed, 16 Sep 2015 20:13:59 GMT recorded_with: VCR 2.9.3