CloudServer is the entity that handles the public cloud servers product.

Endpoints Summary

/cloudserver/GETget list of vm. The account_id must be supplied, and filters can supplied. Click for available filters
/cloudserver/$cloud_server_object_id/GETget info of one vm. Returns VM info with object id, label, IP, and VM resources information (RAM, CPU, diskspace)
/cloudserver/$cloud_server_object_id/rebootPOSTreboot the cloud server
/cloudserver/$cloud_server_object_id/shutdownPOSTshutdown the cloud server
/cloudserver/$cloud_server_object_id/startPOSTstart the cloud server
/cloudserver/$cloud_server_object_id/rebuildPOSTrebuild the cloud server
/cloudserver/$cloud_server_object_id/namePOSTedit the label of cloud server, attribute name: the new name
/cloudserver/$cloud_server_object_id/changepasswordPOSTchange root password of the cloud server, attribute password: the new password
/cloudserver/$cloud_server_object_id/backupsGETget a list of backup for the cloud server

List Cloud Servers

To list cloud servers, send GET request to /cloudserver/. The account_id parameter is required. Other paremeters are optional.

account_idstring(requiried) account id referred to in format of XX-11111111
ipstringip address of cloud server
labelstringlabel of cloud server
locationintegerlocation id, which can be get from GET /location api
regionintegerHK - Hong Kong, SG- Singapore, TYO - Tokyo, LA- Los Angeles
ostemplateintegeros template id, which can be obtained here
iswindowsinteger0 : non windows, 1: windows