vserver_list_livecd ()
This function lists all available LiveCDs.
HTTP Method: | GET | |
---|
Parameters: | sid | session id* |
---|
Returns: | HTTP code | 200 (OK) |
---|
| | Function call successful. Reply portion reply contains list of available ISOs. |
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.
|
CURL
curl "https://admin.systems90.cz/api/vserver_list_livecd?sid=%sid%"
PHP Library
$api->vserver_list_livecd(array());
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<status>
<code>1</code>
<text>Bad parameters (required: sid, vserver_id)</text>
</status>
</reply>