Examples

GET /api/trends/1
200
{
  "created_at": "2018-11-15 19:02:19 UTC",
  "updated_at": "2018-11-15 19:02:19 UTC",
  "id": 1,
  "trendable_type": "Environment",
  "trendable_id": 11,
  "fact_name": "fact",
  "type": "ForemanTrend",
  "name": "trend11",
  "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.