cike
9 years agoChampion
Query messages by tag using API v2
Hi,
I'm currently working on a component which show all messages for given tag. To get all messages I want to use REST API v2.
My request looks like this:
SELECT * FROM messages WHERE depth = 0 AND conversation.style IN ('forum', 'group') AND tags.text IN ('Router') LIMIT 10 OFFSET 0
The tags.text constraint is listed within the documentation of the message resource. But if I read the JSON response, the tags object only contains the query attribute.
Is there another way to query all messages for a given tag by using API v2?
Thanks and kind regards,
Christian