Forum Discussion
Hi,
I believe this rest api should work for you :
/restapi/vc/categories/id/{category_id}/topics/recent
Thanks,
Sunny
this doesnt work because we have sub-category inside each category.
And each sub-category has forum pages.
Under each forum page we have threads/messages
And i want to get all the messages/threads from each forum under each sub-category.
The only way I could achieve this is by looping
<#list rest("/categories/id/{CATEGORY_ID}").category.categories.category as category>
<#list rest("/categories/id/{CATEGORY_ID}/${category.@href}").category.boards.board as board>
<#assign threads = rest("/categories/id/knowledgebase/${category.@href}/${board.@href}/threads/>
</#list>
</#list>
So now my threads variable has all the data for each forum under each sub-category.
Cheers
Rupam
- VarunGrazitti11 years agoBossrupamkhaitan - Try this,
http://community.lithium.com/restapi/vc/categories/id/Developer/topics/recent- rupamkhaitan11 years agoHelper
thanks this works
Related Content
- 2 years ago
- 3 years ago
- 2 years ago