REST - Regions

Listing Regions

Request

GET /v2/regions

Returns an array containing a list of available regions and availability zones for e24cloud.

Response

{  
  "success":true,
  "regions":[  
     {  
        "name":"$region_name",
        "zones":[  
           {  
              "id":"$zone_id",
              "label":"$zone_label",
              "name":"$zone_name",
              "available": $zone_available
           }
        ]
     }, { ... }
}

Returned information

  • $region_name (string) - name of the region to which the availability zones belong
  • $zone_id (string) - UUID of the availability zone
  • $zone_name (string) - short name of the zone
  • $zone_label (string) - extended (descriptive) name of the availability zone
  • $zone_available (bool) - true if the zone is available, false if it is not