Param Name | Description |
---|---|
search Optional |
过滤结果 Value: Must be String |
order Optional |
结果排序 Value: Must be String |
page Optional |
页数 Value: Must be String |
per_page Optional |
每个请求中的条目数 Value: Must be String |
Param Name | Description |
---|---|
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. |
Param Name | Description |
---|---|
config_template Required |
Value: Must be a Hash |
config_template[name] Required |
template name Value: Must be String |
config_template[template] Required |
Value: Must be String |
config_template[snippet] Optional , <span class="translation_missing" title="translation missing: zh-CN.apipie.nil_allowed">Nil Allowed</span> |
Value: Must be 'true' or 'false' |
config_template[audit_comment] Optional , <span class="translation_missing" title="translation missing: zh-CN.apipie.nil_allowed">Nil Allowed</span> |
Value: Must be String |
config_template[template_kind_id] Optional , <span class="translation_missing" title="translation missing: zh-CN.apipie.nil_allowed">Nil Allowed</span> |
not relevant for snippet Value: Must be a number. |
config_template[template_combinations_attributes] Optional |
Array of template combinations (hostgroup_id, environment_id) Value: Must be an array of any type |
config_template[operatingsystem_ids] Optional |
Array of operating systems ID to associate the template with Value: Must be an array of any type |
Param Name | Description |
---|---|
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. |
config_template Required |
Value: Must be a Hash |
config_template[name] Optional |
template name Value: Must be String |
config_template[template] Optional |
Value: Must be String |
config_template[snippet] Optional |
Value: Must be 'true' or 'false' |
config_template[audit_comment] Optional , <span class="translation_missing" title="translation missing: zh-CN.apipie.nil_allowed">Nil Allowed</span> |
Value: Must be String |
config_template[template_kind_id] Optional , <span class="translation_missing" title="translation missing: zh-CN.apipie.nil_allowed">Nil Allowed</span> |
not relevant for snippet Value: Must be a number. |
config_template[template_combinations_attributes] Optional |
Array of template combinations (hostgroup_id, environment_id) Value: Must be an array of any type |
config_template[operatingsystem_ids] Optional |
Array of operating systems ID to associate the template with Value: Must be an array of any type |
Param Name | Description |
---|---|
version Optional |
template version Value: Must be String |
Param Name | Description |
---|---|
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. |