GET /api/operatingsystems
Llista tots els sistemes operatius

GET /api/architectures/:architecture_id/operatingsystems
Llista tots els sistemes operatius per a les arquitectures imbricades

GET /api/media/:medium_id/operatingsystems
Llista tots els sistemes operatius per als mitjans imbricats

GET /api/ptables/:ptable_id/operatingsystems
Llista tots els sistemes operatius per a les taules de particions imbricades

GET /api/config_templates/:config_template_id/operatingsystems
Llista tots els sistemes operatius per a les plantilles d'aprovisionament imbricades

GET /api/provisioning_templates/:provisioning_template_id/operatingsystems
Llista tots els sistemes operatius per a les plantilles d'aprovisionament imbricades

Params

Param Name Description
architecture_id
Optional

Id. d'arquitectura


Value:

Must be String

medium_id
Optional

Id. del mitjà


Value:

Must be String

ptable_id
Optional

Id. de la taula de particions


Value:

Must be String

config_template_id
Optional

Id. de la plantilla


Value:

Must be String

provisioning_template_id
Optional

Id. de la plantilla


Value:

Must be String

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 operating system

Params

Param Name Description
id
Required

Value:

Must be String


POST /api/operatingsystems
Create an operating system

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 , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

operatingsystem[description]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

operatingsystem[family]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

operatingsystem[release_name]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

operatingsystem[password_hash]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

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


Value:

Must be String

operatingsystem[architecture_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. de les arquitectures associades


Value:

Must be an array of any type

operatingsystem[config_template_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. de les plantilles d'aprovisionament associades


Value:

Must be an array of any type

operatingsystem[provisioning_template_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. de les plantilles d'aprovisionament associades


Value:

Must be an array of any type

operatingsystem[medium_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. dels mitjans associats


Value:

Must be an array of any type

operatingsystem[ptable_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. de les taules de particions associades


Value:

Must be an array of any type


PUT /api/operatingsystems/:id
Update an operating system

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 , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

operatingsystem[description]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

operatingsystem[family]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

operatingsystem[release_name]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

operatingsystem[password_hash]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

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


Value:

Must be String

operatingsystem[architecture_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. de les arquitectures associades


Value:

Must be an array of any type

operatingsystem[config_template_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. de les plantilles d'aprovisionament associades


Value:

Must be an array of any type

operatingsystem[provisioning_template_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. de les plantilles d'aprovisionament associades


Value:

Must be an array of any type

operatingsystem[medium_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. dels mitjans associats


Value:

Must be an array of any type

operatingsystem[ptable_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. de les taules de particions associades


Value:

Must be an array of any type


DELETE /api/operatingsystems/:id
Suprimeix un sistema operatiu

Params

Param Name Description
id
Required

Value:

Must be String


GET /api/operatingsystems/:id/bootfiles
List boot files for an operating system

Params

Param Name Description
id
Required

Value:

Must be String

medium
Optional

Value:

Must be String

architecture
Optional

Value:

Must be String