Forum Discussion

dhiraj_gophane's avatar
12 years ago
Solved

all threads in community in one rest api call

Hi, I want to fetch all the threads in the community in just one rest api call. example:   http://community.lithium.com/restapi/vc/threads   Can anyone suggest any api call for this?  
  • premkumar's avatar
    12 years ago

    Lithium does not support to return all the posts in a single REST API. Lithium always restricts the response to 25 elements. 

     

    You can use the pagination argument to get all the posts where each request can be a size of 25 elements. 

     

    Regards,

    Premkumar