GET /api/trends 200 { "total": 2, "subtotal": 2, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "created_at": "2019-09-11 14:41:07 UTC", "updated_at": "2019-09-11 14:41:07 UTC", "id": 31, "trendable_type": "FactName", "trendable_id": 15, "fact_name": "fact122", "type": "FactTrend", "name": "trend10", "label": "trend10" }, { "created_at": "2019-09-11 14:41:07 UTC", "updated_at": "2019-09-11 14:41:07 UTC", "id": 27, "trendable_type": "Environment", "trendable_id": 9, "fact_name": "fact", "type": "ForemanTrend", "name": "trend9", "label": "Environment" } ] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|