Harbor Gateway
  1. Lockers
Harbor Gateway
  • Harbor Gateway API
    • 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 details
        GET
      • Open locker by ID
        POST
      • Open all lockers
        POST
    • System
      • Get system information
      • Update system configuration
      • Get system logs
    • Schemas
      • Locker
      • TransactionResponse
      • LockController
      • System
      • LogEntry
      • OperationResponse
      • LockerOperationResponse
      • MultiStatusOperationResponse
      • OpenAllLockersResponse
      • Error
  • Harbor Gateway Admin API
    • Authentication
      • Login with Basic Auth and receive session token
      • Logout and invalidate session token
    • Controllers
      • List all lock controllers
      • Manually add a lock controller
      • Trigger manual mDNS scan
      • Get controller details
      • Update controller settings
      • Remove controller from system
      • Replace a failed controller
      • Adjust locker count for controller
    • Lockers
      • Update locker service state
    • System
      • Refresh network information
      • Reboot gateway system
    • Diagnostics
      • Test Sentry error tracking integration
    • Schemas
      • Schemas
        • Controller
        • ControllerDetails
        • CreateControllerRequest
        • AdjustLockerCountResponse
        • OperationResponse
        • Error
      • Response
        • Unauthorized
        • NotFound
        • InternalServerError
  1. Lockers

List all lockers

GET
/lockers
Retrieve the status of all lockers in the system with optional filters

Request

Query Params

Responses

🟢200OK
application/json
List of all lockers
Body

🔴500Internal Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/lockers?controllerId&available&outOfService&transacted'
Response Response Example
200 - Example 1
[
    {
        "lockerId": 0,
        "lockControllerId": 0,
        "lockPort": 0,
        "transactionId": "string",
        "available": true,
        "outOfService": true,
        "operational": true,
        "reasonCode": "CONTROL_BOARD_UNREACHABLE",
        "reason": "string",
        "doorOpen": true,
        "lastOpened": "2019-08-24T14:15:22Z"
    }
]
Modified at 2025-11-27 00:04:50
Previous
Open locker by transaction ID
Next
Get locker details
Built with