Esempi

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

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

trendable_type
richiesto

Validations:

  • Must be a String

fact_name
opzionale

Validations:

  • Must be a String

name
opzionale

Validations:

  • Must be a String