GET /api/operatingsystems
列出所有作業系統

GET /api/architectures/:architecture_id/operatingsystems
列出巢狀架構的所有作業系統

GET /api/media/:medium_id/operatingsystems
列出巢狀媒介的所有作業系統

GET /api/ptables/:ptable_id/operatingsystems
列出巢狀分割表的所有作業系統

GET /api/config_templates/:config_template_id/operatingsystems
列出巢狀佈建範本的所有作業系統

GET /api/provisioning_templates/:provisioning_template_id/operatingsystems
列出巢狀佈建範本的所有作業系統

參數

參數名字 描述
architecture_id
選填

架構的 ID

Validations:

  • Must be a String

medium_id
選填

媒介 ID

Validations:

  • Must be a String

ptable_id
選填

分割表 ID

Validations:

  • Must be a String

config_template_id
選填

範本 ID

Validations:

  • Must be a String

provisioning_template_id
選填

範本 ID

Validations:

  • Must be a String

os_parameters_attributes
選填

Array of parameters

Validations:

  • Must be an Array of nested elements

os_parameters_attributes[name]
必填

參數名稱

Validations:

  • Must be a String

os_parameters_attributes[value]
必填

參數值

Validations:

  • Must be a String

search
選填

篩選結果

Validations:

  • Must be a String

order
選填

排序結果

Validations:

  • Must be a String

page
選填

編頁結果

Validations:

  • Must be a String

per_page
選填

每個請求的項目數量

Validations:

  • Must be a String


GET /api/operatingsystems/:id
顯示作業系統

參數

參數名字 描述
id
必填

Validations:

  • Must be a String

show_hidden_parameters
選填

Display hidden parameter values

Validations:

  • Must be one of: true, false, 1, 0


POST /api/operatingsystems
建立作業系統

參數

參數名字 描述
operatingsystem
必填

Validations:

  • Must be a Hash

operatingsystem[name]
必填

Validations:

  • Must match regular expression /\A(\S+)\Z/.

operatingsystem[major]
必填

Validations:

  • Must be a String

operatingsystem[minor]
選填 , 允許空值

Validations:

  • Must be a String

operatingsystem[description]
選填 , 允許空值

Validations:

  • Must be a String

operatingsystem[family]
選填 , 允許空值

Validations:

  • Must be a String

operatingsystem[release_name]
選填 , 允許空值

Validations:

  • Must be a String

operatingsystem[os_parameters_attributes]
選填 , 允許空值

Array of parameters

Validations:

  • Must be an Array of nested elements

operatingsystem[os_parameters_attributes][name]
必填

參數名稱

Validations:

  • Must be a String

operatingsystem[os_parameters_attributes][value]
必填

參數值

Validations:

  • Must be a String

operatingsystem[password_hash]
選填 , 允許空值

欲使用的 Root 密碼雜湊功能,MD5、SHA256、SHA512、Base64 其中之一

Validations:

  • Must be a String

operatingsystem[architecture_ids]
選填 , 允許空值

相聯架構的 ID

Validations:

  • Must be an array of any type

operatingsystem[config_template_ids]
選填 , 允許空值

相聯佈建範本的 ID

Validations:

  • Must be an array of any type

operatingsystem[provisioning_template_ids]
選填 , 允許空值

相聯佈建範本的 ID

Validations:

  • Must be an array of any type

operatingsystem[medium_ids]
選填 , 允許空值

相聯媒介的 ID

Validations:

  • Must be an array of any type

operatingsystem[ptable_ids]
選填 , 允許空值

相聯分割表的 ID

Validations:

  • Must be an array of any type


PUT /api/operatingsystems/:id
更新作業系統

參數

參數名字 描述
id
必填

Validations:

  • Must be a String

operatingsystem
必填

Validations:

  • Must be a Hash

operatingsystem[name]
選填

Validations:

  • Must match regular expression /\A(\S+)\Z/.

operatingsystem[major]
選填

Validations:

  • Must be a String

operatingsystem[minor]
選填 , 允許空值

Validations:

  • Must be a String

operatingsystem[description]
選填 , 允許空值

Validations:

  • Must be a String

operatingsystem[family]
選填 , 允許空值

Validations:

  • Must be a String

operatingsystem[release_name]
選填 , 允許空值

Validations:

  • Must be a String

operatingsystem[os_parameters_attributes]
選填 , 允許空值

Array of parameters

Validations:

  • Must be an Array of nested elements

operatingsystem[os_parameters_attributes][name]
選填

參數名稱

Validations:

  • Must be a String

operatingsystem[os_parameters_attributes][value]
選填

參數值

Validations:

  • Must be a String

operatingsystem[password_hash]
選填 , 允許空值

欲使用的 Root 密碼雜湊功能,MD5、SHA256、SHA512、Base64 其中之一

Validations:

  • Must be a String

operatingsystem[architecture_ids]
選填 , 允許空值

相聯架構的 ID

Validations:

  • Must be an array of any type

operatingsystem[config_template_ids]
選填 , 允許空值

相聯佈建範本的 ID

Validations:

  • Must be an array of any type

operatingsystem[provisioning_template_ids]
選填 , 允許空值

相聯佈建範本的 ID

Validations:

  • Must be an array of any type

operatingsystem[medium_ids]
選填 , 允許空值

相聯媒介的 ID

Validations:

  • Must be an array of any type

operatingsystem[ptable_ids]
選填 , 允許空值

相聯分割表的 ID

Validations:

  • Must be an array of any type


DELETE /api/operatingsystems/:id
刪除作業系統

參數

參數名字 描述
id
必填

Validations:

  • Must be a String


GET /api/operatingsystems/:id/bootfiles
列出作業系統的開機檔案

參數

參數名字 描述
id
必填

Validations:

  • Must be a String

medium
選填

Validations:

  • Must be a String

architecture
選填

Validations:

  • Must be a String