This resource has been removed. To continue using it please install the Foreman Puppet plugin and use its API endpoints.


GET /api/smart_class_parameters DEPRECATED
List all smart class parameters

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

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

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

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

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

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer


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

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer


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

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer