GET /api/templates/1007981721/template_inputs 200 { "total": 1, "subtotal": 1, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "template_id": 1007981721, "fact_name": null, "variable_name": null, "puppet_parameter_name": null, "puppet_class_name": null, "description": null, "required": false, "default": null, "hidden_value": false, "id": 9, "name": "Template input 11", "input_type": "user", "options": null } ] }
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:
|
template_id required |
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 |
---|---|---|
input_type | string | |
name | string |