GET /api/architectures
Listar todas as arquiteturas

GET /api/operatingsystems/:operatingsystem_id/architectures
Listar todas as arquiteturas para sistemas operacionais

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

search
opcional

filtrar resultados

Validations:

  • Must be a String

order
opcional

Classificar campo e ordem, ex.: ‘id DESC’

Validations:

  • Must be a String

page
opcional

Número de página, iniciando em 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para retornar

Validations:

  • Must be a number.

operatingsystem_id
opcional

ID do sistema operacional

Validations:

  • Must be a String

Pesquisar campos

Nome do campo Tipo Valores possíveis
name

GET /api/architectures/:id
Exibir uma arquitetura

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/architectures
Criar uma arquitetura

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

architecture
requerido

Validations:

  • Must be a Hash

architecture[name]
requerido

Validations:

  • Must be a String

architecture[operatingsystem_ids]
opcional , nulo permitido

IDs de sistemas operacionais

Validations:

  • Must be an array of any type


PUT /api/architectures/:id
Atualizar uma arquitetura

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

architecture
requerido

Validations:

  • Must be a Hash

architecture[name]
opcional

Validations:

  • Must be a String

architecture[operatingsystem_ids]
opcional , nulo permitido

IDs de sistemas operacionais

Validations:

  • Must be an array of any type


DELETE /api/architectures/:id
Apagar um arquitetura

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.