get_event_thumbnail
get_event_thumbnail
Section titled “get_event_thumbnail”Fetch the JPEG thumbnail for a Protect event, base64-encoded.
Side effects: None (read-only).
Same response shape as get_snapshot, but keyed on the event
instead of the camera. Useful for previewing a motion or
smart-detection trigger without pulling the full clip.
Example
Section titled “Example”get_event_thumbnail(event_id="evt123", controller="default")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
event_id | string | yes | — | Protect event id from list_motion_events or list_smart_detections. |
controller | string | no | ”default” | Name of the UniFi controller to target. Defaults to "default". |