ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

REST API and the limit parameter : limit does not seem to work above 100

Added by Wiki Bit at 2014-01-03 09:23 am

Hi,

when I use the API to get e.g. :

/issues.xml?offset=0&limit=500

I only get the first 100, while at the moment there are over 300 items available for this query:

  <?xml version="1.0" encoding="UTF-8" ?> 
- <issues total_count="352" offset="0" limit="100" type="array">

I've read in some places, it may have to do with the Global settings "Objects per page"
but that is set to :

50,100,200,500,1000

if I build a routine which does something like this :

fill an array with all of the below
+ /issues.xml?offset=0&limit=100
+ /issues.xml?offset=100&limit=100
+ /issues.xml?offset=200&limit=100
+ /issues.xml?offset=300&limit=100
+ /issues.xml?offset=400&limit=100

I do get all of them, but this seems a bit stupid to do, we should expect the limit parameter to work properly?

anyone any idea how to fix this?

(just to check this against other installes, I tried the same on this site : same issue : hard limit of 100)

Thanks

P.S. what is the general development status of chiliproject?


Replies (1)

(1-1/1)