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

Examples

GET /api/trends/25
200
{
  "created_at": "2020-05-20 13:45:32 UTC",
  "updated_at": "2020-05-20 13:45:32 UTC",
  "id": 25,
  "trendable_type": "Environment",
  "trendable_id": 31,
  "fact_name": "fact",
  "type": "ForemanTrend",
  "name": "trend12",
  "label": "Environment"
}

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