Media Temple API Guide


  • Applies to: All Service Types
    • Difficulty: n/a
    • Time: n/a
    • Tools needed: n/a

Overview

The (mt) Media Temple API documentation is organized by the following articles.

    • Global API Mechanisms - The common mechanisms used across API resources: authentication, request/response formats, etc.
    • Parsing API Responses - HTTP status codes which indicate the result of API calls.
    • 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 (mt) Media Temple 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 DV Developer 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.