Harbor Gateway
  1. Lockers
Harbor Gateway
  • Harbor Gateway API
    • Harbor Gateway
    • Health & Status
      • Admin interface
      • Health check
    • Transactions
      • List all transactions
      • Create a transaction
      • Get transaction details
      • Release transaction
      • Open locker by transaction ID
    • Lockers
      • List all lockers
        GET
      • Get locker configuration
        GET
      • Get locker details
        GET
      • Update locker service state
        PATCH
      • Open locker by ID
        POST
      • Open all lockers
        POST
    • Locker Types
      • List all locker types
      • Get locker type details
    • Bank Types
      • List all bank types
      • Get bank type with associations
    • System
      • Receive heartbeat from external device
    • Schemas
      • Locker
      • LockerTypeSummary
      • TransactionResponse
      • LockerType
      • LockController
      • System
      • LockerConfig
      • LogEntry
      • OperationResponse
      • LockerOperationResponse
      • MultiStatusOperationResponse
      • BankType
      • OpenAllLockersResponse
      • BankTypeAssociation
      • Error
      • BankTypeWithAssociations
      • DeviceHeartbeatRequest
  1. Lockers

Get locker configuration

GET
/lockers/config
Retrieve static configuration for all lockers without state information.
Returns only the physical configuration (locker IDs, controller assignments, ports, types)
without dynamic state like availability, operational status, transactions, or door state.
Use this endpoint to understand the physical locker layout and assignments.

Request

None

Responses

🟢200
application/json
Locker configuration list
Body

🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/lockers/config'
Response Response Example
200 - Example 1
[
    {
        "lockerId": 0,
        "lockControllerId": 0,
        "controllerName": "string",
        "controllerHostname": "string",
        "lockPort": 0,
        "bankId": 0,
        "bankName": "string",
        "bankLockerNumber": 0,
        "lockerTypeId": 0,
        "lockerTypeSlug": "string",
        "isLow": true
    }
]
Modified at 2026-02-20 22:56:40
Previous
List all lockers
Next
Get locker details
Built with