--- http_interactions: - request: method: post uri: http://api.brightbox.localhost/token body: encoding: UTF-8 string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}' headers: User-Agent: - fog-core/1.32.1 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 200 message: headers: Content-Type: - application/json Cache-Control: - no-store X-Oauth-Scopes: - infrastructure, orbit Content-Length: - '190' X-Content-Type-Options: - nosniff X-Ua-Compatible: - IE=Edge Etag: - '"5f6df8f4d6157a3b4d0a0bd4cc00ead7"' X-Request-Id: - f672ea5b57d864b3069656641ee475f1 X-Runtime: - '0.089046' Server: - WEBrick/1.3.1 (Ruby/1.9.3/2014-11-13) Date: - Mon, 12 Oct 2015 11:34:19 GMT Connection: - Keep-Alive body: encoding: UTF-8 string: '{"access_token":"3b80108be0152c2d31575574027de1b9807fc971","token_type":"Bearer","refresh_token":"536bd861231e153f11893399ecbb6b417adbb0a3","scope":"infrastructure, orbit","expires_in":7200}' http_version: recorded_at: Mon, 12 Oct 2015 11:34:19 GMT - request: method: get uri: http://api.brightbox.localhost/1.0/accounts body: encoding: US-ASCII string: '' headers: User-Agent: - fog-core/1.32.1 Authorization: - Bearer 3b80108be0152c2d31575574027de1b9807fc971 Content-Type: - application/json response: status: code: 200 message: headers: X-Oauth-Scopes: - infrastructure, orbit Content-Type: - application/json; charset=utf-8 X-Ua-Compatible: - IE=Edge Etag: - '"c9a269456e92ca15ff834e08ba6414ad"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 910c44324fab4884324db6d454e8576b X-Runtime: - '0.043977' Server: - WEBrick/1.3.1 (Ruby/1.9.3/2014-11-13) Date: - Mon, 12 Oct 2015 11:34:19 GMT Content-Length: - '1611' Connection: - Keep-Alive body: encoding: UTF-8 string: '[{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"CLI test account","status":"active","ram_limit":3200000,"ram_used":0,"dbs_ram_limit":32768,"dbs_ram_used":0,"cloud_ips_limit":32,"cloud_ips_used":0,"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":"CLI test API client","description":"","revoked_at":null,"permissions_group":"full"}],"images":[],"servers":[],"load_balancers":[],"database_servers":[],"database_snapshots":[],"cloud_ips":[],"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":"2015-10-12T09:23:03Z","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":"2015-10-12T09:23:03Z","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":"Jason Null","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: Mon, 12 Oct 2015 11:34:19 GMT - request: method: post uri: http://api.brightbox.localhost/token body: encoding: UTF-8 string: '{"grant_type":"refresh_token","refresh_token":"536bd861231e153f11893399ecbb6b417adbb0a3"}' headers: User-Agent: - fog-core/1.32.1 Authorization: - Basic YXBwLTEyMzQ1Om1vY2J1aXBiaWFhNms2Yw== Content-Type: - application/json response: status: code: 200 message: headers: Content-Type: - application/json Cache-Control: - no-store X-Oauth-Scopes: - infrastructure, orbit Content-Length: - '190' X-Content-Type-Options: - nosniff X-Ua-Compatible: - IE=Edge Etag: - '"cd0a6430291fc349fd03eb6642dd392c"' X-Request-Id: - a2cacbb41cf130c43c404700ef352e3f X-Runtime: - '0.111505' Server: - WEBrick/1.3.1 (Ruby/1.9.3/2014-11-13) Date: - Mon, 12 Oct 2015 11:34:19 GMT Connection: - Keep-Alive body: encoding: UTF-8 string: '{"access_token":"73e0ea46b6067aaba435ef21ac0c9f18b185a162","token_type":"Bearer","refresh_token":"8de93966cb2092de010c68939cb2da3aac74924e","scope":"infrastructure, orbit","expires_in":7200}' http_version: recorded_at: Mon, 12 Oct 2015 11:34:19 GMT recorded_with: VCR 2.5.0