Hi,
While consuming the SonarQube REST API, I’ve noticed that pageSize is limited to 500 across multiple endpoints. I’d like to know whether:
-
This limit is intended to remain fixed in the long term.
-
There are any plans or open discussions to increase it.
-
The current value is driven by specific technical constraints or is primarily a design decision.
Thanks for any clarification.
Hello Francisco,
Thank you for the question. Could you please share what specific APIs you’re talking about here?
Best, Shubham
Hi Shubham,
Here are two examples of SonarQube API endpoints where I have observed that the pageSize (ps) parameter is limited to 500:
GET /api/issues/search
GET /api/project_analyses/search
In both cases, the ps parameter is limited to 500 elements per page.
These are just two examples where I have noticed the limit, although it seems that something similar happens in other endpoints.
Could you tell me if there are plans to increase this limit?
Best regards.