Forum Discussion
HaidongG
11 years agoLithium Alumni (Retired)
Hi dhiraj_gophane
may you try this?
/restapi/vc/search/messages?q=is_root:true%20AND%20tags:(tag1%20OR%20tag2)
is_root means topics only, no replies, if you want the reply, it will like
/restapi/vc/search/messages?q=tags:(tag1%20OR%20tag2)
I hope that it can help you.
Best Regards
Haidong
btw: if your tag contains space, you will need to use something like
/restapi/vc/search/messages?q=is_root:true%20AND%20tags:(%22test%20space%22)
we are searching for topics with tag="test space" in the above example.
dhiraj_gophane
11 years agoLeader
Hi,
I'm using same Rest API.
but for some tags it fetches messages which do not include that Tag.
E.g. /restapi/vc/boards/id/blogger/search/messages?q=is_root:true%20AND%20tags:(Activity)
where, Activity is a Tag.
Is there any other way to fetch these messages by passing tag list?
I'm using same Rest API.
but for some tags it fetches messages which do not include that Tag.
E.g. /restapi/vc/boards/id/blogger/search/messages?q=is_root:true%20AND%20tags:(Activity)
where, Activity is a Tag.
Is there any other way to fetch these messages by passing tag list?
- HaidongG11 years agoLithium Alumni (Retired)
hi dhiraj_gophane,
can you give exact messages which don't have the tags but got picked up by the REST API call? it sounds a bug for me. you may want to fill a ticket with Lithium Support.
Best Regards
Haidong
Related Content
- 2 years ago
- 3 years ago