Returns regions for a cloud
GET/api/v2/metadata/cloud/:cloud/regions
Returns regions for a cloud
Request
Path Parameters
cloud stringrequired
The cloud provider to retrieve regions for
Responses
- 200
- 401
- 403
- 404
- 500
A list of all the regions organised by continent
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- Array [ 
- ] 
- ] 
items
undefined[]
required
namestringrequired
regions
undefined[]
required
idstringrequired
namestringrequired
zonesstring[]
refreshedstringrequired
{
  "items": [
    {
      "name": "string",
      "regions": [
        {
          "id": "string",
          "name": "string",
          "zones": [
            "string"
          ]
        }
      ]
    }
  ],
  "refreshed": "string"
}
If not authenticated
If authenticated but not authorized
cloud doesn't exist
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
codeint32required
detailstringrequired
messagestringrequired
uristringrequired
verbstringrequired
{
  "code": 0,
  "detail": "string",
  "message": "string",
  "uri": "string",
  "verb": "string"
}