Description

Download an ISO Image.

Request URL

Compute API v2.0

POST /v2/{tenant_id}​/iso-images

Request Paramters

Parameter Value Style Description
X-Auth-Token User Token header
tenant_id Tenant ID URI
url “<iso URL(http,https,ftp,ftps)>” plain

Request Json

{
    "iso-image": {
        "url": "<http_url>" 
    }
}

Normal response codes

200

Example

curl -i -X POST \
-H 'Content-Type: application/json' \
-H "Accept: application/json" \
-H "X-Auth-Token: 3e25a9542daf49c9b07060b6d0f02875" \
-d '{"iso-image":{"url":"ftp://ftp.riken.jp/Linux/centos/6.6/isos/x86_64/CentOS-6.6-x86_64-minimal.iso"}}' \
https://compute.tyo1.cloud.z.com/v2/3132b110b0d847f3ad5d6ed8d38aabae/iso-images
HTTP/1.0 201 CREATED
Content-Type: application/json
Content-Length: 173
Location: http://172.21.20.24:8774/v2/3132b110b0d847f3ad5d6ed8d38aabae/iso-images
Server: Werkzeug/0.8.3 Python/2.6.6
Date: Wed, 18 Mar 2015 11:37:10 GMT

{
  "request": {
    "iso-image": {
      "url": "ftp://ftp.riken.jp/Linux/centos/6.6/isos/x86_64/CentOS-6.6-x86_64-netinstall.iso"
    }
  },
  "user": "3132b110b0d847f3ad5d6ed8d38aabae"
}