Lock ----------------- +--------------------------+----------------------------------------------------+---------------------------------------------------+ | Name | Type | Description | +==========================+====================================================+===================================================+ | accessDetails | :doc:`Access details ` | access details of current user for that device | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | accessLevel | :doc:`Access level <../enums/access-level>` | current user access level | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | accessories | :doc:`Lock accessory ` [] | collection of accessories paired with lock | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | beaconMajor | number | identifies and distinguishes group of beacons | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | beaconMinor | number | identifies individual beacon within a group of | | | | beacons assigned a major value | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | connectedToId | number | id of bridge that lock is connected to | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | created | datetime | when lock was added to user account | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | deviceRevision | number | current lock revision on the device | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | deviceSettings | :doc:`Device settings ` | current device settings | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | id | number | lock id | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | isConnected | boolean | is lock connected to bridge | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | deviceState | :doc:`Lock properties ` | current lock status and properties | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | name | string | lock name | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | organizationId | integer | id of organization that lock is connected to | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | organizationName | string | name of organization that lock is connected to | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | organizationSlug | string | unique, custom url of organization | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | revision | number | current revision of lock configuration | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | serialNumber | string | lock serial number | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | softwareVersions | :doc:`Software version ` | software versions of the device | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | targetDeviceRevision | number | revision info that is sent to device from backend | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | timeZone | string | timezone of lock | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | type | :doc:`Device type <../enums/device-type>` | device type | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | userIdentity | string | lock owner identity | +--------------------------+----------------------------------------------------+---------------------------------------------------+ | userSettings | :doc:`Lock user settings ` | settings of current user for that device | +--------------------------+----------------------------------------------------+---------------------------------------------------+