Refactor and centralize Shelly rate-limiting logic in the shelly class, add global enforcement and unit tests, and remove redundant implementations in self-serve lane controllers.
This commit is contained in:
@@ -145,6 +145,13 @@ Accept: application/json
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer e9d4359673de64f6a9bc4231bf50ac9f5726ad5b3ee6fcad5f8ebbb20647c3b8
|
||||
|
||||
|
||||
### GET request to weather (specific ID)
|
||||
GET https://api.truckwash.io/departments/weather?id=1
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer e9d4359673de64f6a9bc4231bf50ac9f5726ad5b3ee6fcad5f8ebbb20647c3b8
|
||||
|
||||
### PUT request to order bookings (update specific ID)
|
||||
PUT https://api.truckwash.dk:4433/order-bookings
|
||||
Accept: application/json
|
||||
@@ -178,6 +185,17 @@ Content-Type: application/json
|
||||
"customer_number": 12345679
|
||||
}
|
||||
|
||||
### Get department distribution e-conomic
|
||||
GET http://localhost/api/superuser/invoicing/period/distribution/v2/booked-department-75
|
||||
Accept: application/json
|
||||
Authorization: Bearer e9d4359673de64f6a9bc4231bf50ac9f5726ad5b3ee6fcad5f8ebbb20647c3b8
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"dateFrom": "2026-01-01",
|
||||
"dateTo": "2026-01-31"
|
||||
}
|
||||
|
||||
###
|
||||
### POST request to order bookings
|
||||
POST https://api.truckwash.dk:4433/order-bookings
|
||||
|
||||
Reference in New Issue
Block a user