Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.11
-
Fix Version/s: None
-
Component/s: Web Services
-
Labels:None
-
Number of attachments :
Description
There is no longer a way to query all resources for a project using the web API - there is a hardcoded limit of 500 results. Even if the user specifies the limit, only low values are respected: values over 500 are ignored and constrained to 500 at most. This makes certain types of analysis impossible.
While a default value of 500 for the limit makes sense, it should also be possible for the user to specify the limit and have that respected by the API to retrieve any number of results. If this is not feasible then there should be some other means of retrieving the data; perhaps using multiple requests.
Also, perhaps the documentation could be updated to reflect the current behaviour. Note that 500 is not the "default" limit ... it is a fixed upper limit
http://docs.codehaus.org/display/SONAR/Web+Service+API#WebServiceAPI-Resources
Is this gonna be fixed soon?