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
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • String

config_template_id
optional

ID of provisioning template

Validations:

  • String

provisioning_template_id
optional

ID of provisioning template

Validations:

  • String

page
optional

paginate results

Validations:

  • String

per_page
optional

number of entries per request

Validations:

  • String


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

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • 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
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • String

os_default_template
required

Validations:

  • 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
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • String

id
required

Validations:

  • String

os_default_template
required

Validations:

  • 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
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • String

id
required

Validations:

  • String