Get a list of recent topics though the API



  • Is there a way to get a list of the 10 most recent topics via the forum API?

    I know that you can get the 20 most recent posts with the api/recent method, and the one most recent post for each category with the api/categories method, but these will also include replies to posts.

    How do I get a list of all topics, but only the first post of each topic?


  • Admin

    If you go into the ACP and change the behaviour of teaser to "first", then the API will return data for the original post only.


 

| |

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.