API Calls - Thread Activity

Hi All,

I am digging into API calls, something new for me and was hoping the community could help. I am specifically wondering about API calls for forum threads. We have three scenarios we wish to pull into our website related to threads.

  1. A user has posted a new question or discussion anywhere in the community
  2. A user has created a reply to an existing thread anywhere in the comunity
  3. A user has followed a thread

For #1 It appears I can use one call to pull in both questions and discussions. Is this call correct?

POST api.ashx/v2/forums/{forumid}/threads.xml (or .json)

https://community.telligent.com/community/10/w/api-documentation/61544/create-forum-thread-rest-endpoint

For #2 I am thinking that this call will pull in replies.  Is this correct? 

POST api.ashx/v2/forums/{forumid}/threads/{threadid}/replies.xml (or .json)

Scenario #3 - I am not sure how to capture threads that are followed by an individual. Any advice here?

Thank you for your help!

Parents Reply
  • Thanks for the quick reply!

    The goal is to pull threads created or replied to in the community into a personal dashboard within our website. For example if I post a new question in the community it should appear in my dashboard on our website. The same would go for a reply that I post to an existing thread in the community.

    #3 pertains to pulling in a list of any thread that I have turned on notifications for. The same behavior as above, if I turn "Reply Notifications ON" then I would want this thread to appear in my dashboard on our website. We are only interested in followed threads.

Children
No Data