api.dc.image

/dc/(dc)/image

api.dc.image.views.dc_image_list(*args, **kwargs)

List (GET) available server disk images in current datacenter.

GET /dc/(dc)/image
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • data.full (boolean) – Return list of objects with all image details (default: false)
  • data.order_by (string) – Available fields for sorting: name (default: name)
Status Codes:

/dc/(dc)/image/(name)

api.dc.image.views.dc_image(*args, **kwargs)

Show (GET), create (POST) or delete (DELETE) a server disk image (name) association with a datacenter (dc).

GET /dc/(dc)/image/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • name (string) – required - Server disk image name
Status Codes:
POST /dc/(dc)/image/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • name (string) – required - Server disk image name
Status Codes:
DELETE /dc/(dc)/image/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • name (string) – required - Server disk image name
Status Codes: