--- http_interactions: - request: method: get uri: https://token-demo.adcrws.com/v1/oauth_applications?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: - Tue, 04 Aug 2015 21:50:51 GMT Etag: - '"8fa469d403d7fcb9d329bd7519c95141"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 241554ee-0024-41e3-961f-54373b0c8e21 X-Runtime: - '0.043381' X-Xss-Protection: - 1; mode=block Content-Length: - '778' Connection: - keep-alive body: encoding: UTF-8 string: |- { "info": { "total_results": 702, "results_per_page": 1, "current_page": 1, "total_pages": 702 }, "oauth_applications": [ { "id": 22, "name": "American Grandparents Association", "owner_id": 235308134, "owner_type": "Program", "domain_urls": null, "scopes": [ "api", "docs" ], "active_tokens": [ "e4db3fb9a054e78807c431e837c49a59553c73204de91d404fe43d12c247f805" ], "filter": { "filter_id": 18, "filter_name": "Grandparents" }, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/22" } } ], "links": { "next_page": "https://report-demo.adcrws.com/v1/oauth_applications?page=2" } } http_version: recorded_at: Tue, 04 Aug 2015 21:50:51 GMT - request: method: get uri: https://token-demo.adcrws.com/v1/oauth_applications/22/access_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, 05 Aug 2015 20:13:10 GMT Etag: - '"146748ca69664715e70d06b5a2a46e80"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - dd4fc36f-292c-4e7a-8257-1803a56ae929 X-Runtime: - '0.062111' X-Xss-Protection: - 1; mode=block Content-Length: - '2806' Connection: - keep-alive body: encoding: UTF-8 string: |- { "access_tokens": [ { "application_id": 22, "token": "e4db3fb9a054e78807c431e837c49a59553c73204de91d404fe43d12c247f805", "expires_in": null, "revoked_at": null, "created_at": "2015-01-21T22:43:31.006Z", "oauth_access_token_id": 43, "application_name": "American Grandparents Association", "application_owner_id": 22, "application_owner_type": "Program", "program_id": 235308134, "program_name": "American Grandparents Association", "program_customer_identifier": "102149", "program_start_dts": "2015-01-21T15:12:55.570Z", "program_end_dts": "2018-01-21T15:12:56.000Z", "organization_id": 2001959, "organization_name": "American Grandparents Association", "organization_customer_identifier": "2001923", "filter_id": 18, "filter_name": "Grandparents", "filter": "{\"offers\":[{\"or\":[{\"terms\":{\"categories.category_key\":[39,44,48,59,1039,54,45,50]}},{\"terms\":{\"categories.category_parent_key\":[39,44,48,59,1039,54,45,50]}}]}],\"categories\":[{\"or\":[{\"terms\":{\"category_key\":[39,44,48,59,1039,54,45,50]}},{\"terms\":{\"category_parent_key\":[39,44,48,59,1039,54,45,50]}}]}],\"stores\":[{\"or\":[{\"terms\":{\"store_categories.category_key\":[39,44,48,59,1039,54,45,50]}},{\"terms\":{\"store_categories.category_parent_key\":[39,44,48,59,1039,54,45,50]}}]}]}", "program_filter_id": { "filter_id": 18, "filter_name": "Grandparents", "filter": "---\noffers:\n- or:\n - terms:\n categories.category_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\n - terms:\n categories.category_parent_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\ncategories:\n- or:\n - terms:\n category_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\n - terms:\n category_parent_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\nstores:\n- or:\n - terms:\n store_categories.category_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\n - terms:\n store_categories.category_parent_key:\n - 39\n - 44\n - 48\n - 59\n - 1039\n - 54\n - 45\n - 50\n", "modified_dts": "2015-06-03T17:31:13.774Z", "created_dts": "2015-02-26T13:18:12.299Z" }, "domains": [ ], "application_scopes": [ "api", "docs" ], "token_status": "valid", "links": { "show_token": "https://token-demo.adcrws.com/v1/oauth_applications/22/access_tokens/43" } } ] } http_version: recorded_at: Wed, 05 Aug 2015 20:13:09 GMT - 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: - Thu, 27 Aug 2015 20:17:44 GMT Etag: - '"4a33f2b5943bfd3438970cae83dd51c8"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - e5816558-d8ed-432e-8f68-b1f46bb560b8 X-Runtime: - '0.016229' X-Xss-Protection: - 1; mode=block Content-Length: - '1453' Connection: - keep-alive body: encoding: UTF-8 string: |- { "info": { "total_results": 559, "results_per_page": 1, "current_page": 1, "total_pages": 559 }, "oauth_tokens": [ { "application_id": 831, "token": "aa6f03c7f3a497fea502bf97fe72817b8e20d7dd30919c237e14ed4fdf38cb4d", "expires_in": null, "revoked_at": null, "created_at": "2015-08-25T14:06:53.316-06:00", "oauth_access_token_id": 954, "application_name": "RWS API - No Filters No Limit (pcid:200156)", "application_owner_id": 235589813, "application_owner_type": "Program", "program_id": 235589813, "program_name": "RWS API - No Filters No Limit", "program_customer_identifier": "200156", "program_start_dts": "2015-08-25T13:21:27.622-06:00", "program_end_dts": "2018-08-25T13:21:27.622-06:00", "organization_id": 160, "organization_name": "Access Development", "organization_customer_identifier": "160", "filter_id": null, "filter_name": null, "filter": null, "program_filter_id": null, "domains": [ ], "application_scopes": [ ], "indexed_at": "2015-08-25T20:09:31.012Z", "token_status": "valid", "links": { "show_oauth_token": "http://token-demo.adcrws.com/v1/tokens/aa6f03c7f3a497fea502bf97fe72817b8e20d7dd30919c237e14ed4fdf38cb4d" } } ], "links": { "next_page": "https://token-demo.adcrws.com/v1/tokens?page=2&per_page=1" } } http_version: recorded_at: Thu, 27 Aug 2015 20:17:44 GMT recorded_with: VCR 2.9.3