GET /api/operatingsystems/:operatingsystem_id/os_default_templates
List default templates combinations for an operating system

GET /api/config_templates/:config_template_id/os_default_templates
List operating systems where this template is set as a default

GET /api/provisioning_templates/:provisioning_template_id/os_default_templates
List operating systems where this template is set as a default

Params

Param name Description
operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a String

config_template_id
optional

ID of provisioning template

Validations:

  • Must be a String

provisioning_template_id
optional

ID of provisioning template

Validations:

  • Must be a String

page
optional

paginate results

Validations:

  • Must be a String

per_page
optional

number of entries per request

Validations:

  • Must be a String


GET /api/operatingsystems/:operatingsystem_id/os_default_templates/:id
Show a default template combination for an operating system

Params

Param name Description
operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a String

id
required

Validations:

  • Must be a number.


POST /api/operatingsystems/:operatingsystem_id/os_default_templates
Create a default template combination for an operating system

Params

Param name Description
operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a String

os_default_template
required

Validations:

  • Must be a Hash

os_default_template[template_kind_id]
optional , nil allowed

Validations:

  • Must be a number.

os_default_template[config_template_id]
optional , nil allowed

ID of provisioning template

Validations:

  • Must be a number.

os_default_template[provisioning_template_id]
optional , nil allowed

ID of provisioning template

Validations:

  • Must be a number.


PUT /api/operatingsystems/:operatingsystem_id/os_default_templates/:id
Update a default template combination for an operating system

Params

Param name Description
operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a String

id
required

Validations:

  • Must be a String

os_default_template
required

Validations:

  • Must be a Hash

os_default_template[template_kind_id]
optional , nil allowed

Validations:

  • Must be a number.

os_default_template[config_template_id]
optional , nil allowed

ID of provisioning template

Validations:

  • Must be a number.

os_default_template[provisioning_template_id]
optional , nil allowed

ID of provisioning template

Validations:

  • Must be a number.


DELETE /api/operatingsystems/:operatingsystem_id/os_default_templates/:id
Delete a default template combination for an operating system

Params

Param name Description
operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a String

id
required

Validations:

  • Must be a String