VarunGrazitti
11 years agoBoss
REST API to pull messages with replies and kudos with a certain number
Is there a REST call using which we can do the following:
Get the active conversation in the category based on the criterias, i.e. replies should be more than 10 and kudos more than 5
One we have used earlier is the following, which pulls the messages which have kudos:
/categories/id/[id]/search/messages?q=(is_root:true%20OR%20is_root:false)&has_kudos=true&restapi.response_style=view&page_size=10
so, basically we need a call like
/categories/id/[id]/search/messages?q=(is_root:true%20OR%20is_root:false)&has_kudos>5&has_replies>10&restapi.response_style=view&page_size=10