GET /api/operatingsystems
List all operating systems.

Params

Param Name Description
search
Optional

filtra els resultats


Value:

Must be String

order
Optional

ordena els resultats


Value:

Must be String

page
Optional

pagina els resultats


Value:

Must be String

per_page
Optional

Nombre d'entrades per petició


Value:

Must be String


GET /api/operatingsystems/:id
Show an OS.

Params

Param Name Description
id
Required

Value:

Must be String


POST /api/operatingsystems
Create an OS.

Params

Param Name Description
operatingsystem
Required

Value:

Must be a Hash

operatingsystem[name]
Required

Value:

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

operatingsystem[major]
Required

Value:

Must be String

operatingsystem[minor]
Optional

Value:

Must be String

operatingsystem[description]
Optional

Value:

Must be String

operatingsystem[family]
Optional

Value:

Must be String

operatingsystem[release_name]
Optional

Value:

Must be String

operatingsystem[password_hash]
Optional

Root password hash function to use, one of MD5, SHA256, SHA512, Base64


Value:

Must be String

operatingsystem[config_template_ids]
Optional

Els id. de les plantilles d'aprovisionament associades


Value:

Must be an array of any type

operatingsystem[provisioning_template_ids]
Optional

Els id. de les plantilles d'aprovisionament associades


Value:

Must be an array of any type


PUT /api/operatingsystems/:id
Update an OS.

Params

Param Name Description
id
Required

Value:

Must be String

operatingsystem
Required

Value:

Must be a Hash

operatingsystem[name]
Optional

Value:

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

operatingsystem[major]
Optional

Value:

Must be String

operatingsystem[minor]
Optional

Value:

Must be String

operatingsystem[description]
Optional

Value:

Must be String

operatingsystem[family]
Optional

Value:

Must be String

operatingsystem[release_name]
Optional

Value:

Must be String

operatingsystem[password_hash]
Optional

Root password hash function to use, one of MD5, SHA256, SHA512, Base64


Value:

Must be String

operatingsystem[config_template_ids]
Optional

Els id. de les plantilles d'aprovisionament associades


Value:

Must be an array of any type

operatingsystem[provisioning_template_ids]
Optional

Els id. de les plantilles d'aprovisionament associades


Value:

Must be an array of any type


DELETE /api/operatingsystems/:id
Delete an OS.

Params

Param Name Description
id
Required

Value:

Must be String


GET /api/operatingsystems/:id/bootfiles
List boot files an OS.

Params

Param Name Description
id
Required

Value:

Must be String

medium
Optional

Value:

Must be String

architecture
Optional

Value:

Must be String