Get Create Image Options
GET/backend/api/openstack/images/create_options
Host: https://core.ocplanet.cloud
Retrieve options for creating a new image when your has no active project. 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 must be specified when using POST/PUT requests.
Request
Responses
- 200
- 409
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
regions object[]required
id stringrequired
description stringrequired
container_formats string[]required
disk_formats string[]required
visibilities string[]required
os_distros string[]required
selected_region stringrequired
hypervisor_types string[]required
statuses object[]required
display stringrequired
value stringrequired
cleanup_enabled booleanrequired
cleanup_days integerrequired
cleanup_formats string[]required
allowed_formats arrayrequired
architectures array[]required
{
"regions": [
{
"id": "string",
"description": "string"
}
],
"container_formats": [
"string"
],
"disk_formats": [
"string"
],
"visibilities": [
"string"
],
"os_distros": [
"string"
],
"selected_region": "string",
"hypervisor_types": [
"string"
],
"statuses": [
{
"display": "string",
"value": "string"
}
],
"cleanup_enabled": true,
"cleanup_days": 0,
"cleanup_formats": [
"string"
],
"allowed_formats": [
null
],
"architectures": [
[
"string"
]
]
}
- application/json
- Schema
- Example (from schema)
- Example
Schema
detail stringrequired
{
"detail": "string"
}
{
"detail": "Your client has no active OpenStack project"
}
Loading...