Returns string representing a host status of a given type

Examples

GET /api/hosts/host83/status/global
200
{
  "status_label": "OK",
  "status": 0
}

Params

Param Name Description
location_id
Optional

Scope met locaties

Validations:

  • Must be a Integer

organization_id
Optional

Scope met organisaties

Validations:

  • Must be a Integer

id
Required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no leading or trailing space.

type
Required

status type, is er een van * global * configuration * build

Validations:

  • Must be one of: HostStatus::Global, configuration, build.