Examples

POST /api/operatingsystems
{
  "operatingsystem": {
    "name": "XdFmgcNNiI",
    "major": "36",
    "description": "𦰑𠙑𬉏𝘾压𠛘蟘멲𬦬𥚫𠐖𐰠ꈁ𧆻𓈮샰𨋈힚𧞮𬵤𞢯醟𗊩됸𦴠𥆉𗹄𤏁𪁭ꪕډ𫀼𘖗뙀暽廅𐱈𖠢𨒡奻𦭂侼䔫𒄮큄갓𡓗筏𗪡𗅆𣉋𪚙敬狃𡒅𥦇ᶡ𓌹巜𨋕뇅𢙝ᙴ埤𘢡𦶨𫧆ꕉ𬗧𑢺𥟰𐚗㼣𬜄𩥖ꥸ𘀂飧𣇙𦖠ᵎ𨕯䉓𤢚𩠃𬋘잼𧃩𢈝𨫜쉡ǎꥧ𦚣𧅥𢋝𡽅绕𘣓䎥㑡𒀦Ǿ䀻코𗠧熇𥋞䓥𘢟䭿껢𪊲𡞦媀𧪌㐌𨾬똄𨝽𣒵𥰖𤡋𫼞𤾜𦬫濈瘧𨐒𣨱쳥룗𧝋𝙃𢝌ᙇ强𧪞𢉹𣅺𡮍弒𫼟𩕈𨖷שּׂ𠼯𫳸𘈚鉡𢶟𗿾訨쉿𬝑𣋦粗𤐍𢢝㨖ꖢ𫿭朋𧠹𥫌𬭿𬛎萃𠉉埾𤲳氌𡑻𧢷뫎頫𨜽𡗠윇𪔟𤴧𝑍㛚慅籍棥ᖟ뻍𣲮榻뇝ⶕ𤜝䯃躪쿃𬦺𣍪𣔹𫟚𐑄橳𧟪ᎄ𤌕煠趓㯕诠髫譼哆𬯗𦁳姇𐙶𨉖𒋹櫣诔汞𢉚ﭴᗿ𪑍𪞵𘀫𦤁罯𬯕𣯋따寄𛰗𦽮ص𩙎𗊻镥𒆉䆿帏犈顠𧯊뭫𐰉ǯ𥢀𨈪𪊩𬰢𤼦媷𢺋"
  }
}
201
{
  "description": "𦰑𠙑𬉏𝘾压𠛘蟘멲𬦬𥚫𠐖𐰠ꈁ𧆻𓈮샰𨋈힚𧞮𬵤𞢯醟𗊩됸𦴠𥆉𗹄𤏁𪁭ꪕډ𫀼𘖗뙀暽廅𐱈𖠢𨒡奻𦭂侼䔫𒄮큄갓𡓗筏𗪡𗅆𣉋𪚙敬狃𡒅𥦇ᶡ𓌹巜𨋕뇅𢙝ᙴ埤𘢡𦶨𫧆ꕉ𬗧𑢺𥟰𐚗㼣𬜄𩥖ꥸ𘀂飧𣇙𦖠ᵎ𨕯䉓𤢚𩠃𬋘잼𧃩𢈝𨫜쉡ǎꥧ𦚣𧅥𢋝𡽅绕𘣓䎥㑡𒀦Ǿ䀻코𗠧熇𥋞䓥𘢟䭿껢𪊲𡞦媀𧪌㐌𨾬똄𨝽𣒵𥰖𤡋𫼞𤾜𦬫濈瘧𨐒𣨱쳥룗𧝋𝙃𢝌ᙇ强𧪞𢉹𣅺𡮍弒𫼟𩕈𨖷שּׂ𠼯𫳸𘈚鉡𢶟𗿾訨쉿𬝑𣋦粗𤐍𢢝㨖ꖢ𫿭朋𧠹𥫌𬭿𬛎萃𠉉埾𤲳氌𡑻𧢷뫎頫𨜽𡗠윇𪔟𤴧𝑍㛚慅籍棥ᖟ뻍𣲮榻뇝ⶕ𤜝䯃躪쿃𬦺𣍪𣔹𫟚𐑄橳𧟪ᎄ𤌕煠趓㯕诠髫譼哆𬯗𦁳姇𐙶𨉖𒋹櫣诔汞𢉚ﭴᗿ𪑍𪞵𘀫𦤁罯𬯕𣯋따寄𛰗𦽮ص𩙎𗊻镥𒆉䆿帏犈顠𧯊뭫𐰉ǯ𥢀𨈪𪊩𬰢𤼦媷𢺋",
  "major": "36",
  "minor": "",
  "family": null,
  "release_name": null,
  "password_hash": "SHA256",
  "created_at": "2020-05-20 13:19:05 UTC",
  "updated_at": "2020-05-20 13:19:05 UTC",
  "id": 1073012843,
  "name": "XdFmgcNNiI",
  "title": "𦰑𠙑𬉏𝘾压𠛘蟘멲𬦬𥚫𠐖𐰠ꈁ𧆻𓈮샰𨋈힚𧞮𬵤𞢯醟𗊩됸𦴠𥆉𗹄𤏁𪁭ꪕډ𫀼𘖗뙀暽廅𐱈𖠢𨒡奻𦭂侼䔫𒄮큄갓𡓗筏𗪡𗅆𣉋𪚙敬狃𡒅𥦇ᶡ𓌹巜𨋕뇅𢙝ᙴ埤𘢡𦶨𫧆ꕉ𬗧𑢺𥟰𐚗㼣𬜄𩥖ꥸ𘀂飧𣇙𦖠ᵎ𨕯䉓𤢚𩠃𬋘잼𧃩𢈝𨫜쉡ǎꥧ𦚣𧅥𢋝𡽅绕𘣓䎥㑡𒀦Ǿ䀻코𗠧熇𥋞䓥𘢟䭿껢𪊲𡞦媀𧪌㐌𨾬똄𨝽𣒵𥰖𤡋𫼞𤾜𦬫濈瘧𨐒𣨱쳥룗𧝋𝙃𢝌ᙇ强𧪞𢉹𣅺𡮍弒𫼟𩕈𨖷שּׂ𠼯𫳸𘈚鉡𢶟𗿾訨쉿𬝑𣋦粗𤐍𢢝㨖ꖢ𫿭朋𧠹𥫌𬭿𬛎萃𠉉埾𤲳氌𡑻𧢷뫎頫𨜽𡗠윇𪔟𤴧𝑍㛚慅籍棥ᖟ뻍𣲮榻뇝ⶕ𤜝䯃躪쿃𬦺𣍪𣔹𫟚𐑄橳𧟪ᎄ𤌕煠趓㯕诠髫譼哆𬯗𦁳姇𐙶𨉖𒋹櫣诔汞𢉚ﭴᗿ𪑍𪞵𘀫𦤁罯𬯕𣯋따寄𛰗𦽮ص𩙎𗊻镥𒆉䆿帏犈顠𧯊뭫𐰉ǯ𥢀𨈪𪊩𬰢𤼦媷𢺋",
  "media": [],
  "architectures": [],
  "ptables": [],
  "provisioning_templates": [],
  "os_default_templates": [],
  "images": [],
  "parameters": []
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

operatingsystem
required

Validations:

  • Must be a Hash

operatingsystem[name]
required

Validations:

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

operatingsystem[major]
required

Validations:

  • Must be a String

operatingsystem[minor]
optional , nil allowed

Validations:

  • Must be a String

operatingsystem[description]
optional , nil allowed

Validations:

  • Must be a String

operatingsystem[family]
optional , nil allowed

Validations:

  • Must be a String

operatingsystem[release_name]
optional , nil allowed

Validations:

  • Must be a String

operatingsystem[os_parameters_attributes]
optional , nil allowed

Array of parameters

Validations:

  • Must be an Array of nested elements

operatingsystem[os_parameters_attributes][name]
required

Name of the parameter

Validations:

  • Must be a String

operatingsystem[os_parameters_attributes][value]
required

Parameter value

Validations:

  • Must be a String

operatingsystem[password_hash]
optional , nil allowed

Root password hash function to use

Validations:

  • Must be one of: SHA256, SHA512, Base64, Base64-Windows, MD5.

operatingsystem[architecture_ids]
optional , nil allowed

IDs of associated architectures

Validations:

  • Must be an array of any type

operatingsystem[provisioning_template_ids]
optional , nil allowed

IDs of associated provisioning templates

Validations:

  • Must be an array of any type

operatingsystem[medium_ids]
optional , nil allowed

IDs of associated media

Validations:

  • Must be an array of any type

operatingsystem[ptable_ids]
optional , nil allowed

IDs of associated partition tables

Validations:

  • Must be an array of any type