GET /api/architectures
Afficher toutes les architectures

GET /api/operatingsystems/:operatingsystem_id/architectures
Afficher toutes les architectures pour le système d'exploitation

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

search
optionel

filtrer les résultats

Validations:

  • Must be a String

order
optionel

Champ et sens de tri, ex: 'id DESC'

Validations:

  • Must be a String

page
optionel

Numéro de la page, commençant par 1

Validations:

  • Must be a number.

per_page
optionel

Nombre de résultats par page à renvoyer

Validations:

  • Must be a number.

operatingsystem_id
optionel

ID du système d'exploitation

Validations:

  • Must be a String

Rechercher les champs

Nom du champ Type Valeurs possibles
name

GET /api/architectures/:id
Afficher une architecture

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
Créer une architecture

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

architecture
requis

Validations:

  • Must be a Hash

architecture[name]
requis

Validations:

  • Must be a String

architecture[operatingsystem_ids]
optionel , nil autorisé

ID des systèmes d'exploitation

Validations:

  • Must be an array of any type


PUT /api/architectures/:id
Mise à jour d'une architecture

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

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
requis

Validations:

  • Must be a Hash

architecture[name]
optionel

Validations:

  • Must be a String

architecture[operatingsystem_ids]
optionel , nil autorisé

ID des systèmes d'exploitation

Validations:

  • Must be an array of any type


DELETE /api/architectures/:id
Supprimer une architecture

Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

Validations:

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