Returns regions for a kubernetes provider
GET/api/v2/metadata/k8s/:provider/regions
Returns regions for a kubernetes provider
Request
Path Parameters
provider stringrequired
The kubernetes 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
provider 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"
}