GET /api/operatingsystems
Listar todos os sistemas operacionais

GET /api/architectures/:architecture_id/operatingsystems
Listar todos os sistemas operacionais para arquitetura

GET /api/media/:medium_id/operatingsystems
List all operating systems for nested medium

GET /api/ptables/:ptable_id/operatingsystems
List all operating systems for nested partition table

GET /api/config_templates/:config_template_id/operatingsystems
List all operating systems for nested provisioning template

GET /api/provisioning_templates/:provisioning_template_id/operatingsystems
List all operating systems for nested provisioning template

Parâmentros

Nome parâmetro Descrição
architecture_id
opcional

ID da arquitetura


Value:

Must be String

medium_id
opcional

ID of medium


Value:

Must be String

ptable_id
opcional

ID of partition table


Value:

Must be String

config_template_id
opcional

ID of template


Value:

Must be String

provisioning_template_id
opcional

ID of template


Value:

Must be String

search
opcional

filtrar resultados


Value:

Must be String

order
opcional

ordenar resultados


Value:

Must be String

page
opcional

paginar resultados


Value:

Must be String

per_page
opcional

número de entradas por requisições


Value:

Must be String


GET /api/operatingsystems/:id
Show an operating system

Parâmentros

Nome parâmetro Descrição
id
requerido

Value:

Must be String


POST /api/operatingsystems
Criar um sistema operacional

Parâmentros

Nome parâmetro Descrição
operatingsystem
requerido

Value:

Must be a Hash

operatingsystem[name]
requerido

Value:

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

operatingsystem[major]
requerido

Value:

Must be String

operatingsystem[minor]
opcional , nulo permitido

Value:

Must be String

operatingsystem[description]
opcional , nulo permitido

Value:

Must be String

operatingsystem[family]
opcional , nulo permitido

Value:

Must be String

operatingsystem[release_name]
opcional , nulo permitido

Value:

Must be String

operatingsystem[password_hash]
opcional , nulo permitido

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


Value:

Must be String

operatingsystem[architecture_ids]
opcional , nulo permitido

IDs of associated architectures


Value:

Must be an array of any type

operatingsystem[config_template_ids]
opcional , nulo permitido

IDs of associated provisioning templates


Value:

Must be an array of any type

operatingsystem[provisioning_template_ids]
opcional , nulo permitido

IDs of associated provisioning templates


Value:

Must be an array of any type

operatingsystem[medium_ids]
opcional , nulo permitido

IDs of associated media


Value:

Must be an array of any type

operatingsystem[ptable_ids]
opcional , nulo permitido

IDs of associated partition tables


Value:

Must be an array of any type


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

Parâmentros

Nome parâmetro Descrição
id
requerido

Value:

Must be String

operatingsystem
requerido

Value:

Must be a Hash

operatingsystem[name]
opcional

Value:

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

operatingsystem[major]
opcional

Value:

Must be String

operatingsystem[minor]
opcional , nulo permitido

Value:

Must be String

operatingsystem[description]
opcional , nulo permitido

Value:

Must be String

operatingsystem[family]
opcional , nulo permitido

Value:

Must be String

operatingsystem[release_name]
opcional , nulo permitido

Value:

Must be String

operatingsystem[password_hash]
opcional , nulo permitido

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


Value:

Must be String

operatingsystem[architecture_ids]
opcional , nulo permitido

IDs of associated architectures


Value:

Must be an array of any type

operatingsystem[config_template_ids]
opcional , nulo permitido

IDs of associated provisioning templates


Value:

Must be an array of any type

operatingsystem[provisioning_template_ids]
opcional , nulo permitido

IDs of associated provisioning templates


Value:

Must be an array of any type

operatingsystem[medium_ids]
opcional , nulo permitido

IDs of associated media


Value:

Must be an array of any type

operatingsystem[ptable_ids]
opcional , nulo permitido

IDs of associated partition tables


Value:

Must be an array of any type


DELETE /api/operatingsystems/:id
Apagar um sistema operacional

Parâmentros

Nome parâmetro Descrição
id
requerido

Value:

Must be String


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

Parâmentros

Nome parâmetro Descrição
id
requerido

Value:

Must be String

medium
opcional

Value:

Must be String

architecture
opcional

Value:

Must be String