List Regions
GET/backend/api/openstack/regions
Host: https://core.ocplanet.cloud
Retrieve a list of regions available.
Request
Responses
- 200
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
count integerrequired
next nullstringrequired
objects object[]required
description stringrequired
enable_snapshots booleanrequired
enable_volumes booleanrequired
enabled booleanrequired
id stringrequired
is_default booleanrequired
pageNo integerrequired
previous nullstringrequired
totalCount integerrequired
{
"count": 0,
"objects": [
{
"description": "string",
"enable_snapshots": true,
"enable_volumes": true,
"enabled": true,
"id": "string",
"is_default": true
}
],
"pageNo": 0,
"totalCount": 0
}
{
"count": 2,
"next": null,
"objects": [
{
"description": "",
"enable_snapshots": true,
"enable_volumes": true,
"enabled": true,
"id": "{country_name}",
"is_default": false,
"is_lbaas_default": false
},
{
"description": "",
"enable_snapshots": true,
"enable_volumes": true,
"enabled": true,
"id": "{country_name}",
"is_default": true,
"is_lbaas_default": true
}
],
"pageNo": 1,
"previous": null,
"totalCount": 2
}
Loading...