home

Mobile Endpoint Security

Lookout Product Documentation

Find answers about using and optimizing Lookout products.

streamPosition and limit Examples

The query examples below show how streamPosition and limit values interact.

Query Description
/events
Delivers events starting with the earliest possible event.
/events?limit=50
Delivers events starting at the earliest possible event, but not more than 50 events.
/events?streamPosition=<STREAM_POSITION>

Delivers events starting after <STREAM_POSITION>.

<STREAM_POSITION> is a value that was returned in the response to a previous query.

/events?streamPosition=now
Delivers no events and returns a streamPosition you use to retrieve events occurring subsequent to the current time.
/events?limit=<LIMIT>&streamPosition=
<STREAM_POSITION>

Delivers up to <LIMIT> events starting after the streamPosition indicated by <STREAM_POSITION>.

<STREAM_POSITION> is a value that was returned in the response to a previous query.