--- recorded_with: VCR 2.5.0 http_interactions: - request: method: post uri: http://api.brightbox.localhost/token body: string: "{\"grant_type\":\"client_credentials\"}" 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 16:16:07 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - 4b3d9660d717f5ffa44358b188e02138 Content-Type: - application/json;charset=utf-8 X-Runtime: - "0.164552" Content-Length: - "77" ETag: - "\"9d65a61d00a68da0c11d72d8d1b2a045\"" X-XSS-Protection: - 1; mode=block Connection: - keep-alive Cache-Control: - no-store body: string: "{\"access_token\":\"c4f4691ae80055c65f7845682204ca34e5be580f\",\"expires_in\":7200}" http_version: recorded_at: Fri, 06 Sep 2013 16:16:07 GMT - request: method: get uri: http://api.brightbox.localhost/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 16:16:07 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - d61bcabc1a0a29bdc5296aaceb4a1bf7 Content-Type: - application/json; charset=utf-8 X-Runtime: - "0.227107" 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\":\"\",\"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 16:16:07 GMT - request: method: get uri: http://api.brightbox.localhost/1.0/accounts body: string: "" headers: User-Agent: - fog/1.15.0 Content-Type: - application/json Authorization: - OAuth c4f4691ae80055c65f7845682204ca34e5be580f response: status: code: 401 message: headers: Date: - Tue, 17 Sep 2013 17:07:37 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - aff2832c7801a62b639c8832f1610c07 Content-Type: - application/json; charset=utf-8 X-Runtime: - "0.116391" 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.localhost/token body: string: "{\"grant_type\":\"client_credentials\"}" 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:38 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - 895c0ac91dfe78507d1f7eac5e72239e Content-Type: - application/json;charset=utf-8 X-Runtime: - "0.213071" Content-Length: - "77" ETag: - "\"8550a007f91e80ae941b532703fe8dbf\"" X-XSS-Protection: - 1; mode=block Connection: - keep-alive Cache-Control: - no-store body: string: "{\"access_token\":\"75cb4f5b94291dca03e6b0318fe60a09d8ebe4b6\",\"expires_in\":7200}" http_version: recorded_at: Tue, 17 Sep 2013 17:07:38 GMT - request: method: get uri: http://api.brightbox.localhost/1.0/accounts body: string: "" headers: User-Agent: - fog/1.15.0 Content-Type: - application/json Authorization: - OAuth 75cb4f5b94291dca03e6b0318fe60a09d8ebe4b6 response: status: code: 200 message: headers: Date: - Tue, 17 Sep 2013 17:07:38 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - ae9498d10e94bcd281608310efc1491b Content-Type: - application/json; charset=utf-8 X-Runtime: - "0.214466" 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:38 GMT - request: method: post uri: http://api.brightbox.localhost/token body: string: "{\"grant_type\":\"client_credentials\"}" 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:09 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - 779a95d87c242f70724df5ccb2378671 Content-Type: - application/json;charset=utf-8 X-Runtime: - "0.165583" Content-Length: - "77" ETag: - "\"456912b33e9ca74eeedd985a0b1acf17\"" X-XSS-Protection: - 1; mode=block Connection: - keep-alive Cache-Control: - no-store body: string: "{\"access_token\":\"638b2eb4f8bc0112665dc6aac4df3783678b906e\",\"expires_in\":7200}" http_version: recorded_at: Fri, 27 Sep 2013 15:26:09 GMT - request: method: post uri: http://api.brightbox.localhost/token body: string: "{\"grant_type\":\"client_credentials\"}" 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:09 GMT X-UA-Compatible: - IE=Edge X-Request-Id: - 0226b915b7fc242218037d187b482d06 Content-Type: - application/json;charset=utf-8 X-Runtime: - "0.122319" Content-Length: - "77" ETag: - "\"07d3918307ee6ec6b31b80e9052f3c37\"" X-XSS-Protection: - 1; mode=block Connection: - keep-alive Cache-Control: - no-store body: string: "{\"access_token\":\"49a1710227dde7b0e2f716a49b791e2f7ce20d4b\",\"expires_in\":7200}" http_version: recorded_at: Fri, 27 Sep 2013 15:26:09 GMT