GET /api/smart_variables/:smart_variable_id/override_values
特定スマート変数の上書き値の一覧

GET /api/smart_class_parameters/:smart_class_parameter_id/override_values
特定スマートクラスパラメーターの上書き値の一覧

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

結果のページネーション

Validations:

  • Must be String

per_page
Optional

要求ごとのエントリー数

Validations:

  • Must be String


GET /api/smart_variables/:smart_variable_id/override_values/:id
特定スマート変数の上書き値を表示

GET /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
特定スマートクラスパラメーターの上書き値を表示

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
特定スマート変数の上書き値を作成

POST /api/smart_class_parameters/:smart_class_parameter_id/override_values
特定スマートクラスパラメーターの上書き値を作成

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

一致候補の上書き

Validations:

  • Must be String

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

オーバーライド値 (omit が false の場合に必要)

Validations:

  • Must be String

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

非推奨です。omit を使用してください。

Validations:

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

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

Foreman では、このパラメーターが分類出力で送信されず、use_puppet_default が置き換えられます

Validations:

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


PUT /api/smart_variables/:smart_variable_id/override_values/:id
特定スマート変数の上書き値を更新

PUT /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
特定スマートクラスパラメーターの上書き値を更新

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

一致候補の上書き

Validations:

  • Must be String

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

オーバーライド値 (omit が false の場合に必要)

Validations:

  • Must be String

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

非推奨です。omit を使用してください。

Validations:

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

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

Foreman では、このパラメーターが分類出力で送信されず、use_puppet_default が置き換えられます

Validations:

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


DELETE /api/smart_variables/:smart_variable_id/override_values/:id
特定スマート変数の上書き値を削除

DELETE /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
特定スマートクラスパラメーターの上書き値を削除

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.