Reference for RimuHosting's Data Structures (as used in our REST-ful APIs)

Name: GetVPSStatusResponse

VPS stats (like current kernel name, whether console logins are enabled, whether backups are currently running , when the next backup will run, vps uptime, and VPS seconds used).  It also returns host server info.  e.g. host load, host cpu information, uptime, xen version, and free (not necessarily the same thing as available!) resource like mem and disk space).

XML Example:
<GetVPSStatusResponse>
  <error_info>IErrorInfo</error_info>
  zero or N[<extended_error_infos>IErrorInfo</extended_error_infos>]
  <host_server_info>HostServerInfo</host_server_info>
  <human_readable_message>xsd:string</human_readable_message>
  <redirect_uri>xsd:string</redirect_uri>
  <response_display_duration_type>SHORT | REGULAR | PERMANENT</response_display_duration_type>
  <response_type>OK | ERROR</response_type>
  <running_vps_info>RunningVPSInfo</running_vps_info>
  <status_code>xsd:int</status_code>
  <status_message>xsd:string</status_message>
</GetVPSStatusResponse>
JSON Example:
{"GetVPSStatusResponse":
 {
   "error_info": IErrorInfo,
   "extended_error_infos": [IErrorInfo],
   "host_server_info": HostServerInfo,
   "human_readable_message": String,
   "redirect_uri": String,
   "response_display_duration_type": 'SHORT' | 'REGULAR' | 'PERMANENT',
   "response_type": 'OK' | 'ERROR',
   "running_vps_info": RunningVPSInfo,
   "status_code": Number,
   "status_message": String,
 }
}

Elements
NameTypeRequiredNillableDefault ValueDescription
error_infoIErrorInfofalsefalseIf the response type is an error, then this can contain more information about the error.
extended_error_infoszero or N[IErrorInfo]falsefalsee.g.
host_server_infoHostServerInfofalsefalse 
human_readable_messagexsd:stringfalsefalseA message summarizing the request result.
redirect_urixsd:stringfalsefalseA suggestion from the server about which URI to go to after this request.
response_display_duration_typeSHORT | REGULAR | PERMANENTfalsefalseAn indicator for a UI about how long to display a message.
response_typeOK | ERRORfalsefalseWhether the response is an AOK or error response.
running_vps_infoRunningVPSInfofalsefalse 
status_codexsd:intfalsefalseMay the status code be for ever 2xx.
status_messagexsd:stringfalsefalseThe status message (should match the status code).