Solved

API To Get All the Recent Posts(Topics,Replies) Based On Time Period

  • 4 November 2021
  • 2 replies
  • 30 views

Hi,

 

Is there any API to retrieve all the recent posts based on given time period?

Eg:  I need to get all  new posts ( questions, replies ) in last 10 minutes. 

Is there any existing API to do this ? Can we do this using search api (https://api2-us-west-2.insided.com/search)?Is there any documentation regarding this? 

icon

Best answer by Ravi 9 December 2021, 21:53

View original

2 replies

Userlevel 3
Badge

Hi @DimuthuKasun 

Apologies for the delay. You can get the information using the following API Call.

https://api2-us-west-2.insided.com/docs/community/#operation/getTopicList

You can get the last 24 hrs worth of content but filter out specified times as you will get timestamps:

Example: createdAt": "2021-12-08T15:29:06+00:00"

Sincerely,

Ravi

 

Hi Ravi ,

No worries. Thank you . I will try this out. 

Reply