Forum Discussion

tripathysa's avatar
tripathysa
Contributor
8 years ago

Get all replies along with their kudos count

Hi,

I am new to using lithium and I want to get data like [author, reply, kudos] related to a particular board id. I don't want the parent threads but only replies.

 

Currently using 

/restapi/vc/boards/id/##/posts/recent?restapi.format_detail=full_list_element&page=2&page_size=250.

 

But this doesn't provide all the replies.

 

Please help

  • Hi tripathysa,

     

    you should take a look at APIv2. It offers you a SQL-like syntax to query different object types and attributes.

    For example you could build queries like this (Note: It's only a simple example):

    select * from messages where depth != 0

    Best regards,

    Christian