GET /api/smart_class_parameters
List all smart class parameters

GET /api/hosts/:host_id/smart_class_parameters
List of smart class parameters for a specific host

GET /api/hostgroups/:hostgroup_id/smart_class_parameters
List of smart class parameters for a specific host group

GET /api/puppetclasses/:puppetclass_id/smart_class_parameters
List of smart class parameters for a specific Puppet class

GET /api/environments/:environment_id/smart_class_parameters
List of smart class parameters for a specific environment

GET /api/environments/:environment_id/puppetclasses/:puppetclass_id/smart_class_parameters
List of smart class parameters for a specific environment/Puppet class combination

Params

Param Name Description
host_id
Optional

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

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

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

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

filter results


Value: Must be String
order
Optional

Ergebnisse sortieren


Value: Must be String
page
Optional

paginate results


Value: Must be String
per_page
Optional

number of entries per request


Value: Must be String

GET /api/smart_class_parameters/:id
Show a smart class parameter

Params

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.

PUT /api/smart_class_parameters/:id
Update a smart class parameter

Params

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.
smart_class_parameter
Required

Value: Must be a Hash
smart_class_parameter[override]
Optional

Value: Must be 'true' or 'false'
smart_class_parameter[description]
Optional

Value: Must be String
smart_class_parameter[default_value]
Optional

Value: Must be String
smart_class_parameter[use_puppet_default]
Optional

Value: Must be 'true' or 'false'
smart_class_parameter[path]
Optional

Value: Must be String
smart_class_parameter[validator_type]
Optional

Value: Must be String
smart_class_parameter[validator_rule]
Optional

Value: Must be String
smart_class_parameter[override_value_order]
Optional

Value: Must be String
smart_class_parameter[parameter_type]
Optional

Value: Must be String
smart_class_parameter[required]
Optional

Value: Must be 'true' or 'false'
smart_class_parameter[merge_overrides]
Optional

Value: Must be 'true' or 'false'
smart_class_parameter[avoid_duplicates]
Optional

Value: Must be 'true' or 'false'