Examples

GET /api/trends/13
200
{
  "created_at": "2018-07-24 13:15:10 UTC",
  "updated_at": "2018-07-24 13:15:10 UTC",
  "id": 13,
  "trendable_type": "Environment",
  "trendable_id": 114,
  "fact_name": "fact",
  "type": "ForemanTrend",
  "name": "trend7",
  "label": "Environment"
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

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.