POST /api/trends { "trend": { "trendable_type": "Model" } } 201 { "created_at": "2018-11-15 19:02:19 UTC", "updated_at": "2018-11-15 19:02:19 UTC", "id": 6, "trendable_type": "Model", "trendable_id": null, "fact_name": null, "type": "ForemanTrend", "name": null, "label": "Model" }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
trendable_type required |
Validations:
|
fact_name optional |
Validations:
|
name optional |
Validations:
|