Skip to main content

Get a cough clock (JWT)

GET 

/insights/clock

Get a cough clock for the requested time period

Request

Query Parameters

    from date-timerequired

    Default value: now()

    Start point of cough clock calculation.

    to date-timerequired

    Default value: now()

    End point of the cough clock calculation.

    device_id uuid

    Id of the device on which to base the calculations of. If omitted all data from all devices will be used.

Responses

OK

Schema
    clock object[]

    Possible values: >= 24, <= 24

  • Array [
  • hour integer

    Possible values: <= 23

    hour of the day

    count integer

    count of coughs in that hour throughout the period

    time_tracked_s integer

    total time tracked in seconds in that hour throughout the period

  • ]
Loading...