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 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
  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

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

🔴500Internal Server Error
🔴503Service Unavailable
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"
        }
    ]
}
Modified at 2025-11-27 00:04:50
Previous
Open locker by ID
Next
Get system information
Built with