Web hosting company MediaTemple provides an API to access many of its services, such as adding temporary disk space or rebooting the server. With the API users can access statistics, reboot servers, check billing status and more. The API methods focus on two areas: Service info and controls, and Performance Stats. Some of the functionality includes: Provision a new (ve) Server or (dv) 4.0 Server Access realtime and historical server status info Reboot user server(s) List IPï¿½s List primary, access domains, and hostservers Securely set a root password Securely set Plesk password (if applicable) Flush firewall rules (iptables) Instantly add temporary disk space List all (mt) hosting & add-on services Check user account billing status
The API uses RESTful calls and responses are formatted in XML and JSON.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.