GET /api/hosts/host636/puppetclasses 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": { "class19": [ { "id": 1018350797, "name": "class19", "created_at": "2019-11-07T08:39:20.984Z", "updated_at": "2019-11-07T08:39:20.984Z" } ] } }
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:
|
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 |
---|---|---|
config_group | string | |
environment | string | |
host | string | |
hostgroup | string | |
key | string | |
location | string | |
name | string | |
organization | string |