Create Images
POST/backend/api/openstack/images
Host: https://core.ocplanet.cloud
Request
Query Parameters
active_client integerrequired
- multipart/form-data
Body
disk_format string
source string
name string
url string
min_disk integer
min_ram integer
region string
protected boolean
architecture string
visibility string
hypervisor_type
Responses
- 201
- application/json
- Schema
- Example (from schema)
- Example
Schema
architecture stringrequired
container_format stringrequired
disk_format stringrequired
hypervisor_type stringrequired
id stringrequired
min_disk integerrequired
min_ram integerrequired
name stringrequired
os_distro stringrequired
os_version stringrequired
protected booleanrequired
region stringrequired
source stringrequired
tags arrayrequired
visibility stringrequired
{
"architecture": "string",
"container_format": "string",
"disk_format": "string",
"hypervisor_type": "string",
"id": "string",
"min_disk": 0,
"min_ram": 0,
"name": "string",
"os_distro": "string",
"os_version": "string",
"protected": true,
"region": "string",
"source": "string",
"tags": [
null
],
"visibility": "string"
}
{
"name": "Rottt",
"min_disk": 1,
"min_ram": 1,
"region": "ua-central-1",
"container_format": "bare",
"disk_format": "qcow2",
"visibility": "private",
"protected": false,
"architecture": "x86_64",
"os_distro": null,
"os_version": null,
"source": "url",
"hypervisor_type": "",
"tags": [],
"id": "1e8bf3aa-11e6-4f8b-91d3-d91a18604784"
}
Loading...