Forum Discussion

kjackman's avatar
kjackman
Helper
13 years ago

solutions/recent in REST API won't return more than 100 threads, no matter what I try

Hi folks,

 

I want to retrieve all the Accepted Solutions from a category.  I've been using URLs like this one:

 

http://FORUMS.MYHOST.COM/cng/restapi/vc/categories/id/MYCATEGORY/solutions/recent?page_size=50&page=2

 

No matter how I arrange the "page_size" and "page" parameters, I can only retrieve 100 Accepted Solutions (each wrapped in a <thread> element) this way.  For example, I tried "page_size=200" and still only got 100 results.  I tried a page size of 20 and I can't read past page 5.

 

The /solutions/count method tells me there are 7,119 Accepted Solutions in this cagegory, so I know there are more in there somewhere.

 

Is there some undocumented upper boundary I'm hitting?

  • AdamN's avatar
    AdamN
    Khoros Oracle

    Hi kjackman,

     

    That particluar REST API call is indeed limited to 100 results by default. It can be reconfigured for your community. Please submit a case via our Customer Case Portal so that our Support team can assist with the next steps.

     

    Regards,

     

    Adam