Skip to main content

Get events (JWT)

GET 

/events

Retrieve all events associated with a user

Request

Query Parameters

    aggregation Aggregationsrequired

    Possible values: [raw, 15min, hour, day, week, month]

    device_id uuid
    metric stringrequired
    start_date date-timerequired
    end_date date-timerequired

Responses

Successful operation

Schema
  • Array [
  • time date-time
    id uuid
    device_id uuid
    uid uuid
    sensor string
    metric Metrics

    Possible values: [cough, heartbeat, cough_burst, cough_oasis, battery_level]

    value double
    time_tracked_s integer
  • ]
Loading...