Format
Method | POST |
---|
URL | /tasks/create |
---|
Request content | GuestDelete Object
|
---|
Successful answer | TaskResult Object
|
---|
Unexpected error | HTTP 500 |
---|
Changes the iso images mounted in a running guest.
GuestChangeISO Object
Schema
repeat | String | Reserved |
---|
retries | String | Number of times this task will be retried, in case of error |
---|
type | String | Task type identifier. In this case, "guest_change_iso" |
---|
guest_id | String | Unique identifier of the Guest |
---|
iso_list | Array of ISOInfo | Array of associated ISO images. See details in Create a Guest |
---|
save_change | boolean | Persist the change for the next boot |
---|
JSON example
{
"repea
t"
:
"0"
,
Code Block |
---|
|
{
"type": "guest_change_iso", |
...
...
...
[
{"media_storage_id": "ms-empty", "filename": "ms- |
...
emtpy", "devnum": "1", "bus": "ide"}, |
...
{"media_storage_id": "ms-empty", "filename": "ms- |
...
emtpy", "devnum": "2", "bus": "ide"}, |
...
{"media_storage_id": "ms-empty", "filename": "ms- |
...
emtpy", "devnum": "3", "bus": "ide"} |
...
...
...