OpenAPI definition
Overview
Paths
PUT /universe-lockers/bu-board
Обновление информации KR-BU платы
Responses
Code | Description | Links |
200 | OK Content / | No Links |
POST /universe-lockers/bu-board
Регистрация KR-BU платы, ее параметры подключения и работы
Responses
Code | Description | Links |
200 | OK Content / | No Links |
DELETE /universe-lockers/bu-board
Удаление платы KR-BU
Parameters
Type | Name | Description | Schema |
query | board-uuid required | Уникальный идентификатор платы KR-BU в формате UUID-4 | string (uuid) |
Responses
Code | Description | Links |
200 | OK Content / | No Links |
POST /universe-lockers/openLock
Открытие замка
Responses
Code | Description | Links |
200 | OK Content / | No Links |
GET /universe-lockers/locks
Метод получения списка замков по конкректному KR-BU и KR-CU
Parameters
Type | Name | Description | Schema |
query | board-id required | Идентификатор платы KR-CU от 0 до 9 | integer (int32) |
query | board-uuid required | Уникальный идентификатор платы KR-BU в формате UUID-4 | string (uuid) |
Responses
Code | Description | Links |
200 | OK Content application/json unique items | No Links |
GET /universe-lockers/lock
Метод получения замка по конкректному KR-BU и KR-CU
Parameters
Type | Name | Description | Schema |
query | lock-id required | Идентификатор замка | integer (int32) |
query | board-id required | Идентификатор платы KR-CU от 0 до 9 | integer (int32) |
query | board-uuid required | Уникальный идентификатор платы KR-BU в формате UUID-4 | string (uuid) |
Responses
Code | Description | Links |
200 | OK Content application/json | No Links |
GET /universe-lockers/bu-boards
Получение списка всех KR-BU
Responses
Code | Description | Links |
200 | OK Content / | No Links |
GET /universe-lockers/bu-board/{board-id}
Получение расширенной информации о KR-BU плате
Parameters
Type | Name | Description | Schema |
path | board-id required | Уникальный идентификатор платы KR-BU в формате UUID-4 | string (uuid) |
Responses
Code | Description | Links |
200 | OK Content / | No Links |
GET /universe-lockers/boards
Метод получения списка активных плат и их замков
Parameters
Type | Name | Description | Schema |
query | board-uuid required | Уникальный идентификатор платы KR-BU в формате UUID-4 | string (uuid) |
Responses
Code | Description | Links |
200 | OK Content / | No Links |
Components
Schemas
CuBoardUpdate
Properties
Name | Description | Schema |
address optional | string | |
name optional | string | |
port optional | integer (int32) | |
description optional | string | |
type optional | enum (BOARD_16,BO ARD_48) | |
timeout optional | integer (int32) | |
enabled optional | boolean | |
boardId optional | string |
LockDto
Properties
Name | Description | Schema |
board optional | integer (int32) | |
lock optional | integer (int32) | |
cuBoardUuid optional | string |
CuBoardCreate
Properties
Name | Description | Schema |
address optional | string | |
name optional | string | |
port optional | integer (int32) | |
description optional | string | |
type optional | enum (BOARD_16,BO ARD_48) | |
timeout optional | integer (int32) | |
enabled optional | boolean |
Lock
Properties
Name | Description | Schema |
lockId optional | integer (int32) | |
boardId optional | integer (int32) | |
status optional | enum (LOCK,OPEN,I NACTIVE) | |
boxStatus optional | enum (EMPTY,OCCUP IED,INACTIVE) |
CuBoardShortInfo
Properties
Name | Description | Schema |
id optional | string | |
name optional | string | |
type optional | enum (BOARD_16,BO ARD_48) | |
enabled optional | boolean |
CuBoardInfo
Properties
Name | Description | Schema |
address optional | string | |
name optional | string | |
port optional | integer (int32) | |
description optional | string | |
type optional | enum (BOARD_16,BO ARD_48) | |
timeout optional | integer (int32) | |
enabled optional | boolean | |
boardId optional | string |
Board
Properties
Name | Description | Schema |
number optional | integer (int32) | |
locks optional | unique items | < Lock > array |