--- http_interactions: - request: method: get uri: http://api.brightbox.dev/1.0/account?account_id=acc-12345 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.15.0 Authorization: - OAuth 63a4f6dbf53263e7468d3084ae9c50ecdcdf1714 Content-Type: - application/json response: status: code: 200 message: headers: Content-Type: - application/json; charset=utf-8 X-UA-Compatible: - IE=Edge ETag: - '"5d99c7ed5525463e8c76940e64bcd6ff"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 4fa3747721f8cfb73f043470330e811a X-Runtime: - '0.256833' Date: - Tue, 27 Aug 2013 16:13:03 GMT Connection: - close body: encoding: UTF-8 string: '{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active","address_1":"Israel Flats","address_2":"","city":"Clarkmouth","county":"","postcode":"97088-3817","country_code":"GB","country_name":"United Kingdom","vat_registration_number":"","telephone_number":"+445722683970","telephone_verified":false,"verified_telephone":null,"verified_at":null,"verified_ip":null,"created_at":"2013-08-27T15:47:00Z","ram_limit":32768,"ram_used":24576,"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":[{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"wow","status":"active","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T15:54:24Z","started_at":"2013-08-27T15:54:27Z","deleted_at":null},{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"medium servers","status":"active","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T15:54:26Z","started_at":"2013-08-27T15:54:29Z","deleted_at":null},{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"","status":"deleted","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T15:54:30Z","started_at":"2013-08-27T15:54:32Z","deleted_at":"2013-08-27T15:54:35Z"},{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_shutdown","status":"active","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T15:54:36Z","started_at":"2013-08-27T15:54:38Z","deleted_at":null},{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_start","status":"active","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T15:54:41Z","started_at":"2013-08-27T15:54:47Z","deleted_at":null},{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_stop","status":"inactive","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T15:54:48Z","started_at":"2013-08-27T15:54:51Z","deleted_at":null},{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"","status":"deleted","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T15:54:52Z","started_at":"2013-08-27T15:54:55Z","deleted_at":"2013-08-27T15:54:58Z"},{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"","status":"deleted","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T16:12:22Z","started_at":"2013-08-27T16:12:25Z","deleted_at":"2013-08-27T16:12:27Z"},{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"wow","status":"active","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T16:12:51Z","started_at":"2013-08-27T16:12:54Z","deleted_at":null},{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"medium servers","status":"active","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T16:12:55Z","started_at":"2013-08-27T16:12:58Z","deleted_at":null},{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"","status":"deleting","hostname":"srv-12345","fqdn":"srv-12345.gb1.brightbox.com","created_at":"2013-08-27T16:12:58Z","started_at":"2013-08-27T16:13:02Z","deleted_at":null}],"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":"217.16.230.132","reverse_dns":"cip-12345-16-230-132.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-08-27T15:47:00Z","default":true},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T15:54:53Z","default":false},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T16:12:22Z","default":false}],"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-08-27T15:47:00Z","description":"Applied to the default server group."},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T15:54:12Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:54:13Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:20Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:21Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:56:46Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:06:22Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T16:12:42Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:12:43Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T16:12:48Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T16:12:49Z","description":null}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Teresa Ullrich","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, 27 Aug 2013 16:13:03 GMT - request: method: get uri: http://api.brightbox.dev/1.0/server_types?account_id=acc-12345 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.15.0 Authorization: - OAuth 63a4f6dbf53263e7468d3084ae9c50ecdcdf1714 Content-Type: - application/json response: status: code: 200 message: headers: Content-Type: - application/json; charset=utf-8 X-UA-Compatible: - IE=Edge ETag: - '"2ed335c8a18bcc6a00be456207acbe8e"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - fe513a4b9bd903b77bf678d484eee290 X-Runtime: - '0.097979' Date: - Tue, 27 Aug 2013 16:13:04 GMT Connection: - close body: encoding: UTF-8 string: '[{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"il1fol","status":"available","cores":2,"ram":3072,"disk_size":6144,"handle":null},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"pqut6ge","status":"available","cores":2,"ram":2048,"disk_size":3072,"handle":null},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"k4yv7e","status":"available","cores":2,"ram":1024,"disk_size":6144,"handle":null},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"rxmq4xqwri","status":"available","cores":2,"ram":1024,"disk_size":5120,"handle":null}]' http_version: recorded_at: Tue, 27 Aug 2013 16:13:04 GMT - request: method: post uri: http://api.brightbox.dev/1.0/servers?account_id=acc-12345 body: encoding: UTF-8 string: '{"image":"img-12345","name":"rspec_server_shutdown","server_type":"typ-12345"}' headers: User-Agent: - fog/1.15.0 Authorization: - OAuth 63a4f6dbf53263e7468d3084ae9c50ecdcdf1714 Content-Type: - application/json response: status: code: 202 message: headers: Location: - http://api.brightbox.dev/1.0/servers/srv-nfz5c Content-Type: - application/json; charset=utf-8 X-UA-Compatible: - IE=Edge Cache-Control: - no-cache X-Request-Id: - 21372dcd766cd253f22dc73be8bc1f95 X-Runtime: - '7.492286' Date: - Tue, 27 Aug 2013 16:13:55 GMT Connection: - close body: encoding: UTF-8 string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_shutdown","status":"creating","hostname":"srv-12345","created_at":"2013-08-27T16:13:54Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"},"cloud_ips":[],"interfaces":[{"id":"int-4c7tg","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-4c7tg","mac_address":"02:24:19:00:03:8e","ipv4_address":"10.0.3.142","ipv6_address":"2a02:1348:18c:e3:24:19ff:fe00:38e"}],"snapshots":[],"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-08-27T15:47:00Z","default":true}]}' http_version: recorded_at: Tue, 27 Aug 2013 16:13:55 GMT - request: method: get uri: http://api.brightbox.dev/1.0/servers/srv-12345?account_id=acc-12345 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.15.0 Authorization: - OAuth 63a4f6dbf53263e7468d3084ae9c50ecdcdf1714 Content-Type: - application/json response: status: code: 200 message: headers: Content-Type: - application/json; charset=utf-8 X-UA-Compatible: - IE=Edge ETag: - '"c1bd34bbab76d5f38f6ea29e15e9d617"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 131fcf3f1b494ffe9e36d7169d7beb3c X-Runtime: - '0.661349' Date: - Tue, 27 Aug 2013 16:13:56 GMT Connection: - close body: encoding: UTF-8 string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_shutdown","status":"creating","hostname":"srv-12345","created_at":"2013-08-27T16:13:54Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"},"cloud_ips":[],"interfaces":[{"id":"int-4c7tg","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-4c7tg","mac_address":"02:24:19:00:03:8e","ipv4_address":"10.0.3.142","ipv6_address":"2a02:1348:18c:e3:24:19ff:fe00:38e"}],"snapshots":[],"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-08-27T15:47:00Z","default":true}]}' http_version: recorded_at: Tue, 27 Aug 2013 16:13:56 GMT - request: method: get uri: http://api.brightbox.dev/1.0/servers/srv-12345?account_id=acc-12345 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.15.0 Authorization: - OAuth 63a4f6dbf53263e7468d3084ae9c50ecdcdf1714 Content-Type: - application/json response: status: code: 200 message: headers: Content-Type: - application/json; charset=utf-8 X-UA-Compatible: - IE=Edge ETag: - '"864ff83ae07010af88b82db64e6585e7"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - a2d309134eed7745ee237bd7e66fd475 X-Runtime: - '0.261071' Date: - Tue, 27 Aug 2013 16:13:57 GMT Connection: - close body: encoding: UTF-8 string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_shutdown","status":"active","hostname":"srv-12345","created_at":"2013-08-27T16:13:54Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"},"cloud_ips":[],"interfaces":[{"id":"int-4c7tg","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-4c7tg","mac_address":"02:24:19:00:03:8e","ipv4_address":"10.0.3.142","ipv6_address":"2a02:1348:18c:e3:24:19ff:fe00:38e"}],"snapshots":[],"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-08-27T15:47:00Z","default":true}]}' http_version: recorded_at: Tue, 27 Aug 2013 16:13:57 GMT - request: method: post uri: http://api.brightbox.dev/1.0/servers/srv-12345/shutdown?account_id=acc-12345 body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.15.0 Authorization: - OAuth 63a4f6dbf53263e7468d3084ae9c50ecdcdf1714 Content-Type: - application/json response: status: code: 202 message: headers: Content-Type: - application/json; charset=utf-8 X-UA-Compatible: - IE=Edge Cache-Control: - no-cache X-Request-Id: - bd08fc5332431a1e30c316b1915dd8d3 X-Runtime: - '0.394451' Date: - Tue, 27 Aug 2013 16:13:57 GMT Connection: - close body: encoding: UTF-8 string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_shutdown","status":"active","hostname":"srv-12345","created_at":"2013-08-27T16:13:54Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"},"cloud_ips":[],"interfaces":[{"id":"int-4c7tg","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-4c7tg","mac_address":"02:24:19:00:03:8e","ipv4_address":"10.0.3.142","ipv6_address":"2a02:1348:18c:e3:24:19ff:fe00:38e"}],"snapshots":[],"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-08-27T15:47:00Z","default":true}]}' http_version: recorded_at: Tue, 27 Aug 2013 16:13:57 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '135' X-UA-Compatible: - IE=Edge X-Request-Id: - a475ac48f3d4b28320d44e7cc44cf2ae X-Runtime: - '0.099672' Date: - Tue, 27 Aug 2013 17:10:01 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"unauthorized_client","error_description":"The authenticated client is not authorized to use the access grant type provided."}' http_version: recorded_at: Tue, 27 Aug 2013 17:10:01 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '135' X-UA-Compatible: - IE=Edge X-Request-Id: - ef852ccaad11280c967ae5e8089f0990 X-Runtime: - '0.098809' Date: - Tue, 27 Aug 2013 17:10:01 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"unauthorized_client","error_description":"The authenticated client is not authorized to use the access grant type provided."}' http_version: recorded_at: Tue, 27 Aug 2013 17:10:01 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '135' X-UA-Compatible: - IE=Edge X-Request-Id: - 18ce1bbbc68f9fbadfcaf7446c6aa168 X-Runtime: - '0.099472' Date: - Tue, 27 Aug 2013 17:10:02 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"unauthorized_client","error_description":"The authenticated client is not authorized to use the access grant type provided."}' http_version: recorded_at: Tue, 27 Aug 2013 17:10:02 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '135' X-UA-Compatible: - IE=Edge X-Request-Id: - 9cd8554a152adccaf1dacf5748b3745c X-Runtime: - '0.098569' Date: - Tue, 27 Aug 2013 17:10:02 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"unauthorized_client","error_description":"The authenticated client is not authorized to use the access grant type provided."}' http_version: recorded_at: Tue, 27 Aug 2013 17:10:02 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '135' X-UA-Compatible: - IE=Edge X-Request-Id: - d2affb56cd86e6348117434f078cc022 X-Runtime: - '0.102341' Date: - Tue, 27 Aug 2013 17:10:03 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"unauthorized_client","error_description":"The authenticated client is not authorized to use the access grant type provided."}' http_version: recorded_at: Tue, 27 Aug 2013 17:10:03 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 400 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '135' X-UA-Compatible: - IE=Edge X-Request-Id: - ecf76ea2564715fc5b8219c081cc184f X-Runtime: - '0.112142' Date: - Tue, 27 Aug 2013 17:10:03 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"error":"unauthorized_client","error_description":"The authenticated client is not authorized to use the access grant type provided."}' http_version: recorded_at: Tue, 27 Aug 2013 17:10:03 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic Y2xpLTEyMzQ1OnF5Nnh4bnZ5NG8wdGd2NQ== Content-Type: - application/json response: status: code: 200 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '77' X-UA-Compatible: - IE=Edge ETag: - '"0bf70fef989c85fde951737e96aa2b68"' X-Request-Id: - 52f7f0219c320fc0d1194389f226699e X-Runtime: - '0.110896' Date: - Tue, 27 Aug 2013 17:20:46 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"access_token":"0fd6171a9e6a6406d6b30e79befbf54128865e3f","expires_in":7200}' http_version: recorded_at: Tue, 27 Aug 2013 17:20:46 GMT - request: method: get uri: http://api.brightbox.dev/1.0/accounts body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.15.0 Authorization: - OAuth 0fd6171a9e6a6406d6b30e79befbf54128865e3f Content-Type: - application/json response: status: code: 401 message: headers: WWW-Authenticate: - OAuth error="invalid_token" Content-Type: - application/json; charset=utf-8 X-UA-Compatible: - IE=Edge Cache-Control: - no-cache X-Request-Id: - b70ecae650bc698c501ef3a5b368cda7 X-Runtime: - '0.019790' Date: - Tue, 17 Sep 2013 17:07:47 GMT Connection: - close body: encoding: UTF-8 string: '{"error":"invalid_token","error_description":"The OAuth token can not be found"}' http_version: recorded_at: Tue, 17 Sep 2013 17:07:47 GMT - request: method: post uri: http://api.brightbox.dev/token body: encoding: UTF-8 string: '{"grant_type":"client_credentials"}' headers: User-Agent: - fog/1.15.0 Authorization: - Basic Y2xpLTEyMzQ1OnF5Nnh4bnZ5NG8wdGd2NQ== Content-Type: - application/json response: status: code: 200 message: headers: X-Frame-Options: - sameorigin X-XSS-Protection: - 1; mode=block Content-Type: - application/json;charset=utf-8 Cache-Control: - no-store Content-Length: - '77' X-UA-Compatible: - IE=Edge ETag: - '"50281ca10ed5466bf0ac3350d2f041cd"' X-Request-Id: - 66576fb12fd7374fcca44c93db36ad2c X-Runtime: - '0.138146' Date: - Tue, 17 Sep 2013 17:07:47 GMT Connection: - keep-alive body: encoding: UTF-8 string: '{"access_token":"eab41efe0b2ff885ac356a8375423b1de2f0f850","expires_in":7200}' http_version: recorded_at: Tue, 17 Sep 2013 17:07:47 GMT - request: method: get uri: http://api.brightbox.dev/1.0/accounts body: encoding: US-ASCII string: '' headers: User-Agent: - fog/1.15.0 Authorization: - OAuth eab41efe0b2ff885ac356a8375423b1de2f0f850 Content-Type: - application/json response: status: code: 200 message: headers: Content-Type: - application/json; charset=utf-8 X-UA-Compatible: - IE=Edge ETag: - '"7d4ad7857ea408897b8a2149197611ba"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 1915895a1974489389c4f47bae56f0ed X-Runtime: - '2.166195' Date: - Tue, 17 Sep 2013 17:08:02 GMT Connection: - close body: encoding: UTF-8 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:08:02 GMT recorded_with: VCR 2.5.0