API Content Types


Browse by products and services

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.

Extensions

The following is a list of extensions that can be used for any resource requests.

Param Description Default Example
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

Query Parameters

See API Query parameters for information on the available HTTP query parameters that can be used to specify content types for requests or responses.

Headers

See API HTTP headers for information on the available HTTP headers that can be used to specify content types for requests or responses.