api.imagestore.image
¶
/imagestore/(name)/image¶
-
api.imagestore.image.views.
imagestore_image_list
(*args, **kwargs)¶ List (
GET
) all disk images available on remote image repository.-
GET
/imagestore/
(name)/image
¶ DC-bound?: Permissions: Asynchronous?: Parameters: - data.full (boolean) – Return list of objects with all image repository details (default: false)
Status Codes: - 200 OK – SUCCESS
- 403 Forbidden – Forbidden
- 404 Not Found – ImageStore not found
-
/imagestore/(name)/image/(uuid)¶
-
api.imagestore.image.views.
imagestore_image_manage
(*args, **kwargs)¶ Show (
GET
) disk image metadata or import (POST
) disk image from remote image repository.-
GET
/imagestore/
(name)/image/
(uuid)¶ DC-bound?: Permissions: Asynchronous?: Parameters: - name (string) – required - Image repository name
- uuid (string) – required - Image uuid
Status Codes: - 200 OK – SUCCESS
- 400 Bad Request – FAILURE
- 403 Forbidden – Forbidden
- 404 Not Found – ImageStore not found / Image not found
-
POST
/imagestore/
(name)/image/
(uuid)¶ This calls the
POST /image/(name)
API function so the function properties, response and possible status codes are identical. It also accepts the same parameters asPOST /image/(name)
except ofmanifest_url
andfile_url
, which are defined by the repository the image is imported from. Also thename
parameter is not required as it is set to a default value retrieved from the disk image metadata.
-