|
@@ -198,8 +198,8 @@ You can tune the middleware behavior using middleware specific configuration par
|
198
|
198
|
- "validation.handler": Handler to implement validation rules for input values ("")
|
199
|
199
|
- "sanitation.handler": Handler to implement sanitation rules for input values ("")
|
200
|
200
|
- "multiTenancy.handler": Handler to implement simple multi-tenancy rules ("")
|
201
|
|
-- "pageLimits.pages": The maximum page number a list operation returns ("100")
|
202
|
|
-- "pageLimits.records": The maximum number of records a list operation returns ("1000")
|
|
201
|
+- "pageLimits.pages": The maximum page number that a list operation allows ("100")
|
|
202
|
+- "pageLimits.records": The maximum number of records returned by a list operation ("1000")
|
203
|
203
|
- "customization.beforeHandler": Handler to implement request customization ("")
|
204
|
204
|
- "customization.afterHandler": Handler to implement response customization ("")
|
205
|
205
|
|
|
@@ -732,7 +732,7 @@ It also sets the column "customer_id" on "create" to "12" and removes the column
|
732
|
732
|
### Prevent high load and scraping
|
733
|
733
|
|
734
|
734
|
You may use the "pageLimits" middleware to limit the page number and the number records returned from a list operation.
|
735
|
|
-If you want no more than 10 pages with a maximum of 25 records each, you can specify:
|
|
735
|
+If you want to allow no more than 10 pages with a maximum of 25 records each, you can specify:
|
736
|
736
|
|
737
|
737
|
'pageLimits.pages' => 10,
|
738
|
738
|
'pageLimits.records' => 25,
|