POST /api/operatingsystems { "operatingsystem": { "name": "zFATRunICQ", "major": "055" } } 201 { "description": null, "major": "055", "minor": "", "family": null, "release_name": null, "password_hash": "SHA256", "created_at": "2019-02-20 13:34:46 UTC", "updated_at": "2019-02-20 13:34:46 UTC", "id": 1073012837, "name": "zFATRunICQ", "title": "zFATRunICQ 055", "media": [], "architectures": [], "ptables": [], "config_templates": [], "provisioning_templates": [], "os_default_templates": [], "images": [], "parameters": [] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
operatingsystem required |
Validations:
|
operatingsystem[name] required |
Validations:
|
operatingsystem[major] required |
Validations:
|
operatingsystem[minor] optional , nil allowed |
Validations:
|
operatingsystem[description] optional , nil allowed |
Validations:
|
operatingsystem[family] optional , nil allowed |
Validations:
|
operatingsystem[release_name] optional , nil allowed |
Validations:
|
operatingsystem[os_parameters_attributes] optional , nil allowed |
Array of parameters Validations:
|
operatingsystem[os_parameters_attributes][name] required |
Name of the parameter Validations:
|
operatingsystem[os_parameters_attributes][value] required |
Parameter value Validations:
|
operatingsystem[password_hash] optional , nil allowed |
Root password hash function to use, one of MD5, SHA256, SHA512, Base64 Validations:
|
operatingsystem[architecture_ids] optional , nil allowed |
IDs of associated architectures Validations:
|
operatingsystem[config_template_ids] optional , nil allowed |
IDs of associated provisioning templates Validations:
|
operatingsystem[provisioning_template_ids] optional , nil allowed |
IDs of associated provisioning templates Validations:
|
operatingsystem[medium_ids] optional , nil allowed |
IDs of associated media Validations:
|
operatingsystem[ptable_ids] optional , nil allowed |
IDs of associated partition tables Validations:
|