GET /api/architectures
Llista totes les arquitectures

GET /api/operatingsystems/:operatingsystem_id/architectures
Llista totes les arquitectures per al sistema operatiu

Params

Param name Description
search
optional

filtra els resultats

Validations:

  • Must be a String

order
optional

ordena els resultats

Validations:

  • Must be a String

page
optional

pagina els resultats

Validations:

  • Must be a String

per_page
optional

Nombre d'entrades per peticiĆ³

Validations:

  • Must be a String

operatingsystem_id
optional

id. del sistema operatiu

Validations:

  • Must be a String


GET /api/architectures/:id
Mostra una arquitectura

Params

Param name Description
id
required

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
Crea una arquitectura

Params

Param name Description
architecture
required

Validations:

  • Must be a Hash

architecture[name]
required

Validations:

  • Must be a String

architecture[operatingsystem_ids]
optional , nil allowed

Els id. dels sistemes operatius

Validations:

  • Must be an array of any type


PUT /api/architectures/:id
Actualitza una arquitectura

Params

Param name Description
id
required

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
required

Validations:

  • Must be a Hash

architecture[name]
optional

Validations:

  • Must be a String

architecture[operatingsystem_ids]
optional , nil allowed

Els id. dels sistemes operatius

Validations:

  • Must be an array of any type


DELETE /api/architectures/:id
Suprimeix una arquitectura

Params

Param name Description
id
required

Validations:

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