Endpoint pagination inconsistency with non-positive pageSize values
Since Portainer 2.12, the /api/endpoints endpoint supports pagination via the page and pageSize query parameters. While positive integers correctly limit the result set, the API's behavior when encountering non-positive integers remains undefined. When an automation script passes a pageSize of zero or a negative value, the API does not return a 400 Bad Reque