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: [
0
,1
,2
]0 - both locks, 1 - first lock, 2 - second lock
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": "Wrong JSON body"
}
{
"error": "Wrong lock number"
}
Log In
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...