GET /api/hostgroups/636252244-Common/smart_class_parameters 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "description": null, "override": true, "parameter_type": "string", "hidden_value?": false, "omit": null, "required": false, "validator_type": null, "validator_rule": null, "merge_overrides": false, "merge_default": false, "avoid_duplicates": false, "override_value_order": "fqdn\norganization,location\nhostgroup\nos", "created_at": "2019-09-11 14:57:07 UTC", "updated_at": "2019-09-11 14:57:07 UTC", "use_puppet_default": null, "parameter": "cluster", "id": 328495940, "puppetclass_id": 980190962, "override_values_count": 2, "default_value": "secret", "puppetclass_name": "base" } ] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
host_id optional |
Validations:
|
hostgroup_id optional |
Validations:
|
puppetclass_id optional |
Validations:
|
environment_id optional |
Validations:
|
show_hidden optional |
Display hidden values Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Number of results per page to return Validations:
|
Field name | Type | Possible values |
---|---|---|
avoid_duplicates | true, false | |
environment | string | |
key | string | |
merge_default | true, false | |
merge_overrides | true, false | |
override | true, false | |
parameter | string | |
puppetclass | string | |
puppetclass_name | string |