Skip to main content

Add events

POST 

/:customer_id/users/:uid/events

Add new events for a user

Request

Path Parameters

    customer_id Customer Idrequired

    Id of the tenant

    uid uuidrequired

    Id of the user

Body

required
    events object[]required
  • Array [
  • time date-timerequired

    Time at which the event happened, with timezone

    sensor Sensorrequired

    Name of the sensor which captured the event

    metric object
    value Valuenullablerequired

    First value associated to this event

    value_2 Value 2nullablerequired

    Second value associated to this event

  • ]
  • device_id uuidrequired

    Id of the device the event originated from

Responses

Schema
    message Messagerequired
    invalid-events object[]nullablerequired
  • Array [
  • time date-timerequired

    Time at which the event happened, with timezone

    sensor Sensorrequired

    Name of the sensor which captured the event

    metric object
    value Valuenullablerequired

    First value associated to this event

    value_2 Value 2nullablerequired

    Second value associated to this event

  • ]
Loading...