--- recorded_with: VCR 2.5.0 http_interactions: - request: method: post uri: http://api.brightbox.dev/token body: string: "{\"grant_type\":\"none\",\"client_id\":\"cli-12345\"}" headers: User-Agent: - fog/1.15.0 Content-Type: - application/json Authorization: - Basic Y2xpLTEyMzQ1OnF5Nnh4bnZ5NG8wdGd2NQ== response: status: code: 200 message: headers: X-Frame-Options: - sameorigin Date: - Fri, 06 Sep 2013 15:58:58 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - 3cfdad067b300b9787ffad7e12bb7d84 Content-Type: - application/json;charset=utf-8 X-Runtime: - "0.143104" Content-Length: - "77" ETag: - "\"1983bf38af3e5b331f98c65d9458eb40\"" X-XSS-Protection: - 1; mode=block Connection: - keep-alive Cache-Control: - no-store body: string: "{\"access_token\":\"1a37dd88bd5c6ca154ccc229b9d728526b098f02\",\"expires_in\":7200}" http_version: recorded_at: Fri, 06 Sep 2013 15:58:58 GMT - request: method: get uri: http://api.brightbox.dev/1.0/account body: string: "" headers: User-Agent: - fog/1.15.0 Content-Type: - application/json Authorization: - OAuth 0ab4badeb10018d07c1f6c33690ee011f36b4183 response: status: code: 200 message: headers: Date: - Fri, 06 Sep 2013 15:58:58 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - 2afefb0f54674e62c869e1a00c037fdb Content-Type: - application/json; charset=utf-8 X-Runtime: - "0.096293" ETag: - "\"a9e93d5f3268805675b0c5c935311a85\"" Connection: - close Cache-Control: - max-age=0, private, must-revalidate body: string: "{\"id\":\"acc-12345\",\"resource_type\":\"account\",\"url\":\"https://api.gb1.brightbox.com/1.0/accounts/acc-12345\",\"name\":\"Aurnqfvgsbeyiprni\",\"status\":\"active\",\"address_1\":\"Kaycee Throughway\",\"address_2\":\"\",\"city\":\"South Hellenport\",\"county\":\"\",\"postcode\":\"60364-9886\",\"country_code\":\"GB\",\"country_name\":\"United Kingdom\",\"vat_registration_number\":\"\",\"telephone_number\":\"+444238318140\",\"telephone_verified\":false,\"verified_telephone\":null,\"verified_at\":null,\"verified_ip\":null,\"created_at\":\"2013-09-04T07:53:13Z\",\"ram_limit\":32768,\"ram_used\":0,\"cloud_ips_limit\":20,\"cloud_ips_used\":1,\"load_balancers_limit\":5,\"load_balancers_used\":0,\"valid_credit_card\":false,\"library_ftp_host\":\"ftp.library.gb1.brightbox.com\",\"library_ftp_user\":\"acc-12345\",\"library_ftp_password\":null,\"clients\":[{\"id\":\"cli-12345\",\"resource_type\":\"api_client\",\"url\":\"https://api.gb1.brightbox.com/1.0/api_clients/cli-12345\",\"name\":null,\"description\":null,\"revoked_at\":null}],\"images\":[],\"servers\":[],\"load_balancers\":[],\"cloud_ips\":[{\"id\":\"cip-12345\",\"resource_type\":\"cloud_ip\",\"url\":\"https://api.gb1.brightbox.com/1.0/cloud_ips/cip-12345\",\"status\":\"unmapped\",\"public_ip\":\"56.67.59.219\",\"reverse_dns\":\"cip-12345-67-59-219.gb1.brightbox.com\",\"name\":null}],\"server_groups\":[{\"id\":\"grp-12345\",\"resource_type\":\"server_group\",\"url\":\"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345\",\"name\":\"default\",\"description\":\"All new servers are added to this group unless specified otherwise.\",\"created_at\":\"2013-09-04T07:53:13Z\",\"default\":true}],\"firewall_policies\":[{\"id\":\"fwp-12345\",\"resource_type\":\"firewall_policy\",\"url\":\"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345\",\"default\":true,\"name\":\"default\",\"created_at\":\"2013-09-04T07:53:14Z\",\"description\":\"Applied to the default server group.\"}],\"owner\":{\"id\":\"usr-12345\",\"resource_type\":\"user\",\"url\":\"https://api.gb1.brightbox.com/1.0/users/usr-12345\",\"name\":\"Dylan Fay DDS\",\"email_address\":\"jason.null@brightbox.com\"},\"users\":[],\"zones\":[{\"id\":\"zon-12345\",\"resource_type\":\"zone\",\"url\":\"https://api.gb1.brightbox.com/1.0/zones/zon-12345\",\"handle\":\"gb1-a\"},{\"id\":\"zon-12345\",\"resource_type\":\"zone\",\"url\":\"https://api.gb1.brightbox.com/1.0/zones/zon-12345\",\"handle\":\"gb1-b\"}]}" http_version: recorded_at: Fri, 06 Sep 2013 15:58:58 GMT - request: method: get uri: http://api.brightbox.dev/1.0/accounts body: string: "" headers: User-Agent: - fog/1.15.0 Content-Type: - application/json Authorization: - OAuth 1a37dd88bd5c6ca154ccc229b9d728526b098f02 response: status: code: 401 message: headers: Date: - Tue, 17 Sep 2013 17:07:37 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - bb0ccf83a0a38c612f244e849ebccf2b Content-Type: - application/json; charset=utf-8 X-Runtime: - "0.022034" WWW-Authenticate: - OAuth error="invalid_token" Connection: - close Cache-Control: - no-cache body: string: "{\"error\":\"invalid_token\",\"error_description\":\"The OAuth token can not be found\"}" http_version: recorded_at: Tue, 17 Sep 2013 17:07:37 GMT - request: method: post uri: http://api.brightbox.dev/token body: string: "{\"grant_type\":\"none\",\"client_id\":\"cli-12345\"}" headers: User-Agent: - fog/1.15.0 Content-Type: - application/json Authorization: - Basic Y2xpLTEyMzQ1OnF5Nnh4bnZ5NG8wdGd2NQ== response: status: code: 200 message: headers: X-Frame-Options: - sameorigin Date: - Tue, 17 Sep 2013 17:07:37 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - 283553ccfd3ac3bc840721936366460c Content-Type: - application/json;charset=utf-8 X-Runtime: - "0.110243" Content-Length: - "77" ETag: - "\"d336ab2614d671174622556776834fdb\"" X-XSS-Protection: - 1; mode=block Connection: - keep-alive Cache-Control: - no-store body: string: "{\"access_token\":\"034e02defea3b2fd64258fa63e1ba25fc80194c0\",\"expires_in\":7200}" http_version: recorded_at: Tue, 17 Sep 2013 17:07:37 GMT - request: method: get uri: http://api.brightbox.dev/1.0/accounts body: string: "" headers: User-Agent: - fog/1.15.0 Content-Type: - application/json Authorization: - OAuth 034e02defea3b2fd64258fa63e1ba25fc80194c0 response: status: code: 200 message: headers: Date: - Tue, 17 Sep 2013 17:07:37 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - 082f5f3047be0c1f79a00228fc646c22 Content-Type: - application/json; charset=utf-8 X-Runtime: - "0.220104" ETag: - "\"7d4ad7857ea408897b8a2149197611ba\"" Connection: - close Cache-Control: - max-age=0, private, must-revalidate body: string: "[{\"id\":\"acc-12345\",\"resource_type\":\"account\",\"url\":\"https://api.gb1.brightbox.com/1.0/accounts/acc-12345\",\"name\":\"Asaibdsjnpdgrdcqo\",\"status\":\"active\",\"ram_limit\":32768,\"ram_used\":0,\"cloud_ips_limit\":20,\"cloud_ips_used\":1,\"load_balancers_limit\":5,\"load_balancers_used\":0,\"clients\":[{\"id\":\"cli-12345\",\"resource_type\":\"api_client\",\"url\":\"https://api.gb1.brightbox.com/1.0/api_clients/cli-12345\",\"name\":null,\"description\":null,\"revoked_at\":null}],\"images\":[],\"servers\":[],\"load_balancers\":[],\"cloud_ips\":[{\"id\":\"cip-12345\",\"resource_type\":\"cloud_ip\",\"url\":\"https://api.gb1.brightbox.com/1.0/cloud_ips/cip-12345\",\"status\":\"unmapped\",\"public_ip\":\"153.37.92.121\",\"reverse_dns\":\"cip-12345-37-92-121.gb1.brightbox.com\",\"name\":null}],\"server_groups\":[{\"id\":\"grp-12345\",\"resource_type\":\"server_group\",\"url\":\"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345\",\"name\":\"default\",\"description\":\"All new servers are added to this group unless specified otherwise.\",\"created_at\":\"2013-09-17T08:44:16Z\",\"default\":true}],\"firewall_policies\":[{\"id\":\"fwp-12345\",\"resource_type\":\"firewall_policy\",\"url\":\"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345\",\"default\":true,\"name\":\"default\",\"created_at\":\"2013-09-17T08:44:16Z\",\"description\":\"Applied to the default server group.\"}],\"owner\":{\"id\":\"usr-12345\",\"resource_type\":\"user\",\"url\":\"https://api.gb1.brightbox.com/1.0/users/usr-12345\",\"name\":\"Kobe Swaniawski Sr.\",\"email_address\":\"jason.null@brightbox.com\"},\"users\":[],\"zones\":[{\"id\":\"zon-12345\",\"resource_type\":\"zone\",\"url\":\"https://api.gb1.brightbox.com/1.0/zones/zon-12345\",\"handle\":\"gb1-a\"},{\"id\":\"zon-12345\",\"resource_type\":\"zone\",\"url\":\"https://api.gb1.brightbox.com/1.0/zones/zon-12345\",\"handle\":\"gb1-b\"}]}]" http_version: recorded_at: Tue, 17 Sep 2013 17:07:37 GMT - request: method: post uri: http://api.brightbox.dev/token body: string: "{\"client_id\":\"cli-12345\",\"grant_type\":\"none\"}" headers: User-Agent: - fog/1.15.0 Content-Type: - application/json Authorization: - Basic Y2xpLTEyMzQ1OnF5Nnh4bnZ5NG8wdGd2NQ== response: status: code: 200 message: headers: X-Frame-Options: - sameorigin Date: - Fri, 27 Sep 2013 15:26:08 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - 0f4077af847c3788fedf04f8f9ef16e9 Content-Type: - application/json;charset=utf-8 X-Runtime: - "0.114075" Content-Length: - "77" ETag: - "\"78c6833daafba072e19688ed2e8632e4\"" X-XSS-Protection: - 1; mode=block Connection: - keep-alive Cache-Control: - no-store body: string: "{\"access_token\":\"dfbf2eb752d7d20855952c80e421b1781ffeef68\",\"expires_in\":7200}" http_version: recorded_at: Fri, 27 Sep 2013 15:26:08 GMT - request: method: post uri: http://api.brightbox.dev/token body: string: "{\"client_id\":\"cli-12345\",\"grant_type\":\"none\"}" headers: User-Agent: - fog/1.15.0 Content-Type: - application/json Authorization: - Basic Y2xpLTEyMzQ1OnF5Nnh4bnZ5NG8wdGd2NQ== response: status: code: 200 message: headers: X-Frame-Options: - sameorigin Date: - Fri, 27 Sep 2013 15:26:08 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - 9d82388a985ce00b9223faddfc72a35d Content-Type: - application/json;charset=utf-8 X-Runtime: - "0.254398" Content-Length: - "77" ETag: - "\"aee664c674bbbacf7973f2849f033c87\"" X-XSS-Protection: - 1; mode=block Connection: - keep-alive Cache-Control: - no-store body: string: "{\"access_token\":\"be6ecda98aa935edb60a4450e279af8bc512f2e6\",\"expires_in\":7200}" http_version: recorded_at: Fri, 27 Sep 2013 15:26:08 GMT