Examples

GET /api/trends/7
200
{
  "created_at": "2019-11-07 09:01:54 UTC",
  "updated_at": "2019-11-07 09:01:54 UTC",
  "id": 7,
  "trendable_type": "Environment",
  "trendable_id": 91,
  "fact_name": "fact",
  "type": "ForemanTrend",
  "name": "trend6",
  "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

trend_id
required

Validations:

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