--- http_interactions: - request: method: get uri: https://myhost.com:2087/json-api/changepackage?pkg=default&user=notexists body: encoding: US-ASCII string: '' headers: Authorization: - WHM root:iscool response: status: code: 200 message: OK headers: Content-Type: - text/plain Server: - cpsrvd/11.28.64 Transfer-Encoding: - chunked body: encoding: UTF-8 string: ! '{"result":[{"status":0,"statusmsg":"Sorry the user notexists does not exist","rawout":null}]}' http_version: '1.1' recorded_at: Wed, 07 Mar 2012 21:53:52 GMT - request: method: get uri: https://myhost.com:2087/json-api/changepackage?pkg=fakepackage&user=changeme body: encoding: US-ASCII string: '' headers: Authorization: - WHM root:iscool response: status: code: 200 message: OK headers: Content-Type: - text/plain Server: - cpsrvd/11.28.64 Transfer-Encoding: - chunked body: encoding: UTF-8 string: ! '{"result":[{"status":0,"statusmsg":"Specified package does not exist.","rawout":null}]}' http_version: '1.1' recorded_at: Wed, 07 Mar 2012 21:53:52 GMT - request: method: get uri: https://myhost.com:2087/json-api/changepackage?pkg=gold&user=changeme body: encoding: US-ASCII string: '' headers: Authorization: - WHM root:iscool response: status: code: 200 message: OK headers: Content-Type: - text/plain Server: - cpsrvd/11.28.64 Transfer-Encoding: - chunked body: encoding: UTF-8 string: ! '{"result":[{"status":1,"statusmsg":"Account Upgrade/Downgrade Complete for changeme","rawout":"
\nChanging bwlimit to unlimited Meg\nChanging Feature List to default\nChanging max pop accounts from unlimited to unlimited\nChanging max sql accounts from unlimited to unlimited\nChanging max ftp accounts from unlimited to unlimited\nChanging max lists from unlimited to unlimited\nChanging max sub domains from unlimited to unlimited\nChanging language from en to en\nChanging max parked domains from 0 to 0\nChanging max addon domains from 0 to 0\nShell Access Set Correctly (noshell)\nChanging cPanel theme from to \nChanging plan from gold to gold\nResetting QUOTA....\nUsing Universal Quota Support (quota=0)\nBandwidth limit (0) is lower than (unlimited) (all limits removed)Enabling......example.com...DoneWarning, this will not change shared IP accounts to dedicated IP accounts, or the reverse.\n"}]}' http_version: '1.1' recorded_at: Wed, 07 Mar 2012 21:53:52 GMT recorded_with: VCR 2.0.0 ...