ServerMania logo

Get ISO Details

To view the details of the particular ISO, use the following request:

GET /template_isos/:iso_id.xml
GET /template_isos/:iso_id.json

XML Request Example

curl -i -X GET -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml'  --url http://test/template_isos/135.xml'

JSON Request Example

curl -i -X GET -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json'  --url http://test/template_isos/135.json'

XML Output Example

  <image_template_iso>
    <allow_resize_without_reboot nil="true"/>
    <allowed_hot_migrate type="boolean">false</allowed_hot_migrate>
    <allowed_swap type="boolean">true</allowed_swap>
    <backup_server_id nil="true"/>
    <baremetal_server type="boolean">false</baremetal_server>
    <cdn type="boolean">false</cdn>
    <checksum nil="true"/>
    <created_at type="datetime">2015-03-17T10:23:17+00:00</created_at>
    <disk_target_device nil="true"/>
    <ext4 type="boolean">false</ext4>
    <file_name>Fedora-20-x86_64-netinst.iso</file_name>
    <id type="integer">135</id>
    <initial_password nil="true"/>
    <initial_username nil="true"/>
    <label>Fedora-20-x86_64-netinst</label>
    <min_disk_size nil="true"/>
    <min_memory_size type="integer">512</min_memory_size>
    <operating_system>Linux</operating_system>
    <operating_system_arch nil="true"/>
    <operating_system_distro>redhel</operating_system_distro>
    <operating_system_edition nil="true"/>
    <operating_system_tail nil="true"/>
    <parent_template_id nil="true"/>
    <remote_id nil="true"/>
    <smart_server type="boolean">false</smart_server>
    <state>active</state>
    <template_size type="integer">1364</template_size>
    <updated_at type="datetime">2015-03-23T12:12:56+00:00</updated_at>
    <user_id nil="true"/>
    <version>1.0</version>
    <virtualization type="array">
      <virtualization>xen</virtualization>
      <virtualization>kvm</virtualization>
      <virtualization>kvm_virtio</virtualization>
    </virtualization>
  </image_template_iso>

Where:

label - the ISO title

min_memory_size - minimum memory size required to build a VS on this ISO (MB)

version - version of the file

operating_system - operating system name

operating_system_distro - operating system distribution

id - ID of the ISO

template_size - size of the ISO

virtualization - type of virtualization (xen, kvm or kvm_virtio) which is compatible with this ISO

allowed_hot_migrate - true if hot migration for VS, created from this ISO, is enabled; otherwise false


The following output parameters do not currently apply to ISOs:

allow_resize_without_reboot

allowed_swap 

backup_server_id 

baremetal_server 

cdn 

checksum 

created_at 

disk_target_device 

ext4 

file_name 

initial_password 

initial_username 

 min_disk_size 

operating_system_arch 

operating_system_edition 

operating_system_tail 

parent_template_id 

remote_id 

smart_server 

state 

updated_at 

user_id 


Page History

v.5.5

  • added allowed_hot_migrate parameter