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
name stringrequired
regions
undefined[]
required
id stringrequired
name stringrequired
zones string[]
refreshed stringrequired
{
"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
code int32required
detail stringrequired
message stringrequired
uri stringrequired
verb stringrequired
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}
Loading...