get_door
get_door
Section titled “get_door”Fetch one door’s full record by ID.
Side effects: None (read-only).
Returns the same fields as one entry in list_doors plus the live
lock and position status. Useful for confirming a door is online
before reading recent events against it.
Example
Section titled “Example”get_door(door_id="abc...", controller="default")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
door_id | string | yes | — | Access door id from list_doors. |
controller | string | no | ”default” | Name of the UniFi controller to target. |