The (mt) Media Temple API provides resource extensions and Accept Headers (see also API HTTP headers) that can be added to the request to specify content types for API requests and responses.
IMPORTANT: As of April 2018, the Media Temple customer API has been deprecated. Previously created API keys will continue to work until further notice, but you will not be able to generate new keys via the Account Center. If you have any questions about this, please feel free to contact our support team.
The following is a list of extensions that can be used for any resource requests.
|json||Specify that response data should be in JSON format||yes||GET /api/stats/111.json|
|xml||Specify that response data should be in XML format||no||GET /api/stats/111.xml|
See API Query parameters for information on the available HTTP query parameters that can be used to specify content types for requests or responses.
See API HTTP headers for information on the available HTTP headers that can be used to specify content types for requests or responses.