GET /api/architectures
Elenca tutte le architetture

GET /api/operatingsystems/:operatingsystem_id/architectures
Elenca tutte le architetture per il sistema operativo

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

search
opzionale

filtra i risultati

Validations:

  • Must be a String

order
opzionale

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
opzionale

Numero pagina, iniziando da 1

Validations:

  • Must be a number.

per_page
opzionale

Numero di risultati per pagina da ritornare

Validations:

  • Must be a number.

operatingsystem_id
opzionale

ID del sistema operativo

Validations:

  • Must be a String

Search fields

Field name Tipo Possible values
name

GET /api/architectures/:id
Mostra una architettura

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

id
richiesto

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 architettura

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

architecture
richiesto

Validations:

  • Must be a Hash

architecture[name]
richiesto

Validations:

  • Must be a String

architecture[operatingsystem_ids]
opzionale , consentito nil

ID dei sistemi operativi

Validations:

  • Must be an array of any type


PUT /api/architectures/:id
Aggiorna una architettura

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

id
richiesto

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
richiesto

Validations:

  • Must be a Hash

architecture[name]
opzionale

Validations:

  • Must be a String

architecture[operatingsystem_ids]
opzionale , consentito nil

ID dei sistemi operativi

Validations:

  • Must be an array of any type


DELETE /api/architectures/:id
Cancella una architettura

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

id
richiesto

Validations:

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