list_events
list_events
Section titled “list_events”List recent controller events (connections, disconnections, etc.).
Side effects: None (read-only).
Returns the most recent limit event records, newest first.
Example
Section titled “Example”list_events(limit=100)Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | integer | no | 50 | Max number of events to return (default 50, max 1000). |
controller | string | no | ”default” | Name of the UniFi controller to target. Defaults to "default". |