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

Open all lockers

POST
/lockers/open-all
Opens all lockers in the system. Each locker operation uses 20-second timeout per attempt, up to 3 attempts with 1-second delays between retries (maximum total time ~62 seconds per locker). Retries occur on network/communication errors only; hardware malfunctions are not retried. For maintenance/emergency use - does not check outOfService or operational status (optimistic opening).

Request

None

Responses

🟢200
application/json
Operation completed (may include partial failures)
Body

🔴500
🔴503
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/lockers/open-all'
Response Response Example
200 - Example 1
{
    "success": true,
    "totalLockers": 0,
    "successCount": 0,
    "failureCount": 0,
    "results": [
        {
            "lockerId": 0,
            "success": true,
            "doorOpen": true,
            "error": "string",
            "mocked": true
        }
    ]
}
Modified at 2026-02-20 22:56:40
Previous
Open locker by ID
Next
List all locker types
Built with