Did you mean filtering the articles using labels and tags? If yes, this is feasible using API V2 calls.
SELECT id FROM messages WHERE labels.text='Hot Topic'
SELECT id FROM messages WHERE tags.text = 'Hot Topics'
Thanks for your reply @TariqGrazitti, but this doesn’t quite solve our problem. If we were to filter by label, users would only see ‘hot topics’, whereas our ideal solution is to have hot topics come first, then everything else from that knowledge base.
Ideally, we’d want to make a LiQL query such as:
SELECT view_href, title FROM messages WHERE conversation.type=”board” ORDER BY label, post_time DESC
…but ordering by more than one column isn’t supported by API V2 calls. The only way to do it would be to have two API calls, one to grab the hot topics and one to grab any other topics, and that would have performance concerns.