api.dc.template

/dc/(dc)/template

api.dc.template.views.dc_template_list(*args, **kwargs)

List (GET) available server templates in current datacenter.

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

/dc/(dc)/template/(name)

api.dc.template.views.dc_template(*args, **kwargs)

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

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