(mt):List available operating systems
- This page was last modified on February 17, 2011, at 14:16.
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 |
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
}
]
}