tkearsley
8 years agoMaven
API for unanswered topics
Hello,
Is there an API call that can provide all unanswered topics in a community?
Thanks,
Thomas
tkearsley - Below is the call to fetch all the post which doesn't have any reply yet.
SELECT * FROM messages WHERE replies.count(*)=0 AND depth=0
To fetch all the post which doesn't have any solution.
SELECT * FROM messages WHERE is_solution = true and depth = 0
Documentation: https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv2&collection=messages#constraints-is_solution