vserver_list_iso ()
This function lists all ISO images available for a VPS. This function requires vserver_id OR windows_isos parameter.
HTTP Method: | GET | |
---|
Parameters: | sid | session id* |
---|
| vserver_id | unique id of VPS |
| windows_isos | want to see ISO images for windows(1) or linux(0) servers? * |
Returns: | HTTP code | 200 (OK) |
---|
| | Function call successful. Reply portion reply contains list of available ISO images. |
Return errors
Error code | HTTP response code | Description |
---|
1 | 400 (Bad request) |
Function was not performed, because all required parameters were not entered. Reply portion reply is empty.
|
3 | 403 (Forbidden) |
Function call failed, invalid sid parameter. Create new sid using /api/login function. Reply portion reply is empty.
|
5 | 403 (Forbidden) |
Function has not been performed, because it is probably an attempt to manipulate VPS that is not in your administration. Reply portion reply is empty.
|
CURL
curl "https://admin.hosting90.eu/api/vserver_list_iso?sid=%sid%&vserver_id=%vserver_id%"
PHP Library
$api->vserver_list_iso(array(
'vserver_id' => %vserver_id%,
));
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<status>
<code>0</code>
<text>OK</text>
</status>
<isos>
<iso>
<iso_id>62</iso_id>
<description>Scientific Linux 6.3 (x86_64)</description>
</iso>
<iso>
<iso_id>67</iso_id>
<description>FreeBSD 7.4 (x86_64)</description>
</iso>
<iso>
<iso_id>69</iso_id>
<description>openSUSE 11.4 (x86_64)</description>
</iso>
<iso>
<iso_id>96</iso_id>
<description>CentOS 6.5 (i386)</description>
</iso>
<iso>
<iso_id>97</iso_id>
<description>CentOS 6.5 (x86_64)</description>
</iso>
<iso>
<iso_id>121</iso_id>
<description>openSUSE 12.1 (x86_64)</description>
</iso>
<iso>
<iso_id>131</iso_id>
<description>IPCop 2.0.3 (i386)</description>
</iso>
<iso>
<iso_id>132</iso_id>
<description>Zeroshell 2.0.RC3 (i386)</description>
</iso>
<iso>
<iso_id>134</iso_id>
<description>MINIX 3.2.1 (i386)</description>
</iso>
<iso>
<iso_id>143</iso_id>
<description>Oracle Linux 6.3 (x86_64)</description>
</iso>
<iso>
<iso_id>145</iso_id>
<description>FreeBSD 8.3 (x86_64)</description>
</iso>
<iso>
<iso_id>152</iso_id>
<description>Debian GNU/Linux 7.2 (x86_64)</description>
</iso>
<iso>
<iso_id>159</iso_id>
<description>Slackware 14.1 (x86_64)</description>
</iso>
<iso>
<iso_id>161</iso_id>
<description>Ubuntu Server 12.10 (x86_64)</description>
</iso>
<iso>
<iso_id>167</iso_id>
<description>OpenBSD 5.4 (x86_64)</description>
</iso>
<iso>
<iso_id>168</iso_id>
<description>FreeBSD 9.2 (x86_64)</description>
</iso>
<iso>
<iso_id>173</iso_id>
<description>Gentoo 20131010 (x86_64)</description>
</iso>
<iso>
<iso_id>177</iso_id>
<description>FreePBX 5.211.65 (x86_64)</description>
</iso>
<iso>
<iso_id>178</iso_id>
<description>Kerio Operator 2.2.1 (x86_64)</description>
</iso>
<iso>
<iso_id>179</iso_id>
<description>pfSense 2.1 (x86_64)</description>
</iso>
<iso>
<iso_id>180</iso_id>
<description>Ubuntu Server 13.04 (x86_64)</description>
</iso>
<iso>
<iso_id>181</iso_id>
<description>Debian GNU/Linux 7.2 (i386)</description>
</iso>
<iso>
<iso_id>188</iso_id>
<description>FreeBSD 8.4 (x86_64)</description>
</iso>
<iso>
<iso_id>191</iso_id>
<description>Archlinux 2013.12.01 (i386/x86_64)</description>
</iso>
<iso>
<iso_id>192</iso_id>
<description>FreeNAS 9.2.0 (x86_64)</description>
</iso>
<iso>
<iso_id>193</iso_id>
<description>FreeBSD 10.0 (x86_64)</description>
</iso>
<iso>
<iso_id>195</iso_id>
<description>Ubuntu Server 13.10 (x86_64)</description>
</iso>
<iso>
<iso_id>196</iso_id>
<description>openSUSE 13.1 (x86_64)</description>
</iso>
<iso>
<iso_id>202</iso_id>
<description>Fedora 20 (x86_64)</description>
</iso>
<iso>
<iso_id>203</iso_id>
<description>FreeBSD 10.0 (i386)</description>
</iso>
<iso>
<iso_id>205</iso_id>
<description>RHEL 6.5 (x86_64)</description>
</iso>
<iso>
<iso_id>207</iso_id>
<description>OSGeo Live 7.9 (x86_64)</description>
</iso>
<iso>
<iso_id>208</iso_id>
<description>Zentyal 3.4 (x86_64)</description>
</iso>
<iso>
<iso_id>209</iso_id>
<description>Ubuntu Server 14.04 LTS (x86_64)</description>
</iso>
<iso>
<iso_id>211</iso_id>
<description>RHEL 7.0rc1 (x86_64)</description>
</iso>
<iso>
<iso_id>212</iso_id>
<description>Elastix 2.4 (x86_64)</description>
</iso>
<iso>
<iso_id>213</iso_id>
<description>Elastix 2.4 (i386)</description>
</iso>
<iso>
<iso_id>215</iso_id>
<description>AsteriskNOW 3.0.1 (x86_64)</description>
</iso>
<iso>
<iso_id>217</iso_id>
<description>CentOS 7.0 (x86_64)</description>
</iso>
<iso>
<iso_id>219</iso_id>
<description>Ubuntu Desktop 14.04.1 LTS (x86_64)</description>
</iso>
<iso>
<iso_id>220</iso_id>
<description>FreeBSD 9.2 (i386)</description>
</iso>
<iso>
<iso_id>226</iso_id>
<description>Debian GNU/Linux 7.7 (x86_64)</description>
</iso>
<iso>
<iso_id>230</iso_id>
<description>RHEL desktop 7.1b 7.1b (x86_64)</description>
</iso>
<iso>
<iso_id>232</iso_id>
<description>Linux Mint 17.1 MATE (x86_64)</description>
</iso>
<iso>
<iso_id>233</iso_id>
<description>Linux Mint 17.1 Cinnamon (x86_64)</description>
</iso>
<iso>
<iso_id>234</iso_id>
<description>Gentoo 20141204 (x86_64)</description>
</iso>
<iso>
<iso_id>235</iso_id>
<description>Gentoo 20141209 (x86)</description>
</iso>
<iso>
<iso_id>237</iso_id>
<description>AsteriskNOW 6.12.65-22 (x86_64)</description>
</iso>
<iso>
<iso_id>239</iso_id>
<description>OpenBSD 5.7 (x86_64)</description>
</iso>
<iso>
<iso_id>240</iso_id>
<description>Fedora Server 22 (x86_64)</description>
</iso>
<iso>
<iso_id>241</iso_id>
<description>Scrollout F1 2013 (x86_64)</description>
</iso>
<iso>
<iso_id>242</iso_id>
<description>MikroTik RouterOS 6.29.1 (i386)</description>
</iso>
<iso>
<iso_id>243</iso_id>
<description>FreeBSD 10.1 (x86_64)</description>
</iso>
<iso>
<iso_id>244</iso_id>
<description>Ubuntu Server 14.04.2 LTS (x86_64)</description>
</iso>
<iso>
<iso_id>245</iso_id>
<description>Debian GNU/Linux 8.1 (x86_64)</description>
</iso>
<iso>
<iso_id>249</iso_id>
<description>FreePBX 6.12.65 (x86_64)</description>
</iso>
<iso>
<iso_id>250</iso_id>
<description>CentOS 7.1 (x86_64)</description>
</iso>
<iso>
<iso_id>252</iso_id>
<description>Ubuntu Server 12.04.5 LTS (x86_64)</description>
</iso>
<iso>
<iso_id>253</iso_id>
<description>Ubuntu Server 15.10 (x86_64)</description>
</iso>
<iso>
<iso_id>254</iso_id>
<description>Archlinux 2015.11.01 (i386/x86_64)</description>
</iso>
<iso>
<iso_id>256</iso_id>
<description>MikroTik RouterOS 6.33.3 (i386)</description>
</iso>
<iso>
<iso_id>258</iso_id>
<description>Deb VirtAutoInstall Test 0.1 (x86_64)</description>
</iso>
</isos>
</reply>