bnlucas
9 years agoAdept
REST API - Find all forums and boards under category
I'm trying to build an outline of our categories and the forums and boards associated with them. I have been searching the documentation for about an hour and I cannot figure out how to find forums linked to a category.
<ul> <#list rest("/categories?restapi.response_style=view").categories.category as category> <li>${category.title}</li> <ul> <!-- Find all forums/boards linked to category --> </li> </ul>
I've been able to find the boards linked
SELECT * FROM boards WHERE parent_category.id = '<ID>'
But I can't find the forums at all.