Examples

POST /api/trends
{
  "trend": {
    "trendable_type": "NotExists"
  }
}
500
{
  "error": {
    "message": "uninitialized constant NotExists"
  }
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

trendable_type
required

Validations:

  • Must be one of: Environment, Operatingsystem, Model, FactName, Hostgroup, ComputeResource.

fact_name
optional

Validations:

  • Must be a String

name
optional

Validations:

  • Must be a String