API Docs

This functionality of the Ubiquity API has been disabled. Looking for information on this transition to LeaseWeb? Click here for answers to FAQs and here for information on the LeaseWeb customer portal. Click here for information about the Leaseweb API.

Get to know list_pxe_images

Overview: Lists PXE images for a given dedicated device.

list_pxe_images expects the following parameters:

  • device_id - The identifier of the dedicated device.

Example:

$params = array(
    'device_id'    => 81
);
$api->call('device.list_pxe_images', $params);

Output:

Array
(
    [status] => 1
    [error_code] => 0
    [error_message] =>
    [data] => Array
        (
            [0] => Array
                (
                    [id] => 1
                    [name] => CentOS 5.9 x64 - No Raid - Base Install
                )

            [1] => Array
                (
                    [id] => 3
                    [name] => Debian 6 x86 - Squeeze - No Raid - Base Install
                )

            [2] => Array
                (
                    [id] => 5
                    [name] => Debian 6 amd64 - Squeeze - No Raid - Base Install
                )

            [3] => Array
                (
                    [id] => 11
                    [name] => Ubuntu 10.04 i386 - Lucid - No Raid - Base Install
                )

            [4] => Array
                (
                    [id] => 12
                    [name] => Ubuntu 10.04 amd64 - Lucid - No Raid - Base Install
                )

            [5] => Array
                (
                    [id] => 13
                    [name] => CentOS 6 (Latest) x64 - No Raid - Base Install
                )

            [6] => Array
                (
                    [id] => 15
                    [name] => CentOS 5.9 i386 - No Raid - Base Install
                )

            [7] => Array
                (
                    [id] => 16
                    [name] => Debian 5.0.9 x86 - Lenny - No Raid - Base Install
                )

            [8] => Array
                (
                    [id] => 17
                    [name] => CentOS 6 (Latest) i386 - No Raid - Base Install
                )

            [9] => Array
                (
                    [id] => 18
                    [name] => Ubuntu Server 12.04 LTS amd64
                )

            [10] => Array
                (
                    [id] => 19
                    [name] => Ubuntu Server 12.04 LTS i386
                )

            [11] => Array
                (
                    [id] => 24
                    [name] => Clonezilla XenServer 6.0.2 (160 GB + drives only, AHCI)
                )

            [12] => Array
                (
                    [id] => 25
                    [name] => Clonezilla W2K8 R2 ENT (250GB+) X8SIE-F AHCI
                )

            [13] => Array
                (
                    [id] => 26
                    [name] => CentOS 6 (Latest) x64 - cPanel
                )

            [14] => Array
                (
                    [id] => 27
                    [name] => Clonezilla W2K8 R2 STD (250GB+) X8SIE-F AHCI
                )

            [15] => Array
                (
                    [id] => 28
                    [name] => Clonezilla W2K8 R2 WEB (250GB+) X8SIE-F AHCI
                )

            [16] => Array
                (
                    [id] => 29
                    [name] => Clonezilla XenServer 6.0.0 (160 GB + drives only, AHCI)
                )

            [17] => Array
                (
                    [id] => 31
                    [name] => Clonezilla W2K8 R2 ENT (250GB+) X9SCL-F/+ AHCI
                )

            [18] => Array
                (
                    [id] => 32
                    [name] => Clonezilla W2K8 R2 STD (250GB+) X9SCL-F/+ AHCI
                )

            [19] => Array
                (
                    [id] => 33
                    [name] => Clonezilla W2K8 R2 WEB (250GB+) X9SCL-F/+ AHCI
                )

            [20] => Array
                (
                    [id] => 34
                    [name] => CentOS 6 (Latest) x64 - cPanel (MANAGED)
                )

            [21] => Array
                (
                    [id] => 35
                    [name] => VMWARE ESXi 5.0 Update 1
                )

            [22] => Array
                (
                    [id] => 36
                    [name] => VMWARE ESXi 5.1
                )

            [23] => Array
                (
                    [id] => 37
                    [name] => Windows Server 2008 R2 x64 Standard
                )

            [24] => Array
                (
                    [id] => 38
                    [name] => Windows Server 2008 R2 x64 Web
                )

            [25] => Array
                (
                    [id] => 39
                    [name] => Windows Server 2008 R2 x64 Enterprise
                )

            [26] => Array
                (
                    [id] => 40
                    [name] => Windows Server 2008 R2 x64 Data Center
                )

            [27] => Array
                (
                    [id] => 41
                    [name] => CentOS 5.9 x64 - LiveCD (Minimal)
                )

            [28] => Array
                (
                    [id] => 42
                    [name] => Ubuntu Server 12.10 i386
                )

            [29] => Array
                (
                    [id] => 43
                    [name] => Ubuntu Server 12.10 amd64
                )

            [30] => Array
                (
                    [id] => 46
                    [name] => Citrix XenServer 6.1.0
                )

            [31] => Array
                (
                    [id] => 47
                    [name] => Citrix XenServer 6.0.0
                )

            [32] => Array
                (
                    [id] => 48
                    [name] => Citrix XenServer 6.0.2
                )

            [33] => Array
                (
                    [id] => 49
                    [name] => Install your own via IPMI (No OS)
                )

            [34] => Array
                (
                    [id] => 50
                    [name] => Memtest86+
                )

            [35] => Array
                (
                    [id] => 52
                    [name] => R1Soft CDP Bare Metal Restore
                )

            [36] => Array
                (
                    [id] => 53
                    [name] => Windows Server 2003 Enterprise (Custom Chinese)
                )

            [37] => Array
                (
                    [id] => 54
                    [name] => Windows Server 2003 Enterprise (Custom Chinese) - Stage 1
                )

            [38] => Array
                (
                    [id] => 55
                    [name] => Windows Server 2003 Enterprise (Custom Chinese) - Stage 2
                )

            [39] => Array
                (
                    [id] => 56
                    [name] => Windows Server 2003 Enterprise (Custom Chinese) - Unattended
                )

            [40] => Array
                (
                    [id] => 57
                    [name] => Debian 7 x64 - Wheezy - No Raid - Base Install
                )

            [41] => Array
                (
                    [id] => 61
                    [name] => CentOS RamDisk
                )

            [42] => Array
                (
                    [id] => 63
                    [name] => CentOS 7 (Latest) x64 - No Raid - Base Install [TESTING]
                )

        )

    [data_type] => application/json
)