From e67394b58a62d2194daa3a99312a71ebad0802b3 Mon Sep 17 00:00:00 2001 From: tamjid14 Date: Sun, 24 May 2026 16:49:14 +0100 Subject: [PATCH] docs: clarify invalid pagination value handling Clarify behavior of invalid pagination parameters. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 2fc9ded8e..2fd7e9ad4 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,9 @@ GET /posts?_page=1&_per_page=10 # Pagination GET /posts?_embed=comments # Include relations GET /posts?_where={"or":[...]} # Complex queries ``` +Invalid `_page` or `_per_page` values are normalized to valid ranges. + +For example, `_per_page=0` is treated as invalid and normalized instead of returning zero items. See detailed documentation below for each feature.