Forum Discussion

wpigoury's avatar
wpigoury
Mentor
11 years ago

Received kudos count filter via REST API

Hi,

 

Is there a way to retrieve the received kudos count for a user filtered by interaction style and eventually by date range?

 

On our community's homepage we have the kudos leaderboard configured to show the top kudoed members restricted to forum publications via the interactionStyle parameter. (<component id="kudos.widget.authors-leaderboard" interactionStyle="forum"/>).

But in the user badge we have a custom kudo button using the following call:

/restapi/vc/users/login/my_login/kudos/received/count

Which gives us the total count of received kudos.

We would like to restrict the count to forum interaction only like with the component.

 

We tried adding url parameters like interactionStyle, discussionStyle, interaction_style or discussion_style but nothing works.

 

Any idea?

 

Thanks