This resource has been deprecated, to continue using it please install Foreman Statistics plugin and use its API endpoints.


GET /api/statistics DEPRECATED
Get statistics

This resource has been deprecated, to continue using it, install the Foreman Statistics plugin.

Examples

GET /api/statistics
200
{
  "os_count": [],
  "arch_count": [],
  "swap_size": 0,
  "env_count": [],
  "klass_count": [],
  "cpu_count": [],
  "model_count": [],
  "mem_size": 0,
  "mem_free": 0,
  "swap_free": 0,
  "mem_totsize": 0.0,
  "mem_totfree": 0.0
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer