Forum Discussion

nlouie's avatar
nlouie
Adept
13 years ago

API: Most recent threads in the Forum Community

Hi there,

 

I'm trying to figure out how I can populate the Most recent threads that are from the Forum section only.

 

This API uses to populate Recent Threads in the entire community across all boards, newest first:

 

For example:

http://community.lithium.com/community-name/restapi/vc/threads/recent

 

 

Working version:

http://community.futureshop.ca/restapi/vc/threads/recent

 

 

I'm trying to filter so that it will show the Forum's recent threads ONLY. Blog threads are shown and i'm trying to find a way to exclude it in the API.

 

Is there a way to call out JUST the forum's recent threads?


Best regards,

Nick

 

  • AdamN's avatar
    AdamN
    Khoros Oracle

    Hi Nick,

     

    Give this a try:

     

    http://community.futureshop.ca/restapi/vc/topics/style/board/recent

     

    This uses the "topics" method of the "Community" object, which returns a NodeMessageContext. Then once you have that, you can use the "/style/style/recent" method to specify which interaction style you'd like to get the recent messages for.

     

    Regards,

     

    Adam