Get Router Creation Options
GEThttps://core-pl.ocplanet.cloud/backend/api/openstack/routers/create_options
Host: https://core.ocplanet.cloud
Retrieve options for creating a new router associated with the instances, identified by its unique ID. Through a GET request with create_options, data about the service options is obtained before ordering it. You can see what the characteristics may be. These options contain all need data which must be specified when you will use POST/PUT requests.
Request
Responses
- 200
- application/json
- Schema
- Example (from schema)
- Example
Schema
availability_zones string[]required
external_networks object[]required
has_hidden_regions booleanrequired
regions object[]required
selected_region stringrequired
{
"availability_zones": [
"string"
],
"external_networks": [
{
"id": "string",
"name": "string",
"region": "string"
}
],
"has_hidden_regions": true,
"regions": [
{
"description": "string",
"id": "string"
}
],
"selected_region": "string"
}
{
"regions": [
{
"id": "ua-central-1",
"description": ""
}
],
"has_hidden_regions": false,
"external_networks": [
{
"name": "external_network",
"id": "7e800880-26d4-4674-851f-dda4c8a362da",
"region": "ua-central-1"
}
],
"selected_region": "default",
"availability_zones": [
"nova"
]
}
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: Use 'OpenAPIToken {token}' as the value
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://core-pl.ocplanet.cloud/backend/api/openstack/routers/create_options' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
ResponseClear