Get information about elevator modules
Get list of modules with indexes
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- index integer
One of available_indexes
- max_allowed_count integer
Maximum number of available modules
{
"index": 1,
"max_allowed_count": 3
}
{
"max_allowed_count": 3,
"items": [
{
"number": 1,
"label": "first"
},
{
"number": 2,
"label": "second"
}
]
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error information
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...