Library referenceTypes
EventsQuery
type EventsQuery = {
after?: number;
limit?: number;
target_id?: (number | string)[];
target_type?: string;
types?: EventType[];
};filters of GET /api/events; keep them the same between calls when paging with after
Properties
| Property | Type | Description |
|---|---|---|
after? | number | event id cursor, the next of the previous page; 0 when omitted |
limit? | number | 1 to 100, 100 when omitted |
target_id? | (number | string)[] | only these targets, 100 at most, needs target_type |
target_type? | string | only events about this kind of target, e.g. "map" |
types? | EventType[] | only these types; everything the key's scopes allow when omitted |