Params

Param Name Description
template_id
Required

Value: 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

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

Value: Must be a Hash
template_input[name]
Optional

Input name


Value: Must be String
template_input[input_type]
Optional

Input type


Value: Must be one of: user, fact, variable, puppet_parameter.
template_input[fact_name]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Fact name, used when input type is fact


Value: Must be String
template_input[variable_name]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Variable name, used when input type is variable


Value: Must be String
template_input[puppet_parameter_name]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Puppet parameter name, used when input type is puppet_parameter


Value: Must be String
template_input[options]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Selectable values for user inputs


Value: Must be an array of any type