GET /api/hosts/host1769/puppetclasses/1018350796
200
{
"created_at": "2019-02-20 13:35:03 UTC",
"updated_at": "2019-02-20 13:35:03 UTC",
"id": 1018350796,
"name": "class343",
"module_name": "class343",
"environments": [
{
"name": "environment284",
"id": 687036938
}
],
"hostgroups": [],
"smart_variables": [],
"smart_class_parameters": []
}
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations 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:
|