Get the type of lock used
Gets the type of lock used:
- electromagnetic
- electromechanical
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Electromagnetic and Electromechanical
Schema
- locks object[]
{
"locks": [
{
"lock_number": 1,
"type": "electromagnetic"
},
{
"lock_number": 1,
"type": "electromechanical",
"pulse_on": 5,
"pulse_off": 10
}
]
}
{
"locks": [
{
"lock_number": 1,
"type": "electromagnetic"
},
{
"lock_number": 2,
"type": "electromechanical",
"pulse_on": 5,
"pulse_off": 10
}
]
}
Log In
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...