--- http_interactions: - request: method: get uri: https://token-demo.adcrws.com/v1/oauth_applications?query=pizza 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: - Sat, 01 Aug 2015 03:53:57 GMT Etag: - '"f1d419c272d9447f94e71973ad66ddfd"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 9da518fa-992d-4eb6-8c15-cb8883892779 X-Runtime: - '0.084186' X-Xss-Protection: - 1; mode=block Content-Length: - '5397' Connection: - keep-alive body: encoding: UTF-8 string: |- { "info": { "total_results": 701, "results_per_page": 10, "current_page": 1, "total_pages": 71 }, "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" } }, { "id": 31, "name": "IGIFT Back", "owner_id": 234482199, "owner_type": "Program", "domain_urls": "localhost, plus.igiftback.org, plus.igiftback.net", "scopes": [ "api" ], "active_tokens": [ "50e34a00a8a0a7468c2d408b3564c78416c7397fda95fcd391d2e0f139152f2c" ], "filter": { "filter_id": 39, "filter_name": "iGiftBack - Auto, Dining, Entertainment, Golf, Home/Garden, Movies, Services, Shopping, Instore Print ONLY" }, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/31" } }, { "id": 649, "name": "amt-test", "owner_id": 230907234, "owner_type": "Program", "domain_urls": null, "scopes": [ "amt" ], "active_tokens": [ "7a044e366ee35284cc57dd02f5468f2f96f411e0df09ea37dad36a3581e64510" ], "filter": { "filter_id": 16, "filter_name": "No Content Filter" }, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/649" } }, { "id": 32, "name": "Rewards for Recycling", "owner_id": 1090, "owner_type": "Program", "domain_urls": "www.rizzorewards.com,www.emterrarewards.com,r4rnet.com", "scopes": [ ], "active_tokens": [ "fab2e7ffa62f0059929fa8296ae0f82d96f33ec0aa51905d31fcb805e5d6fc5c", "b33f6659908758aee9132f7fac7f39ec93a4b6ee92f8201e06d5e39691ae20e2" ], "filter": { "filter_id": 33, "filter_name": "Auto, Car Rental, Cruise, Dining, Entertainment, Golf, Health/Beauty, Home/Garden, Hotel, Movies, Services, Shopping, Travel" }, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/32" } }, { "id": 653, "name": "DreamWorld", "owner_id": 339, "owner_type": "Program", "domain_urls": null, "scopes": [ ], "active_tokens": [ "2c863bc19218e8ad834b53b2c322c861ba0923173c082f8a83143a1cb33cc71c" ], "filter": { "filter_id": 38, "filter_name": "All Categories except EDUCATION ONLY" }, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/653" } }, { "id": 15, "name": "RetailMeNot", "owner_id": 191718123, "owner_type": "Program", "domain_urls": null, "scopes": [ ], "active_tokens": [ "d9bf1c1741f07b96389fae9377f54de3b237e0b64a1e3dc07f2615bd7fa5874d" ], "filter": { "filter_id": 14, "filter_name": "Retail Me Not" }, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/15" } }, { "id": 14, "name": "Viggle", "owner_id": 2192, "owner_type": "Program", "domain_urls": null, "scopes": [ "api" ], "active_tokens": [ "3ad8453fbb347995e648d8925c6582073d043b2dff2332082be90e5b9c23b440" ], "filter": { "filter_id": 13, "filter_name": "VIGGLE" }, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/14" } }, { "id": 18, "name": "SaveOn Resorts", "owner_id": 215, "owner_type": "Program", "domain_urls": null, "scopes": [ ], "active_tokens": [ "cec4ead0e094d3b27e2d82e8684503a6c2ccb2a01e27c3e8df107fc76cc4c372" ], "filter": null, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/18" } }, { "id": 654, "name": "API CREATE TEST", "owner_id": 161, "owner_type": "Program", "domain_urls": null, "scopes": [ "admin", "api", "public" ], "active_tokens": [ "42502aed0cb85ed4df362ccb60ec431c70201bd51aa68afaf5570b5fcff3cc42" ], "filter": null, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/654" } }, { "id": 655, "name": "TEST TEST", "owner_id": 1234, "owner_type": "Program", "domain_urls": null, "scopes": [ "api" ], "active_tokens": [ "7d584cd25a6ff1477d135d61e8132ef576b4da90cabed63b8bf1e3e98078db49" ], "filter": null, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/655" } } ], "links": { "next_page": "https://report-demo.adcrws.com/v1/oauth_applications?page=2" } } http_version: recorded_at: Sat, 01 Aug 2015 03:53:58 GMT - request: method: get uri: https://offer-demo.adcrws.com/v1/locations body: encoding: UTF-8 string: query=pizza headers: Access-Token: - token_without_limit Content-Type: - application/json Accept: - application/json response: status: code: 400 message: Bad Request headers: Content-Type: - application/json Date: - Thu, 06 Aug 2015 17:30:00 GMT Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Request-Id: - def56b52-a451-4b76-ab85-313ae8e5e77d X-Runtime: - '0.000289' Content-Length: - '112' Connection: - keep-alive body: encoding: UTF-8 string: '{"status":400,"message":"There was a problem in the JSON you submitted: 795: unexpected token at ''query=pizza''"}' http_version: recorded_at: Thu, 06 Aug 2015 17:30:00 GMT - request: method: get uri: https://offer-demo.adcrws.com/v1/locations?query=pizza body: encoding: US-ASCII string: '' headers: Access-Token: - token_without_limit Content-Type: - application/json Accept: - application/json response: status: code: 401 message: Unauthorized 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: - Wed, 12 Aug 2015 17:46:43 GMT Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - d9b887e8-6813-44b4-bed9-313d1f057b21 X-Runtime: - '0.007667' X-Xss-Protection: - 1; mode=block Content-Length: - '77' Connection: - keep-alive body: encoding: UTF-8 string: |- { "message": "Must include a member_key to see details.", "status": 401 } http_version: recorded_at: Wed, 12 Aug 2015 17:46:43 GMT recorded_with: VCR 2.9.3