BradR
12 years agoKhoros Alumni (Retired)
Tags, Messages, and RestAPI
Hi Developers,
I've got a particular use case that I'm hoping to find a better solution for. Specifically, I've got a community w/ lots of tags (thousands) and I'd like to be able to retrieve the messages associated with each one.
I've discovered that I can retrieve my list of tags with:
/restapi/vc/tagging/tags/all
and then for each tag call:
/restapi/vc/tagging/for/tags/text/TAG_GOES_HERE/messages/recent
to get my message list. However, with multiple thousands of tags, that means the latter call will be made multiple thousands of times. Is there a more efficient way to achieve my goal: a list of messages associated with each tag in my community?
Thanks