API: Get All Service Detail


Browse by products and services

This method provides a way to retrieve the (mt) Media Temple services associated with the currently authenticated account.

Request Info

The following URL and HTTP method should be used.

HTTP Method URL
GET https://api.mediatemple.net/api/v1/services

Response Info

The response will contain a list of Service objects.

Here is an example of the returned result.

 
{
"services" : [ {
"id" : 555,
"serviceType" : 668,
"serviceTypeName" : "(ve) Server 1GB",
"ipAddresses" : [ "192.168.200.30" ],
"hostServer" : "vzd000.mediatemple.net",
"billingStatus" : "0",
"billingStatusText" : "OPEN",
"operatingSystem" : "16",
"operatingSystemName" : "Ubuntu 9.10 Karmic",
"accessDomain" : "ve.qwrtsdfg.vesrv.com",
"primaryDomain" : "tylerdurden.com",
"addons" : [ ]
}, {
"id" : 556,
"serviceType" : 605,
"serviceTypeName" : "DV Base 3.5",
"ipAddresses" : [ "192.168.200.31" ],
"hostServer" : "vz000.mediatemple.net",
"billingStatus" : "0",
"billingStatusText" : "OPEN",
"operatingSystem" : "1002",
"operatingSystemName" : "Centos 5",
"accessDomain" : null,
"primaryDomain" : "dv35.tylerdurden.com",
"addons" : [ {
"id" : 258,
"description" : "DV Linux Plesk Basic Unlimit"
}, {
"id" : 298,
"description" : "DV Snapshot Backups"
}, {
"id" : 69,
"description" : "DV 256mb memory"
} ]
} ]
}
 

Sample Request

To get a list of services in JSON format, do the following.

 
curl -D log.txt -s -X "GET" "https://api.mediatemple.net/api/v1/services.json?apikey=a5h34sf62..."