Open lock via HTTP
Open lock and trigger "access allowed" event via HTTP. In logs will be described as "Lock opened from the web interface"
Path Parameters
- lockNumber integer required
Possible values:
<= 8
0 - both locks, 1..8 - indexes available for the lock number
Query Parameters
- unlockTime integer
Possible values:
<= 604800
Custom unlock time in seconds
- [0..604800], 0 - use default timeout from /access/general/unlock/timeout
Responses
- 200
- 400
- 401
OK
Wrong lock number
- application/json
- Schema
- Example (from schema)
- Wrong lock number
Schema
- error string
error type/info
{
"error": "Wrong JSON body"
}
{
"error": "Wrong lock number"
}
Log In
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...