Category:API

  • This page was last modified on February 17, 2011, at 13:22.
The (mt) Community Wiki is a collaborative project. Any (mt) Media Temple customer or employee may contribute. Not all articles and/or content have been tested for accuracy by (mt) Media Temple.

For officially moderated and tested articles, be sure to visit our KnowledgeBase.

From (mt) Community Wiki

The (mt) Media Temple API documentation is broken up into the following components:

  • Global API Mechanisms — The common mechanisms used across API resources: authentication, request/response formats, etc.
    • API Content Types — (mt) Media Temple Content Types for requests and responses.
    • API HTTP Headers — HTTP Headers that are globally available across resource requests.
    • API Query Parameters — Query parameters that are globally available across resource requests.
  • Service API — Get information and perform operations on (ve) services.
    • Add Service — This method provides a way to add a new (mt) Media Temple service to the authenticated account.
    • Add Temporary Disk Space — This method provides a way to add temporary disk space to a sever for a specific (mt) service that is associated with the authenticated account.
    • Flush Firewall — This method provides a way to flush the server firewall rules for a specific (mt) service that is associated with the authenticated account.
    • Get All Service Detail — This method provides a way to retrieve the (mt) Media Temple services associated with the currently authenticated account.
    • Get Service Detail — This method provides a way to retrieve the service details for a specific (mt) Media Temple service associated with the authenticated account.
    • Get Service Ids — This method provides a way to retrieve the (mt) Media Temple services associated with the currently authenticated account.
    • Reboot Server — This method provides a way to reboot the server for a specific MediaTemple service that is associated with the authenticated account.
    • Set Plesk Password — This method provides a way to set the Plesk password for a specific (mt) Media Temple service associated with the authenticated account.
    • Set Root Password — This method provides a way to set the root password for a specific (mt) Media Temple service associated with the authenticated account.
  • Stats API — Get resource utilization information on (ve) Servers.
    • Get Current Stats — This method provides a way to retrieve the current resource usage levels for a specific (mt) Media Temple (ve) Server.
    • Get Range Stats — This method provides a way to retrieve the resource usage levels for a specific (mt) Media Temple (ve) Server over a specific range of time.
      • Get Predefined Range Stats — This method provides a way to retrieve the resource usage levels for a specific (mt) Media Temple (ve) Server over certain predefined ranges of time.
    • Get Warnings — This method provides a way to retrieve current warnings for all services associated with the authenticated account.
      • Get Warning Thresholds — This method provides a way to retrieve the pre-defined thresholds for service warnings.
  • Appendix A - API Objects — The various Objects that the API can return/consume

Check the API-enabled Services page to find out which functions are available to your service.