Examples

GET /api/trends/32
200
{
  "created_at": "2019-02-20 13:20:41 UTC",
  "updated_at": "2019-02-20 13:20:41 UTC",
  "id": 32,
  "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.