POST /api/trends { "trend": { "trendable_type": "FactName", "trendable_id": "5" } } 201 { "created_at": "2018-07-24 13:15:10 UTC", "updated_at": "2018-07-24 13:15:10 UTC", "id": 11, "trendable_type": "FactName", "trendable_id": 5, "fact_name": "operatingsystem", "type": "FactTrend", "name": null, "label": "operatingsystem" }
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:
|