Forum Discussion

vishwajit_shind's avatar
11 years ago

To get the oldest post

Hi,

 

How to get the oldest post in community using REST API.

 

Thanks,

Vishwajit

    • NicoB's avatar
      NicoB
      Lithium Alumni (Retired)

      If you really want to get THE latest post:

      /restapi/vc/search/messages?q=is_root:true&sort_by=date&page_size=1&page=1

       Kudos to VarunGrazitti for the initial call :D

       

      Nico