API Docs

Get to know list_templates

Overview: Lists the user made templates available.

list_templates expects no parameters

Example:

$params = array();
$api->call('cloud.list_templates', $params);

Output:

Array
(
    [0] => Array
        (
            [id] => 27
            [name] => swiftqueueconvert
            [size] => 15
            [created_on] => 1421168658
            [monthly_cost] => 1.50
            [zone_id] => 3
        )

    [1] => Array
        (
            [id] => 27
            [name] => swiftqueueconvert
            [size] => 15
            [created_on] => 1421168658
            [monthly_cost] => 1.50
            [zone_id] => 2
        )

    [2] => Array
        (
            [id] => 59
            [name] => seattletemplate3
            [size] => 25
            [created_on] => 1424814428
            [monthly_cost] => 2.50
            [zone_id] => 1
        )

)