vserver_software_iso_list ()
Excludes all ISO images of the additional software available for that VPS.
HTTP Method: | GET | |
---|
Parameters: | sid | session id* |
---|
| vserver_id | unique id of VPS* |
Returns: | HTTP code | 200 (OK) |
---|
| | Function call successful. Reply portion reply contains a 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_software_iso_list?sid=%sid%&vserver_id=%vserver_id%"
PHP Library
$api->vserver_software_iso_list(array(
'vserver_id' => %vserver_id%,
));
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<isos>
<iso>
<iso_id>iso_id</iso_id>
<name>name</name>
<license>license</license>
<iso>
</isos>
</reply>