POST /api/trends
{
"trend": {
"trendable_type": "Model"
}
}
201
{
"created_at": "2020-03-05 13:42:45 UTC",
"updated_at": "2020-03-05 13:42:45 UTC",
"id": 11,
"trendable_type": "Model",
"trendable_id": null,
"fact_name": null,
"type": "ForemanTrend",
"name": null,
"label": "Model"
}
| 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:
|
|
trendable_type required |
Validations:
|
|
fact_name optional |
Validations:
|
|
name optional |
Validations:
|