GET /api/common_parameters
Lister tous les paramètres globaux

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

show_hidden
optionel

Afficher les valeurs masquées

Validations:

  • Must be one of: true, false, 1, 0.

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.

Rechercher les champs

Nom du champ Type Valeurs possibles
domain_name
host_group_name
host_name
key_type
location_name
name
organization_name
os_name
parameter_type
subnet_name
type
value

GET /api/common_parameters/:id
Afficher un paramètre gobal

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

show_hidden
optionel

Afficher les valeurs masquées

Validations:

  • Must be one of: true, false, 1, 0.

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/common_parameters
Créer un paramètre global

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

common_parameter
requis

Validations:

  • Must be a Hash

common_parameter[name]
requis

Validations:

  • Must be a String

common_parameter[value]
requis

Validations:

  • Must be a String

common_parameter[parameter_type]
requis

Type de valeur

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.

common_parameter[hidden_value]
optionel , nil autorisé

Validations:

  • Must be one of: true, false.


PUT /api/common_parameters/:id
Mise à jour d'un paramètre global

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.

common_parameter
requis

Validations:

  • Must be a Hash

common_parameter[name]
optionel

Validations:

  • Must be a String

common_parameter[value]
optionel

Validations:

  • Must be a String

common_parameter[parameter_type]
optionel

Type de valeur

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.

common_parameter[hidden_value]
optionel , nil autorisé

Validations:

  • Must be one of: true, false.


DELETE /api/common_parameters/:id
Supprimer un paramètre global

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.