Forum Discussion

shanks1708's avatar
shanks1708
Contributor
8 years ago

Single query/call that would fetch only comments/replies from a TKB

Hello,

We are looking to understand if there is a way to retrieve comments /replies from a TKB.Is there a  REST API V1 or V2 call to fetch the details with a single call. Basically we are thinking of having  a report on comments like when the comment was posted and when it was actioned ( if there was an action out of the comment).

 

Thanks for your assistance.

 

Regards

Shankar

 

  • Hi shanks1708,

     

    I guess you're looking for something like this offered by APIv2:

     

    select * from messages where conversation.style = 'tkb' and depth != 0

    You can extend the WHERE-constraint if you want to filter by a specific board id.

     

    Regards,

    Christian