| Param name | Description |
|---|---|
|
operatingsystem_id optional |
ID of operating system Validations:
|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
search optional |
filtrera resultat Validations:
|
|
order optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
|
page optional |
paginate results Validations:
|
|
per_page optional |
antal poster per begäran Validations:
|
| Field name | Typ | Possible values |
|---|---|---|
| default | true, false | |
| environment | string | |
| hostgroup | string | |
| kind | string | |
| location | string | |
| location_id | integer | |
| locked | true, false | |
| name | string | |
| operatingsystem | string | |
| organization | string | |
| organization_id | integer | |
| snippet | true, false | |
| template | text | |
| vendor | string |
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
id required |
Validations:
|
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
config_template required |
Validations:
|
|
config_template[name] required |
mallnamn Validations:
|
|
config_template[template] required |
Validations:
|
|
config_template[snippet] optional , nil allowed |
Validations:
|
|
config_template[audit_comment] optional , nil allowed |
Validations:
|
|
config_template[template_kind_id] optional , nil allowed |
not relevant for snippet Validations:
|
|
config_template[template_combinations_attributes] optional , nil allowed |
Array of template combinations (hostgroup_id, environment_id) Validations:
|
|
config_template[operatingsystem_ids] optional , nil allowed |
Array of operating system IDs to associate with the template Validations:
|
|
config_template[locked] optional , nil allowed |
Whether or not the template is locked for editing Validations:
|
|
config_template[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
|
config_template[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
id required |
Validations:
|
|
config_template required |
Validations:
|
|
config_template[name] optional |
mallnamn Validations:
|
|
config_template[template] optional |
Validations:
|
|
config_template[snippet] optional , nil allowed |
Validations:
|
|
config_template[audit_comment] optional , nil allowed |
Validations:
|
|
config_template[template_kind_id] optional , nil allowed |
not relevant for snippet Validations:
|
|
config_template[template_combinations_attributes] optional , nil allowed |
Array of template combinations (hostgroup_id, environment_id) Validations:
|
|
config_template[operatingsystem_ids] optional , nil allowed |
Array of operating system IDs to associate with the template Validations:
|
|
config_template[locked] optional , nil allowed |
Whether or not the template is locked for editing Validations:
|
|
config_template[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
|
config_template[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
version optional |
mallversion Validations:
|
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
id required |
Validations:
|
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
id required |
Validations:
|
|
config_template required |
Validations:
|
|
config_template[name] required |
mallnamn Validations:
|