GET /api/smart_variables/:smart_variable_id/override_values
Liste des valeurs de substitution pour une smart variable

GET /api/smart_class_parameters/:smart_class_parameter_id/override_values
Liste des valeurs de substitution pour un paramètre smart class

Params

Param Name Description
smart_variable_id
Optional

Validations:

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

smart_class_parameter_id
Optional

Validations:

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

show_hidden
Optional

Display hidden values

Validations:

  • Must be 'true' or 'false' or '1' or '0'

page
Optional

paginer les résultats

Validations:

  • Must be String

per_page
Optional

nombre d'entier par requête

Validations:

  • Must be String


GET /api/smart_variables/:smart_variable_id/override_values/:id
Afficher une valeur de substitution pour une smart variable

GET /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Afficher une valeur de substitution pour un paramètre smart class spécifique

Params

Param Name Description
smart_variable_id
Optional

Validations:

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

smart_class_parameter_id
Optional

Validations:

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

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.

show_hidden
Optional

Display hidden values

Validations:

  • Must be 'true' or 'false' or '1' or '0'


POST /api/smart_variables/:smart_variable_id/override_values
Créer une valeur de substitution pour une variable d'une smart class spécifique

POST /api/smart_class_parameters/:smart_class_parameter_id/override_values
Créer une valeur de substitution pour un paramètre d'une smart class spécifique

Params

Param Name Description
smart_variable_id
Optional

Validations:

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

smart_class_parameter_id
Optional

Validations:

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

override_value
Required

Validations:

  • Must be a Hash

override_value[match]
Required

Élément conditionnel de remplacement

Validations:

  • Must be String

override_value[value]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Override value, required if omit is false

Validations:

  • Must be String

override_value[use_puppet_default]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Deprecated, please use omit

Validations:

  • Must be 'true' or 'false' or '1' or '0'

override_value[omit]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Foreman will not send this parameter in classification output, replaces use_puppet_default

Validations:

  • Must be 'true' or 'false' or '1' or '0'


PUT /api/smart_variables/:smart_variable_id/override_values/:id
Mise à jour d'une valeur de substitution pour une smart variable

PUT /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Mise à jour d'une valeur de substitution pour un paramètre smart class

Params

Param Name Description
smart_variable_id
Optional

Validations:

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

smart_class_parameter_id
Optional

Validations:

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

override_value
Required

Validations:

  • Must be a Hash

override_value[match]
Optional

Élément conditionnel de remplacement

Validations:

  • Must be String

override_value[value]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Override value, required if omit is false

Validations:

  • Must be String

override_value[use_puppet_default]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Deprecated, please use omit

Validations:

  • Must be 'true' or 'false' or '1' or '0'

override_value[omit]
Optional , <span class="translation_missing" title="translation missing: fr.apipie.nil_allowed">Nil Allowed</span>

Foreman will not send this parameter in classification output, replaces use_puppet_default

Validations:

  • Must be 'true' or 'false' or '1' or '0'


DELETE /api/smart_variables/:smart_variable_id/override_values/:id
Supprimer une valeur de substitution pour une smart variable spécifique

DELETE /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Supprimer une valeur de substitution pour un paramètre d'une smart class spécifique

Params

Param Name Description
smart_variable_id
Optional

Validations:

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

smart_class_parameter_id
Optional

Validations:

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

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.