Open lock via HTTP
Open lock and trigger "access allowed" event via HTTP. In logs will be described as "Lock is opened by API call"
Path Parameters
- lockNumber integer required
Possible values: [
0
,1
,2
]
Responses
- 200
- 400
- 401
- 403
OK
Wrong lock number
- application/json
- Schema
- Example (from schema)
- Wrong lock number
Schema
- error string
{
"error": "Wrong JSON body"
}
{
"error": "Wrong lockNumber"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error string
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}
Loading...