GET /api/environments/production/puppetclasses/980190962 200 { "created_at": "2021-05-19 08:00:34 UTC", "updated_at": "2021-05-19 08:00:34 UTC", "id": 980190962, "name": "base", "module_name": "base", "environments": [ { "name": "production", "id": 334344675 } ], "hostgroups": [ { "id": 636252244, "name": "Common", "title": "Common", "description": null } ], "smart_class_parameters": [ { "parameter": "cluster", "id": 328495940 } ] }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
host_id optional |
ID of host Validations:
|
hostgroup_id optional |
ID of host group Validations:
|
environment_id optional |
ID of environment Validations:
|
id required |
ID of Puppet class Validations:
|