Skip to main content

Query SensorEvents for a Participant.

List SensorEvents produced by a Participant. The deprecated name for this operation is SensorEvent.all_by_participant.

Path Parameters
id string REQUIRED

The special case "me" parameter can also be used to implicitly refer to the Participant ID of the currently authenticated user (Credential).

Query Parameters
origin string
from int64

The UNIX Epoch date-time representation: number of milliseconds since 1/1/1970 12:00 AM.

to int64

The UNIX Epoch date-time representation: number of milliseconds since 1/1/1970 12:00 AM.

limit int64

The maximum number of events to return in the query. Positive values like +1000 return latest events first, while negative values like -1000 return earliest events first.

Responses
200

Success

Schema OPTIONAL
data object[] OPTIONAL
timestamp int64

The UNIX Epoch date-time representation of when this event was recorded: number of milliseconds since 1/1/1970 12:00 AM.

sensor string

The type of the sensor event.

data object

The item information recorded within the sensor event.

default

Error

Schema OPTIONAL
error string OPTIONAL