Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page optional |
paginate results Validations:
|
per_page optional |
number of entries per request Validations:
|
Field name | Type | Possible values |
---|---|---|
class | string | |
name | string |
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
id required |
Validations:
|
POST /api/config_groups { "config_group": { "name": "config-group", "puppetclass_ids": [ 980190962, 281110143 ] } } 201 { "created_at": "2018-11-15 19:02:16 UTC", "updated_at": "2018-11-15 19:02:16 UTC", "id": 980190963, "name": "config-group", "puppetclasses": [ { "id": 980190962, "name": "base", "module_name": "base" }, { "id": 281110143, "name": "vim", "module_name": "vim" } ] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
config_group required |
Validations:
|
config_group[name] required |
Validations:
|
config_group[puppetclass_ids] optional , nil allowed |
Validations:
|
PUT /api/config_groups/980190962-Monitoring { "config_group": { "name": "new name", "puppetclass_ids": [ 980190962, 281110143 ] } } 200 { "created_at": "2018-11-15 19:01:27 UTC", "updated_at": "2018-11-15 19:02:17 UTC", "id": 980190962, "name": "new name", "puppetclasses": [ { "id": 980190962, "name": "base", "module_name": "base" }, { "id": 281110143, "name": "vim", "module_name": "vim" } ] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
id required |
Validations:
|
config_group required |
Validations:
|
config_group[name] optional |
Validations:
|
config_group[puppetclass_ids] optional , nil allowed |
Validations:
|
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
id required |
Validations:
|