GET /api/trends 200 { "total": 2, "subtotal": 2, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "created_at": "2020-03-05 13:42:45 UTC", "updated_at": "2020-03-05 13:42:45 UTC", "id": 5, "trendable_type": "FactName", "trendable_id": 3, "fact_name": "fact1", "type": "FactTrend", "name": "trend2", "label": "trend2" }, { "created_at": "2020-03-05 13:42:45 UTC", "updated_at": "2020-03-05 13:42:45 UTC", "id": 1, "trendable_type": "Environment", "trendable_id": 1, "fact_name": "fact", "type": "ForemanTrend", "name": "trend1", "label": "Environment" } ] }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|