Examples

GET /api/hosts/host477/parameters
200
{
  "total": 1,
  "subtotal": 1,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "priority": 70,
      "created_at": "2022-03-29 08:30:14 UTC",
      "updated_at": "2022-03-29 08:30:14 UTC",
      "id": 767575239,
      "name": "parameter4",
      "parameter_type": "string",
      "value": "parameter value 17"
    }
  ]
}

Params

Param name Description
host_id
optional

ID of host

Validations:

  • Must be a String

hostgroup_id
optional

ID of host group

Validations:

  • Must be a String

domain_id
optional

ID of domain

Validations:

  • Must be a String

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a number.

location_id
optional

ID of location

Validations:

  • Must be a String

organization_id
optional

ID of organization

Validations:

  • Must be a String

subnet_id
optional

ID of subnet

Validations:

  • Must be a String

show_hidden
optional

Display hidden values

Validations:

  • Must be one of: true, false, 1, 0.

search
optional

filter results

Validations:

  • Must be a String

order
optional

Sort and order by a searchable field, e.g. '<field> DESC'

Validations:

  • Must be a String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return, 'all' to return all results

Validations:

  • Must match regular expression /\A([1-9]\d*|all)\Z$/.

Search fields

Field name Type Possible values
domain_name string
host_group_name string
host_name string
id integer
key_type string
location_name string
name string
organization_name string
os_name string
parameter_type string
subnet_name text
type string
value text