Exemplos

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

Parâmentros

Nome parâmetro Descrição
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

trendable_type
requerido

Validations:

  • Must be a String

fact_name
opcional

Validations:

  • Must be a String

name
opcional

Validations:

  • Must be a String