(mt):List available operating systems

  • This page was last modified on February 17, 2011, at 14:16.
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

This method retrieves a list of Operating systems that may be installed.

Currently, the only service that allows a specific operating system to be selected is the (ve) Servers.

Request Info

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

Remember: You need to specify your API Key in either the Authentication header, or as a URL parameter in order for this method to work.

Response Info

The response will contain a list of Operating systems that can be used in a call to the Add service method.

Sample Response

{
"osTypes":[
{
"id":16,
"templateName":"ubuntu-9.10-x86_64",
"osName":"Ubuntu 9.10",
"osDescription":"Ubuntu 9.10 Karmic",
"primarySortOrder":10,
"secondarySortOrder":10,
"defaultSelection":1
},
.
.
.
{
"id":1,
"templateName":"centos-5-x86_64",
"osName":"CentOS 5.4",
"osDescription":"CentOS 5.4",
"primarySortOrder":40,
"secondarySortOrder":10,
"defaultSelection":0
}
]
}