Forum Discussion

chrigu's avatar
chrigu
Guide
11 years ago

Retrieve solved and open questions from QandA

Hi all

 

I need to build a custom component in the QandA node. On the overview page the posts (questions) will be sorted by label. The sorting isn't the problem as I can pull the posts for each label (/categories/id/mycategory/boards/id/myqandaboard/posts/for/labels/id/31), but what I don't see is whether the questions are still open or have already been answered. 

 

Where could I find this information with an API call?

 

thanks!

 

 

    • chrigu's avatar
      chrigu
      Guide

      Hi Alok

       

      Thanks for pointing me in the right direction. the solution=true did not work, but this thread pointed me in the right direction:

       

      I think with /solutions/recent I might get somewhere, even though it requires several API calls in order to get the right information. We'll see if it works out :)