Get the type of lock used
deprecated
This endpoint has been deprecated and may be removed in future versions of the API.
Gets the type of lock used:
- electromagnetic
- electromechanical
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Electromagnetic and Electromechanical
Schema
- locks object[]list of lock types 
{
  "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
    }
  ]
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringerror message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}
Loading...