triSolutionFuse
10 years agoMentor
Retrieving message's weighted kudos count via api v2
hi all,
Was wondering if anyone can help me solve an api call issue. Im trying to retrieve the weighted kudos count for each message that is returned from a v2 api call, but am unsure of the field name. Not sure if that is documented anywhere as i've not been able to find it.
Currently, im using something like this, which only returns the actual kudos count, but not the weighted kudos count:
SELECT board.href, id, teaser, view_href, post_time, post_time_friendly, subject, kudos, author.login, author.href, author.view_href, author.avatar, board.title, tags, labels, board.view_href, board.id FROM messages
Any help would be greatly appreciated, thanks
Tri
- Did you try kudos.sum(weight) from this article https://community.lithium.com/t5/Community-API-v2/Message-resource/ta-p/113091?